Is there any other method to run builded Java programs?

D

Dagorlas

Is there any other method to run builded Java programs?
Do i rlly have to use msdos for it or is there another method?
 
K

KingNarg

Hi,

basicly you need to tell your vm to run the class file.
You can do that by using console (eg. the windows command line) or a
script file (eg. bash). If your willing to sacrefice platform
independence, you can also use an .exe wrapper like JSmooth
(http://jsmooth.sourceforge.net).

Best Regards
Narg
 
D

Dagorlas

Ill try it....
If i wanna do it now, i gotta copy the builded program to the *\bin and
than i can run it with msdos :S
 
K

KingNarg

Looks like your global path variable doesnt not point to the jdk bin
directory. Maybe you need to set it manualy.

Best regards
Narg
 
L

Luc The Perverse

Dagorlas said:
Is there any other method to run builded Java programs?
Do i rlly have to use msdos for it or is there another method?

I think you are confusing a command prompt with "Ms Dos"

Assuming you are using windows you can make a shortcut to javaw.exe just
like java.exe and run your program without a command window (assuming it is
a GUI program)

Many IDE's will redirect your input and output to a GUI window if you run
from inside one of them :)
 
K

KingNarg

Asuming you're using Windows2k/XP, do this:

Control Panel -> System -> Advanced -> Environment Variables
In that window seek out the "path" entry and if it doesn't point to the
java bin dir add that.

Best regards
Narg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top