LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-02-2009, 02:52 AM   #1
sunnydexter
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Rep: Reputation: 0
Question how to compile java programs in suse 11


how to compile java programs in suse11...


i installed and configured java console... and everything went well..
but the file "javac" is missing in bin directory... what shuld i do now....
wher can i get it... plz help me out....

Last edited by sunnydexter; 02-02-2009 at 02:56 AM.
 
Old 02-02-2009, 06:08 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,487

Rep: Reputation: 88
Have you downloaded the Java SDK from java.sun.com?
 
Old 02-02-2009, 06:57 AM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
IMHO downloading the JDK from sun is not the best idea considering that it is also in the repositories. In fact, I get the impression that the problem in this case is precisely that the manual approach was taken; if you install the package from the repository, paths, updates, integration, ... will be taken care of automatically.
 
Old 02-02-2009, 08:04 AM   #4
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
Quote:
Originally Posted by sunnydexter View Post
but the file "javac" is missing in bin directory... what shuld i do now....
wher can i get it... plz help me out....
Find javac on your system using locate or find, then add its directory to your path. Problem solved. If javac does not exist on your system, take the above advice and get the JDK on your system.

Good luck!

Dave
 
Old 02-03-2009, 04:36 AM   #5
sunnydexter
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rylan76 View Post
Have you downloaded the Java SDK from java.sun.com?
yep i downloaded the java sdk from java.sun.com and followed the instructions given in their website.. everything went well but i cant find the compiler "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
can not compile c/c++ programs on suse 9.1 harrypotter Linux - Newbie 6 02-17-2008 07:57 AM
can't compile simple C++ programs on Suse 9.1 after installing gcc cyclebain Linux - Software 9 07-04-2007 09:04 AM
Can't get java programs to run in Suse krutten1986 Linux - Newbie 10 09-04-2006 08:16 PM
Can't compile programs under SuSE 9.3 Personal manuelkuhs SUSE / openSUSE 2 09-29-2005 03:19 PM
I have Suse Linux 8.0 installed on my system & I don't know how to compile Java file? dukehazord Programming 8 08-07-2004 11:29 AM


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