LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-19-2003, 02:07 PM   #1
ken22
LQ Newbie
 
Registered: Jun 2003
Posts: 1

Rep: Reputation: 0
Question Setting Paths for Java


Hi,
I'm new to linux and am running Mandrake 9.0.

I just installed java 1.4.1 into /usr/local/j2sdk1.4.1_02 and I want to set the path as root so that all users have access to the javac command without having to use the full path to the compiler. Can someone tell me how to do this?

Thanks

Last edited by ken22; 06-19-2003 at 02:31 PM.
 
Old 06-19-2003, 02:45 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
It may be easier to create a link to javac from something that is already in all users path like /usr/bin:

ln -sf /usr/local/j2sdk1.4.1_02/bin/javac /usr/bin/javac
 
  


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
Setting up paths Pyro-dragon Linux - Newbie 5 03-07-2005 07:04 PM
Setting Library paths RedHAT9 (N00B) Jaykay3k Linux - Software 1 03-03-2005 02:15 AM
Setting Paths? bluelaguna Linux - Software 2 08-07-2004 03:31 PM
setting paths bmagyar Linux - Software 10 11-01-2003 06:08 PM
Automatically resolving WINDOWS paths to pre-configured Linux paths gazzy Linux - General 1 09-05-2003 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration