In the command prompt and it will now work!ĮDIT:(However you then get a black console window when you run a form based (non console) Java app, so this is not an ideal solution) If you change the association in file manager as described above to: "C:\Program Files\Java\j2re1.4.2_04\bin\java.exe" -jar "%1" %* However, the following command does work: java.exe -jar jarfile.jar parameter No joy, because this is being translated to the following (which doesn't work): javaw.exe -jar jarfile.jar parameter ![]() If you try (in a command prompt): jarfile.jar parameter ![]() An interesting side effect of this causes a problem when starting runnable jar files in the command prompt.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |