Free download javac

H

Hari

Hello all,

I am very familar with java and its resources, but one problem I have is its
compiler. I have javac on one computer, but I need to transfer to some other
computers in my house. I know its freely downloadable, as some of my friends
have gotten it off of the internet. The problem is, whenever I download
javac, restart the computer, and type in javac *.java into my command
prompt, it comes up with a message that says:

'javac' is not a recognized......

Naturally, I've tried many many times to move it from one PC to another by
searching the hard drive with the keyword javac. Nothing has seemed to work
so far. Even though I think I've searched all over the internet, if anyone
has a link to download the java Compiler, not the java SDK, I would be more
that happy to accept since I've been working on trying to download javac for
about 6 months now.
 
P

Paul Lutus

Hari said:
Hello all,

I am very familar with java and its resources,

If that were true, you would already know that you need an entire
environment to run "javac". But clearly you do not know this.
but one problem I have is
its compiler. I have javac on one computer, but I need to transfer to some
other computers in my house. I know its freely downloadable, as some of my
friends have gotten it off of the internet. The problem is, whenever I
download javac, restart the computer, and type in javac *.java into my
command prompt, it comes up with a message that says:

'javac' is not a recognized......

Naturally, I've tried many many times to move it from one PC to another by
searching the hard drive with the keyword javac. Nothing has seemed to
work so far. Even though I think I've searched all over the internet, if
anyone has a link to download the java Compiler, not the java SDK, I would
be more that happy to accept since I've been working on trying to download
javac for about 6 months now.

Since the package is free, why not download and install the entire JDK that
is appropriate to your OS, and install it on each machine?

If you copy the "javac" executable only, very likely nothing will work. If
you install the package, very likely everything will work.

Also, for the best, most pointed advice, always state your operating system.
 
S

Sudsy

Hari wrote:
Naturally, I've tried many many times to move it from one PC to another by
searching the hard drive with the keyword javac. Nothing has seemed to work
so far. Even though I think I've searched all over the internet, if anyone
has a link to download the java Compiler, not the java SDK, I would be more
that happy to accept since I've been working on trying to download javac for
about 6 months now.

Sorry, but you need the SDK to make the compiler work and locate all the
built-in classes. Check the documentation and rethink how the process
works.
Hint: Would you try to copy gcc to another platform without the linker,
libraries, etc. it requires to generate an executable?
 
K

KC Wong

might be the dreaded "class path" error thinga-ma-jig, too.

Classpath? Nope.
Path? Likely.

Though other posts also indicates the OP only copies javac.exe from other
machines, and haven't installed the SDK.
 
Joined
Aug 3, 2009
Messages
1
Reaction score
0
how to free download javac?

Hello all

I would like to free download javac. Can you tell me which website I should go to and what should I do? Thank you very much.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,783
Latest member
RickeyDort

Latest Threads

Top