![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Professional Programmer
Join Date: Feb 2005
Posts: 333
Rep Power: 4
![]() |
running a console application .jar file by double clicking
so i use netbeans IDE for java programming and i know when you build a project it makes a jar file that is run at the command line by simply typing java -jar programName.jar. I also know that if this .jar file is a gui application that double clicking on it will also start it. I have a .jar file that is a console application and if i double click on it, a java process is started in the task manager process list but no console window pops up. Is there a way to make a console application .jar file run so the user can use it by just double clicking on it the same way a c++ .exe file console application does? I know you can make a .exe from a jar file but doesn't that destroy the purpose of java being able to run it on any platform? Thanks.
|
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| .Jar Files running in Web browser | PhilBon | Java | 0 | Apr 23rd, 2007 12:48 AM |
| run &or debug *.vb console file ? | tristolas | Visual Basic .NET | 1 | Feb 11th, 2007 8:01 AM |
| Running an sql file from a definition file | saluk | C | 0 | Jan 4th, 2007 11:26 AM |
| Batch File - Running a exe and closing the winodw | mark84 | Bash / Shell Scripting | 2 | Dec 20th, 2006 12:22 AM |
| After execution - Error cannot locate /Skin File? | wchar | Visual Basic | 1 | Mar 5th, 2005 9:04 PM |