Thanks for help !!!!
Command to compile:
----------------------------------------------------------------------------
javac HelloWorldOGL.java -classpath d:\temp\java\jpct\lib\jpct\jpct.jar;d:\temp\java\jpct\lib\lwjgl-2.8.0\jar\lwjgl.jar;d:\temp\java\jpct\lib\lwjgl-2.8.0\jar\lwjgl_util.jar
----------------------------------------------------------------------------
Command to execute:
----------------------------------------------------------------------------
java -Djava.library.path=d:\temp\java\lib\lwjgl-2.8.0\native\windows -Xmx128m -classpath d:\temp\java\jpct\lib\jpct\jpct.jar;d:\temp\java\jpct\lib\lwjgl-2.8.0\jar\lwjgl.jar;d:\temp\java\lib\lwjgl-2.8.0\jar\lwjgl_util.jar HelloWorldOGL
----------------------------------------------------------------------------
ERRO ON EXECUTE IN PORTUGUES:
----------------------------------------------------------------------------
Erro: NÒo foi possİvel localizar nem carregar a classe principal HelloWorldOGL
----------------------------------------------------------------------------
TRANSLATED:
Error: Could not find or load the main class HelloWorldOGL
----------------------------------------------------------------------------
----------------------------------------------------------------------------
import com.threed.jpct.*;
/**
* A simple HelloWorld using the OpenGL-renderer.
* @author EgonOlsen
*
*/
public class HelloWorldOGL {
private World world;
private FrameBuffer buffer;
private Object3D box;
public static void main(String[] args) throws Exception {
new HelloWorldOGL().loop();
}
public HelloWorldOGL() throws Exception {
world = new World();
world.setAmbientLight(0, 255, 0);
}
private void loop() throws Exception {
buffer = new FrameBuffer(800, 600, FrameBuffer.SAMPLINGMODE_NORMAL);
Thread.sleep(1000);
buffer.disableRenderer(IRenderer.RENDERER_OPENGL);
buffer.dispose();
System.exit(0);
}
}
----------------------------------------------------------------------------
Info about the Java Version:
----------------------------------------------------------------------------
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) Client VM (build 22.1-b02, mixed mode, sharing)
----------------------------------------------------------------------------