LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 05-24-2006, 02:46 PM   #1
jadewarrior
LQ Newbie
 
Registered: May 2006
Posts: 17

Rep: Reputation: 0
Java Classpath


How do i set the java classpath on Red Hat 9?
 
Old 05-24-2006, 03:36 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337

Rep: Reputation: 65
Try adding this lines to your /etc/profile or ~/.bashrc

Code:
PATH="$PATH:/usr/local/java/j2sdk<version>/bin"
export PATH
Note: The above path is an example. Use the path where you have your Java RE installed.
 
Old 06-08-2006, 01:12 AM   #3
pradeepmenon777
Member
 
Registered: Jan 2004
Location: India
Distribution: Android 9.0.6
Posts: 123

Rep: Reputation: 16
thanks a lot .
So simple a procedure it was ..
I placed the entries in my bashrc and it is working fine...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
java and classpath mac1234mac Programming 5 03-17-2006 09:05 AM
Java Classpath... dear god... Jaster Programming 19 02-07-2005 03:57 PM
setting java classpath... brutal_brad Linux - Newbie 7 09-21-2003 02:52 PM
How to set classpath for java jolly Linux - Software 3 04-22-2003 10:02 PM
ClASSPATH variable for Java oulevon Linux - General 1 02-28-2001 08:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:20 AM.

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