I don't have messages of errors or warning. But running GeoGebra (5.0.367.0 18 June 2017 Java 1.8.0_131-64bit) with 3D graph doesn't work.
I don't why 3D doesn't work.
I added java@FreeBSD.org - I hope there is a Java-expert who has an idea.
I have been using this software for months but this was the first time I wanted to use the 3D functions.
I do not know java, I can not help on this point, by cons I can always test. For example, here is a file exported from GeoGebra online that does not open with the FreeBSD version.
Created attachment 185085 [details]
Test for geogebra 3D
Simple test (a pyramid) from geogebra online
Trying to open testcase file while running Geogebra with openjdk12 results in
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.jogamp.common.os.NativeLibrary$3 (file:/usr/local/share/geogebra/geogebra/gluegen-rt.jar) to method java.lang.ClassLoader.findLibrary(java.lang.String)
WARNING: Please consider reporting this to the maintainers of com.jogamp.common.os.NativeLibrary$3
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
I suspect, this software should be ran under Linux JDK. I see suspicious platform-specific files in the pkg-plist:
I eliminated the (shipped) linux-binaries about 3 years ago from Geogebra (see https://svnweb.freebsd.org/ports?view=revision&revision=421161).
(In reply to Zsolt Udvari from comment #6)
So, .so libraries contained in mention .jar's are FreeBSD native ones?
(In reply to Gleb Popov from comment #7)
The Geogebra distfile contains a full JRE (linux-)binaries (see the diff of pkg-plist: https://svnweb.freebsd.org/ports/head/math/geogebra/pkg-plist?r1=421161&r2=421160&pathrev=421161).
I don't understand the Java deeply (only a little-little-little-... bit) so I don't know the linux-binaried JRE would eliminate or not the warning messages and if yes the FreeBSD-binaries why doesn't work perfectly.
(In reply to Zsolt Udvari from comment #8)
At least jogl.all-natives-linux-amd64.jar contains Linux native binaries. Maybe it is possible to use graphics/jogamp-jogl port instead of bundled jogl somehow?
(In reply to Gleb Popov from comment #9)
Hm, I didn't notice this port. *Maybe* it's possible but now I don't have time to modify and test it. If you've time let's go :)
Maybe next week can I try...
(In reply to Zsolt Udvari from comment #10)
Zsolt, did you have a chance to look at the issue?
No yet but from today we have more free time so today I'll check it.
(In reply to Gleb Popov from comment #11)
Sorry for very-very big late.
How can I tell geogebra (java) to use /usr/local/share/java/classes/jogl2.jar and not /usr/local/share/geogebra/geogebra/jogl.all.jar ?
(In reply to Zsolt Udvari from comment #13)
No idea, to be honest. Maybe try symlinking it?
(In reply to Gleb Popov from comment #14)
Not better :(