Hi again,

i am sorry, i have overseen the actually answer in FAQ:
the javac which was called, came not from JDK, but from
kaffe. Now i have changed my PATH and it works:

export PATH=.:/usr/local/bin:/usr/local/lib/jdk1.1.6/bin:$PATH

Also, thanks for quick reply, Steve but both NC 4.05
and JDK seem to work fine with

export CLASSPATH=MOZILLA_HOME/java/classes/java40.jar:
/usr/local/lib/jdk1.1.6/lib/classes.zip

Greetings
Alex


-----Исходное сообщение-----
От: Alex Farber <[EMAIL PROTECTED]>
>maybe someone can help me with 2 problems: i use RH 5.1
>with glibc-2.0.7-13.i386.rpm (and devel) already installed.
>When i type javac in shell, i get the error message:
>"No library path set."
>I am using jdk1.1.6-v1-glibc and my .bash_profile is:
>
>export PATH=$PATH:/usr/local/bin:/usr/local/lib/jdk1.1.6/bin:.
>export LANG=ru
>export LC_ALL=ru
>export MOZILLA_HOME=/usr/locale/lib/netscape
>export 
>CLASSPATH=$CLASSPATH:$MOZILLA_HOME/java/classes/java40.jar:/usr/local/lib/jdk1.1.6/lib/classes.zip
>export JAVA_HOME=/usr/local/lib/jdk1.1.6
>
>The strange thing is, that javac works, when
>i use the full path: /usr/local/lib/jdk1.1.6/bin/javac
>(is it maybe some UNIX configuration problem by me?)
>
>And my 2nd problem is that i get message:
>"Package netscape.javascript not found in import."
>when compiling. Why not? Isn't the java40.jar in
>CLASSPATH ?


--
russkaya literatura v ------ http://www.simplex.ru/lit.html
internete http://www.friends-partners.org/~afarber/lit.html
java preferans ------------ http://www.simplex.ru/pref.html
besplatnye kommercheskie ob'yavleniya http://www.simplex.ru



Reply via email to