Miscellaneous > Programming & Networking
Java question
Xeen:
If I write a program consisting of several classes all in java, is there any way for me to convert it to Windows exe and/or dll files? I ask because I'm writing a program but do not want to have it launch in Windows by having to type the command java classname in command line. I want to be able to create an executable file for it. Any ideas?
flap:
Create a .bat file.
Stryker:
or a shortcut
Xeen:
perhaps I should explain my problem in more detail. My java program is NOT command line. It has a GUI. So if I create a batch file or shortcut to the file then Windows will still open the command prompt window which will stay there until the java GUI is closed. Is there any way to get around this problem? I want my program to run like any other program, without any command line windows behind it.
I know this problem wouldnt exist if I were writing in C++ but I don't know c++, but know java very well.
flap:
No, that isn't possible.
Navigation
[0] Message Index
[#] Next page
Go to full version