java - Export as Executable Jar File in Eclipse -
i want export simple application in runnable jar or mac os x .app format. exporting fine both don't run. app runs without errors in eclipse.
the applications loads data userdata.dat file. mainscreen main class.
easiest route upgrading or re-installing java runtime environment (jre).
or this:
- open windows explorer, tools select 'folder options...'
- click file types tab, scroll down , select jar file type.
- press advanced button.
- in edit file type dialog box, select open in actions box , click edit...
- press browse button , navigate location java interpreter javaw.exe.
- in application used perform action field, needs display similar c:\program files\java\j2re1.4.2_04\bin\javaw.exe" -jar "%1" % (note: part starting 'javaw' must that; other part of path name can vary depending on version of java you're using) press ok buttons until dialogs closed. taken here
Comments
Post a Comment