LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Path for jdk1.3.0_02 (https://www.linuxquestions.org/questions/linux-newbie-8/path-for-jdk1-3-0_02-a-1108/)

oulevon 03-01-2001 06:30 PM

Okay, I've installed the jdk, and I'm new to linux. To get it to work everytime I log on I have to type the command
export PATH=/usr/java/jdk1.3.0_02/bin:$PATH and this gets it working since when I type java -version, I get the right information. How do I change the PATH so I don't need to do this everytime. Secondly I programmed a small GUI, and when I ran it, I got the following error:
Font specified in font.properties not found[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]. So if anyone has any answers to that I'd appreciate any help. Do I need to configure certain jar file, javac files, and java files, because when I looked at the files installedin /usr/bin/ they were all configured for the KAFFEE JVM that came with my linux package. I messed around with them, as I tried to put in the appropriate path, but I don't know if I made it any worse. Any help would be greatly appreciated.

jeremy 03-01-2001 08:06 PM

If you want that directory in everyones path you would edit /etc/profile for bash users and /etc/csh.login for tcsh users. If you just want it for you, put it in ~/.bash_profile for bash or ~/.cshrc for tcsh.


All times are GMT -5. The time now is 05:44 PM.