File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes java.exe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "java.exe" Watch "java.exe" New topic


Venu Navat
Ranch Hand

Joined: Dec 28, 2004
Posts: 30
we find "java.exe" in both bin and jre/bin folders .
what is the difference between both? are they same?

-Venu Navat
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199


[Jess in Action][AskingGoodQuestions]
Pat Hays
Ranch Hand

Joined: Aug 20, 2004
Posts: 138
Probably the same.

Download Java GUI Builder, <a href="" target="_blank" rel="nofollow"></a>
Michael Raymond Jr.
Ranch Hand

Joined: May 16, 2005
Posts: 178
i too belive they are the same.

java(class loader?) is duplicated, again probably, because you have the SDK, which is the build tools (javac, etc) and the JRE, which is just the tools to load a java program. Hmm...i think that makes sense! If you only had the JRE that only allows you to run java program and not compile them, then you would't have the ./bin directory.

Scooby Snacks for everyone...<br /> <br />SCJA, SCJP 1.4

Joined: Oct 10, 2004
Posts: 3
The JRE is the runtime for running java compiled code.
The JDK in addition to containing the JRE contains tools for compiling the .java files to .class files.

Both java are the same.
I agree. Here's the link:
subject: java.exe
It's not a secret anymore!