how to make an applet load user-defined package?

M

Mark_Galeck

How to have an applet load user-defined package?

I have packages in their own directories, and the applet compiles and
links with them, by use of CLASSPATH env variable. But when it comes
time to run, it ignores that and does not know where the classes (in
the packages) are.

If I don't use packages and put all code in one directory, runs fine.
If I use an application, I can link with and load my packages.

I know applets can't use things like CLASSPATH for security reasons,
but still, they should be able to be compiled out of several packages,
why do I have to put all code together??

Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top