File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Can Java files be compiled using JRE if we don't have JDK?
Joined: Sep 24, 2008
Jul 06, 2010 15:12:43
Is it possible to compile the *.java class and generate the corresponding .class file if I have only JRE instead of JDK? How by default Eclipse compliles the Java files?
Joined: Mar 22, 2005
Jul 06, 2010 15:25:50
A JRE is not sufficient to compile files, as it does not contain a compiler (in contrast to the JDK). Eclipse, on the other hand, comes with its own compiler.
Ping & DNS
- my free Android networking tools app
I agree. Here's the link:
subject: Can Java files be compiled using JRE if we don't have JDK?
@Entity not resolved
running class files as EXE
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014