Hinweis Probleme mit JAG3D unter Java 11

by Markus @, Thursday, October 25, 2018, 03:20 (1981 days ago)

Hallo,

wir verwenden bei uns an der Hochschule in der Vorlesung jag3d, bei der Installation ist bei mir und meinen Kommilitonen ein Problem bezüglich Java aufgefallen über das ich Sie hiermit Informieren möchte. Bei der Installation stellte sich heraus, dass die neuste Java Version 11 nicht mit jag3d (v20181001) funktioniert, so das wir uns die ältere Java Version 10.0.2 installieren mussten.

Mit freundlichen Grüßen
Markus

locked
3597 views

Hinweis Probleme mit JAG3D unter Java 11

by Micha ⌂, Bad Vilbel, Thursday, October 25, 2018, 07:38 (1981 days ago) @ Markus

Hallo Markus

Bei der Installation stellte sich heraus, dass die neuste Java Version 11 nicht mit jag3d (v20181001) funktioniert, so das wir uns die ältere Java Version 10.0.2 installieren mussten.

JavaFX ist nicht mehr Teil des SDKs. Mit der Version 11 wurde es entfernt und für die FX-Umgebung ein eigenständiges Modul abgeleitet, vgl. The Future of JavaFX. Das FX-Projekt ist nun unter der Adresse https://openjfx.io zu finden und muss zusätzlich zur Laufzeitumgebung bereitgestellt werden.

Eine Anleitung für eine Installation findet sich hier. Mit dieser konnte ich JAG3D auch mit Java 11 starten. Dennoch werde ich mir das in den nächsten Tagen genauer ansehen.

Viele Grüße
Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Tags:
javafx, java 11

locked
3628 views

Problems with JAG3D and Java SDK 11

by Huibert-Jan @, Saturday, October 27, 2018, 01:57 (1979 days ago) @ Markus

Have the same problem and cannot download 10.0.2 anymore from oracle. I tried setting the JAVA_HOME variable but that does not work for me; JAG3d is still not starting. I'm using it with my hydrography students and now must bring my old laptop with 10.0.2

locked
3515 views

Problems with JAG3D and Java SDK 11

by Micha ⌂, Bad Vilbel, Saturday, October 27, 2018, 05:58 (1979 days ago) @ Huibert-Jan

Hi Huibert-Jan,

thank you for reporting. First of all, I don't have a final solution yet but a workarond, which works for me. I will give you a short description, how you can run JAG3D using Java 11. The problem is, JavaFX was removed from the standard SDK. Oracle's intention is to create a more modular SDK. Therefore, major components were removed like JAXB, JavaFX, etc. These components or modules will be developed separately.

The module JavaFX 11, the graphic library that is used by JAG3D, can be found here: https://gluonhq.com/products/javafx/. Please download the SDK for your platform. Moreover, you need Java 11. Up to now, I only tested the OpenSource version of the SDK (OpenJDK) and not Oracle's version. The Java SDK-11 can be found here: http://jdk.java.net/11/ for several platforms.

Unzip the Java SDK-11 as well as the JavaFX SDK-11. For this demonstration, I copied both SDKs to the same folder, close to JAG3D. To run JAG3D, you have to use a modified or extended command, i.e.:

jdk-11.0.1\bin\java.exe -jar --module-path javafx-sdk-11\lib --add-modules=javafx.controls,javafx.swing JAG3Dv20181001\jag3d.jar

Please take a look to the screenshot to reproduce my test case.

[image]

So, you don't need to install a SDK. You can copy the command to a BATH-script to avoid the use of the command line tool.

I'will focused on the problem within the next days and report my results in this thread.

Please let me know, if it works for you.

regards
Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Tags:
JAG3D, javafx, openjdk, java 11

locked
3932 views

Problems with JAG3D and Java SDK 11

by Micha ⌂, Bad Vilbel, Sunday, October 28, 2018, 05:00 (1978 days ago) @ Huibert-Jan

Hello,

a new version is released, which I could start on windows and linux platforms. Due to the modularization of the SDK, the JavaFX-module is part of the application package. Thus, platform-specific versions can be downloaded here.

Viele Grüße
Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

locked
3539 views

Problems with JAG3D and Java SDK 11

by Huibert-Jan Lekkerkerk @, Wednesday, November 07, 2018, 08:53 (1968 days ago) @ Micha

