Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » JAR-File doesn't run(Nothing happens when I double-click it)
JAR-File doesn't run [message #1163178] Wed, 30 October 2013 22:12 Go to next message
Jack Coon is currently offline Jack Coon
Messages: 3
Registered: October 2013
Junior Member
Hello,
I followed the first tutorial, but the JAR-File won't run. After I had clicked "
Generate ant build.xml and run", the program "javaw.exe" wasn't set as default for opening the JAR-File. After I clicked Open with -> Javac.exe, nothing happened.

This is the MANIFEST.MF in the JAR-File:

Manifest-Version: 1.0
JavaFX-Version: 2.2
JavaFX-Feature-Proxy: None
Implementation-Vendor: Jack
Implementation-Title: Sample
Implementation-Version: 1.0
JavaFX-Application-Class: application.Main
JavaFX-Class-Path: Sample.jar
Created-By: JavaFX Packager
Main-Class: com/javafx/main/Main

Re: JAR-File doesn't run [message #1164134 is a reply to message #1163178] Thu, 31 October 2013 13:04 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5327
Registered: July 2009
Senior Member
Hi,

Well javac is the *java-compiler* so that makes no sense! You need to
lauch through java.exe and/or javaw.exe. To understand the difference
between them e.g. read
http://stackoverflow.com/questions/1997718/difference-between-java-exe-and-javaw-exe

Tom

On 31.10.13 11:24, Jack Coon wrote:
> Hello,
> I followed the first tutorial, but the JAR-File won't run. After I had
> clicked "
> Generate ant build.xml and run", the program "javaw.exe" wasn't set as
> default for opening the JAR-File. After I clicked Open with ->
> Javac.exe, nothing happened.
>
> This is the MANIFEST.MF in the JAR-File:
>
> Manifest-Version: 1.0
> JavaFX-Version: 2.2
> JavaFX-Feature-Proxy: None
> Implementation-Vendor: Jack
> Implementation-Title: Sample
> Implementation-Version: 1.0
> JavaFX-Application-Class: application.Main
> JavaFX-Class-Path: Sample.jar
> Created-By: JavaFX Packager
> Main-Class: com/javafx/main/Main
>
>
Re: JAR-File doesn't run [message #1164344 is a reply to message #1164134] Thu, 31 October 2013 16:08 Go to previous message
Jack Coon is currently offline Jack Coon
Messages: 3
Registered: October 2013
Junior Member
Yes, sorry, I meant "javaw.exe". But anyway, I fixed the prblem myself: It was not the fault of e(fx)clipse, there was just something wrong with my Java-Installation. But after I jused Jarfix (http: //johann.loefflmann.net/de/software/jarfix/index.html -> without the blank), everything was fine.

Thank you very much and sorry for the inconvinience!

Jack
Previous Topic:No notification on UI Life Cycle event
Next Topic:at.bestsolution.efxclipse.runtime.emf.databinding.edit on maven repo?
Goto Forum:
  


Current Time: Fri Sep 19 08:00:56 GMT 2014

Powered by FUDForum. Page generated in 0.01670 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software