Where is javac in Windows 8?

I have an HP i3 laptop running Windows 8. Where is the javac compiler located? I have another HP i5 laptop running Windows 7 64-bit and in that laptop I can find javac in the program files folder. Why can't I find javac on my Windows 8 laptop? Please help. Thank you.
LVL 1
naseeamAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Seth SimmonsSr. Systems AdministratorCommented:
is it actually installed?  if you go to programs and features is it actually listed as an installed application either open-jdk or oracle jdk?

if it's not there then it's not installed and you need to install it
0
JohnBusiness Consultant (Owner)Commented:
I have the same Java files in Program Files (x86) on my Windows 7 Pro machine as on my Windows 8 Pro machine. I install just the run time environment and not the software development kit.

Did you install Java SDK in Windows 7 and not Windows 8?

Did you install Java on Windows 8? It does not come built in the way Flash does.

.... Thinkpads_User
0
naseeamAuthor Commented:
It doesn't look like it's actually installed.  I searched for open-jdk and oracle jdk but couldn't find them.
I'm bit surprised that it's not installed in newer machine.  What exactly should I install to compile and run simple Java Programs ?

We didn't install anything in Windows 7?  Java runtime environment was already there.

What is "Flash" ?
0
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

JohnBusiness Consultant (Owner)Commented:
What comes (if it was installed) is the Java Run Time only. I do not usually see JDK pre installed. So if you want JDK you need to get it from the Java site an install it.

Flash is from Adobe and on Windows 8 it is a special version pre installed. I used this just as an analogy and I did not mean to confuse the issue.
... Thinkpads_User
0
Seth SimmonsSr. Systems AdministratorCommented:
HP may have installed it on the other one and for some reason chose not to on newer models.

you can download and install it manually

http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
0
naseeamAuthor Commented:
We need to compile and run beginning Java programs.  Do we need Java Run Time or JDK ?
If we need Java Run Time then, above link probably won't work for us because it says "jdk7" ?
0
JohnBusiness Consultant (Owner)Commented:
You need the Java Development kit to compile Java code. When you compile it, you need to compile it so that users can run the code with Java Run Time.

Why doesn't the link work for you?  JDK V7 is current, JDK V8 appears to be on the way. I started at http://java.sun.com and land pretty much at the link posted by seth2740.

... Thinkpads_User
0
naseeamAuthor Commented:
>> When you compile it, you need to compile it so that users can run the code with Java Run Time.
I didn't try the above link yet.  The above link will give me JDK V7.  What about Java Run Time ?
How do I acquire Java Run Time ?


Thank you!
0
JohnBusiness Consultant (Owner)Commented:
The Oracle page below has JDK and JRE (Run Time), all a subset of Java Standard Edition,

http://www.oracle.com/technetwork/java/javase/downloads/index.html


What I downloaded and run on my computers (and clients) is:

jre-7u25-windows-i586.exe

That is the 32-bit Standard Java Run Time that "all of us" run so our computer will execute Java code as needed.  

JRE does not include JAVAC and you cannot compile with it.

.... Thinkpads_User
0
naseeamAuthor Commented:
>>  JRE does not include JAVAC and you cannot compile with it.
I'm still bit confused!  What do I need to install in order to compile and run simple Java Programs?
0
JohnBusiness Consultant (Owner)Commented:
Your question was "Where is JAVAC in Windows 8?"

The answer to this question is that JAVAC does not come with Java Run Environment (JRE) that "we users" use.

To compile Java code needs one of the Software Development kits. Java SDK from the above links provided by me and others.

So at this point, you need to visit the Java Site and work out your compiling needs.

Compiling needs and how/what to compile is probably beyond the scope of this question.

... Thinkpads_User
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
naseeamAuthor Commented:
Thank you!
0
JohnBusiness Consultant (Owner)Commented:
@naseeam - Thanks. I was happy to help and good luck going forward with Java compiling. There are lots of experts here in programming, so come back and post a new question anytime.

... Thinkpads_User
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.