LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2001, 06:30 PM   #1
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 438

Rep: Reputation: 30

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.
 
Old 03-01-2001, 08:06 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble installing jdk1.5.0_02 mayasedai Linux - Newbie 8 04-29-2005 05:52 PM
Java (JRE 1.5.0_02) - Symbolic Link Problem pacranch Amigo 1 04-14-2005 05:37 AM
problem in psotgres7.4 with jdk1.3 mufy General 0 10-19-2004 05:44 AM
JDK1.3 and Fonts cptfuture Linux - Software 2 05-26-2001 10:57 AM
JAVA Jdk1.3????? oulevon Programming 0 03-04-2001 06:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration