Blueforcer Well-Known Member Licensed User Longtime User Sep 22, 2018 #1 Is there any plan to update B4jPackager to work with Java 10? Theres some issues like https://bugs.openjdk.java.net/browse/JDK-8181476 wich is solved in JDK10. I want to provide my app as an installer and not as a single JAR File Last edited: Sep 22, 2018
Is there any plan to update B4jPackager to work with Java 10? Theres some issues like https://bugs.openjdk.java.net/browse/JDK-8181476 wich is solved in JDK10. I want to provide my app as an installer and not as a single JAR File
Erel B4X founder Staff member Licensed User Longtime User Sep 23, 2018 #2 Yes. Which error do you get when you run B4JPackager with Java 10? Upvote 0
Blueforcer Well-Known Member Licensed User Longtime User Sep 23, 2018 #3 No error, After "successful" packaging, the bundle folder is empty Edit: With javapackager 10 the exe file is in the root of B4JPackager not in B4JPackager/bundles. The installer works, but nothing happens if you try to start the application in Windows. Edit 2: It works perfectly on MacOS Last edited: Sep 23, 2018 Upvote 0
No error, After "successful" packaging, the bundle folder is empty Edit: With javapackager 10 the exe file is in the root of B4JPackager not in B4JPackager/bundles. The installer works, but nothing happens if you try to start the application in Windows. Edit 2: It works perfectly on MacOS
Erel B4X founder Staff member Licensed User Longtime User Sep 24, 2018 #4 Blueforcer said: The installer works, but nothing happens if you try to start the application in Windows. Click to expand... Find the installed jar file and run it from the command line with java -jar. Maybe there is an error in your program (usually happens when you try to write to File.DirApp). Upvote 0
Blueforcer said: The installer works, but nothing happens if you try to start the application in Windows. Click to expand... Find the installed jar file and run it from the command line with java -jar. Maybe there is an error in your program (usually happens when you try to write to File.DirApp).
Blueforcer Well-Known Member Licensed User Longtime User Sep 24, 2018 #5 The jarfile works. And also works if I use javapackager 8. But not with 10 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 24, 2018 #6 Are you testing the jar file that is installed under Program Files? Upvote 0
Blueforcer Well-Known Member Licensed User Longtime User Sep 24, 2018 #7 Yep. There is only a warning Code: Copy WARNING: Illegal reflective access by anywheresoftware.b4j.object.JavaObject (file:/C:/Program%20Files/JeeLight/app/JeeLight.jar) to method javafx.scene.image.WritableImage$2.setPixels(int,int,int,int,javafx.scene.image.PixelFormat,byte[],int,int) But it starts and work as expected Upvote 0
Yep. There is only a warning Code: Copy WARNING: Illegal reflective access by anywheresoftware.b4j.object.JavaObject (file:/C:/Program%20Files/JeeLight/app/JeeLight.jar) to method javafx.scene.image.WritableImage$2.setPixels(int,int,int,int,javafx.scene.image.PixelFormat,byte[],int,int) But it starts and work as expected