B
broli
It seems both have a java.exe which can be used to execute the byte
code(.class) but then jre does not have the javac compiler.
code(.class) but then jre does not have the javac compiler.
broli said:It seems both have a java.exe which can be used to execute the byte
code(.class) but then jre does not have the javac compiler.
Google is your friendbroli said:It seems both have a java.exe which can be used to execute the byte
code(.class) but then jre does not have the javac compiler.
It seems both have a java.exe which can be used to execute the byte
code(.class) but then jre does not have the javac compiler.
broli said:It seems both have a java.exe which can be used to execute the byte
code(.class) but then jre does not have the javac compiler.
Mark said:Pretty much that is it. There are more development tools in the JDK
than just javac, but that's the idea. JRE is just the runtime, for a
user who wants to only run programs other write. The JDK is for
programmers who need more tools, like javac.
It should be noted though that a few server products requires
the JDK just for running, because they use stuff from tools.jar.
Roedy said:Java.exe -server lives in the JDK only.
1) No.
Roedy said:A while a go I did benchmarks with client and server. I found that the
JRE version of java.exe did not understand -server.
the system32 version of java.exe might be smart enough to use the JDK
version if you use -server.
It is also very simple to use fc to verify that the java.exe in the
JRE bin and the JDK bin are identical.
As I showed then in the stuff you did not quote, then the java.exe
in my JRE does understand (or at least claim to) -server.
Roedy said:As I showed then in the stuff you did not quote, then the java.exe
in my JRE does understand (or at least claim to) -server.
I just did an experiment
[F:\Program Files\Java\jdk1.6.0_05\jre\bin]java -server -jar
E:\com\mindprod\converter\converter.jar
which would have used the jre java.exe and it worked happily. You are
correct. Now the question is, is this behaviour new in 1.6, or was it
always thus and something threw me off earlier.
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.