Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-15-2004, 10:44 AM   #1
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, 11:04 AM   #2
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, 11:07 AM   #3
Jose Muņiz
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

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

export PATH=$PATH:/usr/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, 11:30 AM   #4
LQ Newbie
Registered: Feb 2004
Posts: 3

Original Poster
Rep: Reputation: 0

Thanx so much that worked


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

All times are GMT -5. The time now is 06:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration