How can I run an application developed using JBuilder on a machine that does not have JBuilder?

Damien Bootsma

The first thing that you will have to do is ensure that a JRE (Java Runtime Environment) on the second machine. This provides all the necessary libraries that your program will need.

Typically you package your application in something known as JAR (Java Archive) this is very similar to a zip file that holds your Java .class files. You can create a JAR file in JBuilder using the

You will have to add this JAR file to your CLASSPATH Open up a command prompt and move to the bin directory of Java. You have to run your main application (The class that you wrote with the public static void main method) against Java.

type java <package name>.<classname> and this should run your application.

Also see the JBuilder documentation for more details.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact