Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

running an application by j builder2 and jdk1.1.6

i have a java j builder2 and jdk1.1.6
after finish creating an application with my j builder, what do i need to do in order to run my application?
thank you!!!
0
rzvika2
Asked:
rzvika2
1 Solution
 
rzvika2Author Commented:
Adjusted points to 30
0
 
clwells082798Commented:

To run the application standalone you need to make a batch file setting the CLASSPATH and invoking java.exe on the class that holds your main.

eg.

set CLASSPATH .;c:\jdk1.1\lib\classes.zip
java yourpackagename.yourmainclass OR java yourmainclass (if you are not using packages)

If you are using packages then this bat should go into the directory that is the root of your package tree.  Otherwise you can just put it in the directory with your main class.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now