Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
hello all,
Just downloaded a Java app onto a Windows XP PC, when I tried to run the app, I get the error message below. java.lang.unsatisfiedlinkerror: no jogl in java.library.path I have not run Java apps on this PC before. Do I need to install any other apps/libraries to run this app. Thank you. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Is the java app a .JNLP file or a simple .Jar file?
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
In reply to this post by Bharat
Hi
Yes JOGL and GlueGen JARs must be in your classpath and JARs containing the native libraries must be in the same directory. Please have a look at our wiki, especially the user guide. Edit.: If it is a Java Web Start application or if the installer already provides JOGL, you should not have to install it by yourself.
Julien Gouesse | Personal blog | Website
|
Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by Pixelapp
It is a .jnlp file.
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
Ok it is badly deployed, the programmer has forgotten to provide the JARs containing the native libraries. Please tell him to look at my JNLP files or those in the wiki.
Julien Gouesse | Personal blog | Website
|
Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Is there some way I can do it as an user by manually copying some files to a directory?
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
You can copy the JNLP file locally and add the proper line to this file so that it retrieves the proper version of JOGL.
Julien Gouesse | Personal blog | Website
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
In reply to this post by Bharat
Look at that:
http://jogamp.org/wiki/index.php/Using_JOGL_in_Java_Web_Start#Option_1:_Use_JogAmp.27s_hosted_JAR_and_JNLP_files Just add the line starting with "extension" into your JNLP file.
Julien Gouesse | Personal blog | Website
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by Bharat
|
Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by gouessej
This is .jnlp file. Any easy fix? Thanks.
<?xml version="1.0" encoding="UTF-8"?> <jnlp spec="1.0+" codebase="http://www.issdc.gov.in/CHBrowse/3Dimages/jars" href="launch_dem.jnlp"> <information> <title>moon</title> <vendor>Administrator</vendor> <homepage href=""/> <description>moon</description> <description kind="short">moon</description> </information> <security> <all-permissions/> </security> <resources> <j2se version="1.5+"/> <jar href="jogl.jar" main="true" download="eager"/> <jar href="gluegen-rt.jar" main="true" download="eager"/> <jar href="test.jar" main="true" download="eager"/> <jar href="applet-launcher.jar" main="true" download="eager"/> <jar href="classes12.jar" main="true" download="eager"/> <jar href="moon_dem_old_spice.jar" main="true" download="eager"/> </resources> <application-desc main-class="gov.nasa.worldwind.examples.TMC_DEM_issdc"> </application-desc> </jnlp> |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
This is a <resource> tag of a working jnlp file. You should add this one line.
<resources> <extension name="jogl-all-awt" href="http://jogamp.org/deployment/jogamp-current/jogl-all-awt.jnlp" /> </resources> Also for your jnlp to work, your code base should point to hard drive resources with the prefix file:/// otherwise you will just launch a JNLP currently on the server which won't have the modifications you've just made. |
Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Ok. Added the line, then executed the .jnlp file.
Now I get the following error: "Failed to validate certificate. The application will not be executed." Name: Java binding to the opengl api Publisher: Jogamp community I am sure this must be some setting in Java control panel, but don't know which. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
In reply to this post by Bharat
:( He uses JOGL 1, it is an obsolete version. I was right, you can see that the JARs containing the native libraries are absent. The problem is that there is no signed version of JOGL 1, we don't support it anymore. You can follow PixelApp's suggestion by using unsigned JARs of JOGL 1 with the JARs of this application.
Julien Gouesse | Personal blog | Website
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by Bharat
Please read this link.
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
It won't work anyway because this application relies on NASA World Wind which still uses JOGL 1, it won't work with JOGL 2.0.
Julien Gouesse | Personal blog | Website
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by gouessej
Ouch. JOGL1 = Bad. :/
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
In reply to this post by Bharat
Bharat, would you like us to contact the Indian Space Science Data Centre so that its administrator fixes this bug? He just has to use my JARs with a separate JNLP file and call it as an extension to make it work until he switches to JOGL 2.0 or he can sign them with the same certificate and add the missing lines into the same JNLP file.
Julien Gouesse | Personal blog | Website
|
Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
That would be great! This is their link: http://www.issdc.gov.in
|
Loading... |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
In reply to this post by gouessej
Thanks for all your help. Immensely appreciated.
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
You're welcome. I will look at the JNLP file that I use for TUER alpha version which is still relying on JOGL 1.1.1a, I will give him the few lines that have to be added, I will show him where to find old JOGL 1.1.1a JARs, he will have to sign them with the same certificate than his application and then it should work.
Julien Gouesse | Personal blog | Website
|
Free forum by Nabble | Edit this page |