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 02-10-2004, 03:14 AM   #1
irfanhab
Member
 
Registered: Jan 2004
Location: Pakistan
Distribution: OpenSuse 10.2, Slackware 11, Solaris 10
Posts: 415

Rep: Reputation: 34
JSDK 1.4.3 problem


I downloaded Java sdk 1.4.3 and I cant get it to work.

On linux i type javac in shell, and i t gives unknown command


the location where i installed was predetermined in the installation rpm, which is /usr/java/jsdk1.4.3/bin
how can I set a sort of 'classpath' to the dir, and use the compiler in the shell.
 
Old 02-10-2004, 04:38 AM   #2
aizkorri
Member
 
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434
Blog Entries: 1

Rep: Reputation: 45
add this line to your .bashrc file:

PATH=/usr/java/jsdk1.4.3/bin:$PATH
 
Old 02-10-2004, 04:44 AM   #3
aizkorri
Member
 
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434
Blog Entries: 1

Rep: Reputation: 45
sorry, I forgot to say,
open a new terminal for setting the PATH, then type javac, it should work.

This line is for telling the system where the java binary is.
If you type "which java" it will tell you where it is (if the system knows).
 
  


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
oracle jdbc driver for jsdk 1.5 beta? Ikebo Programming 0 10-17-2004 03:13 PM
sorry ! jsdk rpm problems and slack noob issues dave bean Slackware 6 02-10-2004 01:50 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 08:45 PM
jsdk and tomcat for redhat 8 ariana Programming 3 03-06-2003 05:06 PM

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

All times are GMT -5. The time now is 04:25 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