Hi Jowel,
A short answer might be in your file associations.
The "open" Action for "JAR - Executable Jar File" (My Computer->Tools-
>Folder Options...->File Types) on my Windows XP machine running JRE
1.6 was initially set by the JRE installer as:
"C:\java\jre6\bin\javaw.exe" -jar "%1" %*
After finding an entry at Roedy Green's Canadian Mind Products site, I
found out that ...
"javaw.exe will hide the console output. To see the console output,
associate java.exe
instead. I always associate with java.exe myself."
- quoted from: http://mindprod.com/jgloss/executablejar.html
I would suggest reading the page as there is a 23 point walkthrough
regarding this issue.
I followed the advise in the provided quote (NOT the complete article)
now can double-click an executable JAR file containing a console
program and have it run and display.
I tested using the complete article and was back to double-clicking
not working.
Hope this helped,
Geoff
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---