Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old May 21st, 2008, 3:14 PM   #1
cwl157
Professional Programmer
 
Join Date: Feb 2005
Posts: 333
Rep Power: 4 cwl157 is on a distinguished road
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.
cwl157 is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:10 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC