javac : command not found

Issues related to software problems.
whatif
Posts: 45
Joined: 2011/02/10 01:36:21

Re: javac : command not found

Post by whatif » 2011/02/11 23:59:05

Thank you very much guys!

It worked finally. I downloaded the jdk from sun.com and installed successfully. Also, the service command worked. I didn't know I have to log in this way!

The installation created several rpms on my desktop, can I delete them?

Do you have any explanation as to why the java command worked and javac didn't even though I installed the java development package?

Do you suggest any books or online resources for a beginner?

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: javac : command not found

Post by pschaff » 2011/02/12 03:06:24

[quote]
whatif wrote:
...
The installation created several rpms on my desktop, can I delete them? [/quote]
If they were the result of your downloads and they have been installed then it should be safe to delete them. If in doubt show us the names of the files.

[quote]
Do you have any explanation as to why the java command worked and javac didn't even though I installed the java development package?[/quote]
Post #4. May also be a path issue.

[quote]
Do you suggest any books or online resources for a beginner?[/quote]
See those in the recommended reading (see my signature), and search for books on Amazon.com about CentOS or "Red Hat Enterprise Linux" or old versions of Fedora (6 or 7 for CentOS-5) - usually dirt-cheap. On-line resources are too numerous to mention. You need to narrow down what you are interested in, or just google variations on [url=http://www.google.com/search?q=~tutorial+centos+OR+rhel+OR+%22red+hat+enterprise+linux%22&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a]~tutorial centos OR rhel OR "red hat enterprise linux"[/url].

whatif
Posts: 45
Joined: 2011/02/10 01:36:21

Re: javac : command not found

Post by whatif » 2011/02/15 00:00:01

Here are the file names:

sun-javadb-javadoc-10.5.3-0.2.i386.rpm
jdk-6u23-linux-i586.rpm
sun-javadb-docs-10.5.3-0.2.i386.rpm
sun-javadb-demo-10.5.3-0.2.i386.rpm
sun-javadb-core-10.5.3-0.2.i386.rpm
sun-javadb-common-10.5.3-0.2.i386.rpm
sun-javadb-client-10.5.3-0.2.i386.rpm


I'm interested in building a web server, so setting up a web server, security, and performance are of interest to me.

Thanks again,
Mike

Post Reply