|Re: Deployment Problem [message #976426 is a reply to message #976337]
||Thu, 08 November 2012 15:19
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
On 11/8/2012 8:08 AM, Danny Bradley wrote:|
> Platform: Windows7 32 bit.
> Eclipse: Juno with SWT.
> I used the deployment wizard as follows:
> 1. After right-clicking the project in the Java project explorer, I
> selected 'Export'.
> 2. In the 'Select' feature, I selected 'Java>Runnable Jar file' and
> clicked 'Next'.
> 3. In the 'Runnable Jar File' feature, I selected the correct 'Launch
> Configuration' and 'Export Destination'. I also selected 'Package
> required libraries into generated JAR', then clicked 'Finish'.
> 4. A 'Runnable JAR File Export' popup window appeared to tell me 'The
> JAR file finished with warnings...' This refers to a few unused
> variables, which are not a problem.
> 5. I clicked 'OK', and the wizard disappeared.
> 6. I navigated to the supposedly executable file on my C: drive. It is
> listed as an 'Executable jar file' of 15MB with the correct timestamp.
> 7. I double-clicked the executable jar file, and nothing happened.
> My expectation was that step 7 would result in the application launch.
> What am I doing wrong, or what am I missing?
An executable JAR must nevertheless be launched, I think, even on
Windows. What you have is executed thus:
C:\Users\danny> java -jar project-name.jar
Though a Unix/Linux guy, I've developed a lot on Windows and I am
unfamiliar with any .exe wrapper for Java programs. Stilll, there might
be such a thing and I just don't know about it. I develop only web
Powered by FUDForum
. Page generated in 0.06531 seconds