1

I've developed a JavaFx application using JDK 7, but now that Java 8 was released, my client unistalled jre 7 and installed jre 8, and now the app is not running anymore:

enter image description here

I'm not sure but jre8 should not be compatible with previous versions of java? At least the last one ?

What can I do to solve this?

EDITED: I'm using exe4j to distribute my app as .exe

7
  • possibly a 32 vs 64 bit issue? Is it run from a browser? Commented Dec 4, 2014 at 14:40
  • It's a desktop app, and it's not a 32 vs 64 issue I've tested it. Commented Dec 4, 2014 at 14:44
  • What deployment method are you using? Is it possible to try to run the application from the command line? That way you should be able to see any error messages. And have you tested with Java 8 on your own machine? Commented Dec 4, 2014 at 15:00
  • @javaHunter did u try to read the question ? Commented Dec 4, 2014 at 16:13
  • We had same problem when we were developing fx application using jdk7 and we had to switch to jdk8. But we faced some gui related problems only (FXML files were used). Is it possible to redistribute your application by compiling it with jdk8? Is your client using .jar file or .exe? Commented Dec 4, 2014 at 17:34

2 Answers 2

2

Here's a link http://progressinjava.blogspot.com/2014/12/using-applications-own-jre-and-not.html It uses launch4j to create .exe file and show you how to distribute your application with jre.

Sign up to request clarification or add additional context in comments.

Comments

0

Muskan answers was very helpful because gave me a hint to bundle a jre with my application.

Actually I've not used launch4j instead I've used exe4j, which is very similar but I've used before.

If you decide to use this approach you can find step by step here.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.