try like this

 [Bodah@Bodah Bodah]$ /usr/local/jdk/bin/javac

if it work well,

your JDK path doesn't work

then try like this
[Bodah@Bodah Bodah]$ which javac
I think the result is
/usr/bin/javac

then remove /usr/bin/javac ...
 
 
 

Lord Bodah wrote:

> every time i try to compile, i get one of the following 2 errors:
>
> in X, i get:
>
>         [Bodah@Bodah Bodah]$ javac
>         No library path set.
>
> On just the console, i get:
>
>         Unable to find native libraries in /usr/local/jdk/lib
>
> What i have in .profile and .bash_profile are:
>
> JAVA_HOME="/usr/local/jdk"
> JDKBIN="/usr/local/jdk/bin"
> LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/jdk/lib"
> CLASSPATH="$CLASSPATH:/usr/local/jdk/lib/classes.zip"
>
> export LD_LIBRARY_PATH CLASSPATH JAVA_HOME JDKBIN
>
> For the LD_LIBRARY_PATH, i have also tried
> /usr/local/jdk/lib/i586/green_threads
>
> I have read the local and online documentation several times.
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com

-----------------------------------------------------
home : http://rtislab.chungnam.ac.kr/~hanul
mail : [EMAIL PROTECTED]

Reply via email to