Jogamp on Intel i5-6???

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Jogamp on Intel i5-6???

Daniel
I have a mysterious problem with jogamp/j3d ONLY on PCs / Laptops with an Intel i5 6th generation (for example I5-6500T).

Can't get simplest code running on machines with 6th gen I5 ! But it runs on 2nd gen (with jre 8_51), 3rd (jre 8_131), 4th (jre 8_131), Windows 7 and Windows 10. But not on I5-6*

public Hello() {
        SimpleUniverse universe = new SimpleUniverse();
        BranchGroup group = new BranchGroup();
        group.addChild(new ColorCube(0.3));
        universe.getViewingPlatform().setNominalViewingTransform();
        universe.addBranchGraph(group);
    }

Errors:

Warning: Caught Exception while retrieving executable temp base directory:
java.io.IOException: Could not determine a temporary executable directory

>>> I think that's the main problem... found no way to solve this "known issue"

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: C:\Users\LocAdmWS!\Desktop\DanielTest\hello3d_jar\natives\windows-i586\\gluegen-rt.dll

>>> probably related to error above

Any Help ? THX
Reply | Threaded
Open this post in threaded view
|

Re: Jogamp on Intel i5-6???

Daniel
Update:

Found a Solution

created Directory natives\windows-amd64\

copied all files from TEMP-Path (which was under :\user\username\Appdata\local\temp\manyletters\againmanyletters\....\...\*) into created.

now everything is ok with 3d :-)

now I have to struggle with (I think) Java on 6th-gen-Intels :-DDD because I get an resource-load-error (Standard Java resource-file)...AGAIN only on 6th gen Win10
Reply | Threaded
Open this post in threaded view
|

Re: Jogamp on Intel i5-6???

gouessej
Administrator
Hi

Actually, it probably has nothing to do with Intel i5-6. It's a problem of authorization on some directories. It's annoying. In this case, you have to disable the automated native library loading, set the Java library path and put the necessary native libraries into it.

Sometimes, it's caused by paranoid virus scanners (false positives) because they don't like programs that "create" native libraries or they wrongly consider GlueGen as a virus.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Jogamp on Intel i5-6???

gouessej
Administrator
In reply to this post by Daniel
You should look at this bug report:
https://jogamp.org/bugzilla/show_bug.cgi?id=1219#c72
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Jogamp on Intel i5-6???

Daniel
Thx, that helped me !
Reply | Threaded
Open this post in threaded view
|

Re: Jogamp on Intel i5-6???

gouessej
Administrator
You're welcome. Have you found a better solution in your case?
Julien Gouesse | Personal blog | Website