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

Running in JRE?

william keelman

Joined: May 02, 2006
Posts: 11
I have a java program and wonder is there a way to run it on computers with just jre and not jdk?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

Sure. $JRE_HOME/bin/java.exe com.test.ClassName

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: Running in JRE?
It's not a secret anymore!