Sunstrike,
There is a chance that your CLASSPATH environment variable is not set properly. This can happen if you either (a) installed the java sdk seperately from your distribution and the CLASSPATH is still pointing to your distributions default (b) it is simply not set or (c) it is set to an older release of the jdk/jre.
To determine what your classpath is set to you can use the following command ( assuming sh/bash shell syntax):
$ set | grep CLASS
If you have multiple SDKs installed you may want to play with the -classpath java/javac command line option until you get it right, and then configure your login script to set it for you. I control mine by creating directorories under /usr/local/lib i.e. /usr/local/lib/jdk1.2.1, /usr/local/lib/jdk1.3.0, etc., and then I symlink whatever I want to work with to /usr/local/lib/java. I set my CLASSPATH to the later.
HTH
Regrads,
Meredith Shaebanyan
Quote:
quote:Originally posted by sunstrike
i got a problem with sdk 1.4 on linux mandrake 9.1 ...i can't import javax.swing pakages!!!
can you help me?
ralph83
|