hi!
First, I want to stress, that I am trying to create APPLET, so I can`t manually copy libraries or set path variable.
I have searching for that solution on web and forums, but havent found anything.
I have all of JSR-231 beta 03 jar files, like jogl and all natives jars on my server and I am using JOGLAppletLauncher to lauch my applet. Everything works fine on my pc, beucase i have jogl.dll in my library path, but none of my friends have that file, only pure j2re. So what i need to do, to make this applet to run properly? Why this applet dont use dll`s from jogl-natives-win32.jar file?
My friends whos trying to test my applet, have this message in first line of java console:
“Exception in thread “AWT-EventQueue-2” java.lang.UnsatisfiedLinkError: no jogl in java.library.path”
this is my java code in simplest way:
import javax.swing.*;
import net.java.games.jogl.*;
public class demo extends JApplet
{
public void init()
{
GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities());
getContentPane().add(canvas);
}
public void start()
{
}
public void stop()
{
}
}
and this is html:
<applet code="com.sun.opengl.util.JOGLAppletLauncher"
width=300
height=300
codebase="http://my-applet-addres-with-libraries"
archive="jogl.jar,demo.jar">
<param name="subapplet.classname" VALUE="demo">
<param name="subapplet.displayname" VALUE="demo applet">
<param name="progressbar" value="true">
<param name="cache_archive" VALUE="jogl.jar,demo.jar">
<param name="cache_archive_ex" VALUE="jogl.jar;preload,demo.jar;preload">
</applet>
and of corse, I really sorry for my terrible english.
greetings!