Thx!

Happy with the speedy replies and solutions. Great software!

locked
3557 views

Hinweis Probleme mit JAG3D unter Java 11

by Micha ⌂, Bad Vilbel, Sunday, October 28, 2018, 04:57 (1978 days ago) @ Markus

Hallo,

ich habe eine neue Version von JAG3D erzeugt, die auch unter Java 11 laufen sollte. Aufgrund der Modularisierung des SDKs, muss JavaFX nun Teil der Applikation sein, weshalb verschiedene Version für die möglichen Plattformen angeboten werden. Die aktuelle Version findet sich hier.

Viele Grüße
Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Tags:
javafx, sdk, java11

locked
3574 views

Hinweis Probleme mit JAG3D unter Java 11

by Heinz-Theo @, Thursday, January 17, 2019, 05:45 (1897 days ago) @ Markus

Hallo Micha,
erst einmal noch die besten Wünsche für 2019.

Ich habe mich in diese Posts eingeklinkt, da leider ein ähnlcher Fehler auftritt.
Auf diesem Windows-Rechner lässt sich die Version JAG3Dv20190109_Windows nicht starten.
Auf einem anderen Windows-Rechner schon, ebenfalls auf Ubuntu 18.04 die entsprechende Linux-Version.

Ich habe alle Einstellungen mehrfach überprüft, aber keine Unterschiede gefunden.
Das Command-Fenster gibt jeweils die korrekte Java Version aus (java -version => jdk-11.0.2). Sie liegt überall unter "C:\Program Files\Java\jdk-11.0.2\bin\". In der Path-Umgebungsvariablen ist dieser Suchpfad enthalten. Die Java_Home-Variable steht auf "C:\Program Files\Java\jdk-11.0.2\".

Wenn man Jag3d starten will (egal ob die jar oder die exe) kommt als Fehlermeldung, dass die Runtime 9.0.0 erforderlich ist, und es öffnet sich die Oracle-Seite für die Java Downloads.

Leider sehe ich die Bilder mit weiteren Einstellungen in diesem Post nicht. Möglicherweise steht da noch etwas. Hast Du noch einen Tip für mich?

Vielen Dank und Gruß aus Wittenberg

Theo

locked
3401 views

Hinweis Probleme mit JAG3D unter Java 11

by Micha ⌂, Bad Vilbel, Saturday, January 19, 2019, 09:42 (1895 days ago) @ Heinz-Theo

Hallo Theo,

erst einmal noch die besten Wünsche für 2019.

Danke, Dir auch ein erfolgreiches neues Jahr.

Sie liegt überall unter "C:\Program Files\Java\jdk-11.0.2\bin\".

Dann müsstest Du es über die shell starten können. In der Annahme, dass Du Dich bereits im JAG3D-Verzeichnis befindest, ist der Aufruf:

"C:\Program Files\Java\jdk-11.0.2\java" -jar jag3d.jar

Wenn man Jag3d starten will (egal ob die jar oder die exe) kommt als Fehlermeldung, dass die Runtime 9.0.0 erforderlich ist

Das dürfte nicht passieren, wenn Du die jar direkt startest. Die Fehlermeldung kommt von der exe, die ich mit Launch4j erstellt habe. Startest Du diese exe, wird geprüft, ob Du die notwendige Java-Version auf Deinem Rechner hast. Wenn dies nicht der Fall ist, bekommst Du den genannten Hinweis. Zu diesem Zeitpunkt ist JAG3D noch nicht im Spiel.

Wenn Du die jar direkt startest, dann findet keine direkte Prüfung statt. JAG3D startet nicht, wenn es ein Versionskonflikt feststellt (und würde auf der Shell einen Fehler liefern)

Ich habe mal eine Version erstellt, die ohne installiertes Java auskommt und die JRE direkt mit enthält - praktisch eine Standalone Version. Ich habe das OpenJDK 11 genommen. Die könntest Du alternativ mal ausprobieren. Auch hierfür könnte man eine exe mit Launch4j erzeugen. Hier der Link zur portablen Version von JAG3D:

https://dev.applied-geodesy.org/tmp/JAG3Dv20190109_OpenJDK_Windows.zip

Viele Grüße
Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Tags:
JAG3D, java 11, portable app, windows

locked
3373 views

RSS Feed of thread