Solved

running an application by j builder2 and jdk1.1.6

Posted on 1998-08-29
2
191 Views
Last Modified: 2010-03-30
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
Comment
Question by:rzvika2
2 Comments
 

Author Comment

by:rzvika2
ID: 1222897
Adjusted points to 30
0
 

Accepted Solution

by:
clwells082798 earned 30 total points
ID: 1222898

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question