Is there any other method to run builded Java programs?
Do i rlly have to use msdos for it or is there another method?
KingNarg - 15 Jun 2006 17:31 GMT
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
> Is there any other method to run builded Java programs?
> Do i rlly have to use msdos for it or is there another method?
Dagorlas - 15 Jun 2006 20:22 GMT
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
KingNarg - 15 Jun 2006 20:30 GMT
Looks like your global path variable doesnt not point to the jdk bin
directory. Maybe you need to set it manualy.
Best regards
Narg
> 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
Dagorlas - 15 Jun 2006 20:36 GMT
Im not a mastah at msdos, how cn i do that?
KingNarg - 15 Jun 2006 21:09 GMT
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
> Im not a mastah at msdos, how cn i do that?
Dagorlas - 16 Jun 2006 09:33 GMT
Ty man, now it works :P =D
Luc The Perverse - 15 Jun 2006 20:39 GMT
> 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 :)
--
LTP
:)