LinuxQuestions.org
Review your favorite Linux distribution.
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-15-2004, 11:44 AM   #1
CollestonPie13
LQ Newbie
 
Registered: Feb 2004
Posts: 3

Rep: Reputation: 0
Angry J2sdk problem Javac command not found


I'm a real newbie and only got linux yesterday but I'm trying to write and compile some java in Kate. Oh by the way i m running fedora. When i try to run the javac or java commands they are not found...i downloaded and installed j2sdk and j2re and they are both in my usr/java folder but when using Kate they are not found how do i tell Kate how to find them?
 
Old 02-15-2004, 12:04 PM   #2
CollestonPie13
LQ Newbie
 
Registered: Feb 2004
Posts: 3

Original Poster
Rep: Reputation: 0
i think i need to edit something in the .bashrc and i can findit using search but im not sure what to add could someone please give me a hand?
 
Old 02-15-2004, 12:07 PM   #3
Jose Muņiz
Member
 
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248

Rep: Reputation: 32
Well... kate is only a text editor so after saving something you should have a filename called x.java

Now... in a terminal, you could try doing:

export PATH=$PATH:/usr/java/
javac x.java

Now that is supposing the binaries are in the /usr/java/ folder...


Default is /usr/local/j2.../bin/ I think.
 
Old 02-15-2004, 12:30 PM   #4
CollestonPie13
LQ Newbie
 
Registered: Feb 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thanx

Thanx so much that worked
 
  


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
bash: javac: command not found??? MRAB54 Linux - Newbie 6 02-18-2015 09:18 AM
javac not found rchillal Linux - Newbie 7 02-07-2005 10:15 AM
javac not found rchillal Linux - Software 5 02-06-2005 02:51 PM
-bash-- javac command not found nedian123 Programming 1 06-28-2004 05:16 PM
problem with javac command mekasrinu Programming 2 06-12-2001 08:45 PM


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