Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2006

Tip: Looking for answers? Try searching our database.

Is there any other method to run builded Java programs?

Thread view: 
Dagorlas - 15 Jun 2006 17:14 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?
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

:)


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.