File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes New to Linux Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Reply Bookmark "New to Linux" Watch "New to Linux" New topic
Author

New to Linux

Randy Trover
Ranch Hand

Joined: Feb 26, 2001
Posts: 34
Hello All,
I'm a total newcomer to linux, I've succeeded in installing the Jdk, but can't figure out how to set the path variable. How is this done and can anyone recommend a good book for a programmer just moving to linux.
Cheers
Randy
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6913
Do you mean path as in how to find executables (java, javac etc.) ? - in which case you should put a line something like:
export PATH=/usr/local/jdk1.3.1/bin:$PATH
in either the file ".profile" in your home directory (type "ls -a" to see 'hidden' files like these) or in the file "/etc/profile" if you wish the JDK tools to be available to all users.
If you mean the CLASSPATH, used to find java classes and jar files, the procedure is simlar, but substitute CLASSPATH for PATH.
Has this helped?


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
Randy Trover
Ranch Hand

Joined: Feb 26, 2001
Posts: 34
Thanks that was just what I was Looking for. Care to recommend a good linux reference?
Randy
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6913
As a quick command and tool reference you have to go a long way to beat "Linux in a Nutshell" from O'Reilly. If you need more detail it really depends on your area of interest. "Running Linux" is an old favourite, but I don't really know what some of the newer books from other publishers are like.
 
 
subject: New to Linux
 
Threads others viewed
How to start apache at bootup in linux
What is a: Moderator?
how can I integrate OTRS (open source http:// otrs.org / ) with our java web application.
how to Jboss as service in linux
WA #1.....word association
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture