Error Package Net.java.games.jogl Does Not Exist
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have jogl example Meta Discuss the workings and policies of this site About Us jogl maven Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with jogl intellij us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just
Java Opengl Tutorial
like you, helping each other. Join them; it only takes a minute: Sign up How to make jogl work with intellij idea up vote 0 down vote favorite 1 I've looked around and I can't seem to figure this out. I'm trying to setup JOGL(on win64) for use with IntelliJ IDEA and it doesn't seem to lwjgl work no matter what I do. Here's what I've done so far: Downloaded this Moved all of these files into their own folder(called JOGL): gluegen-rt.jar jogl-all.jar gluegen-java-src.zip jogl-java-src.zip gluegen-rt.dll jogl_desktop.dll nativewindow_awt.dll nativewindow_win32.dll newt.dll Went to Project structure and added the JOGL folder to the module as a library Attempted to run the module with the import: import net.java.games.jogl.*; added I also attempted to run the line of code System.loadLibrary("jogl"); without using the import, and it didn't work. Any help is appreciated. These are the guides I was following: http://jogamp.org/wiki/index.php/Downloading_and_installing_JOGL http://jogamp.org/wiki/index.php/Setting_up_a_JogAmp_project_in_your_favorite_IDE Edit: As per CrazyCoder's request, when I attempt to compile with the import net.java.games.jogl.*; that I mentioned, I get: java: C:\....\Main.java:2: package net.java.games.jogl does not exist When I remove the import and attempt to run it with the System.loadLibrary("jogl"); line inserted, I get: Exception in thread "main" java.lang.UnsatisfiedLinkError: no jogl in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1028) at core.Main.main(Main.java:15) Strangely, when I try to run it on the command line with the command java -cp "/c
puts automation in the app First look: Google Cloud Machine Learning soars 7 habits of highly effective developers 10 hard-core coding tips for faster Python More Insider Sign Out Search for Suggestions for you Insider email Core Java All Core Java Agile Development Java Concurrency Java Language Java Platform Java Security Programming Careers Testing and Debugging Enterprise Java All Enterprise Java Big Data Cloud Computing Data Analytics Development Tools Java APIs Java App Dev Java Web Development Open Source Scripting and JVM Languages Learn Java All Learn Java http://stackoverflow.com/questions/16125929/how-to-make-jogl-work-with-intellij-idea Design Patterns Mobile Java All Mobile Java Java Android Developers Java iOS Developers News Features How-Tos Blogs Resources/White Papers Newsletters × Close Home Enterprise Java Java App Dev News Hello JOGL More like this Open source Java projects: Java Binding for OpenGL (JOGL) 3D graphics programming in Java, Part 3: OpenGL Open source Java projects: NetBeans plugins Introducing Java Bindings for OpenGL http://www.javaworld.com/javaworld/jw-02-2005/jw-0221-jogl.html Email a friend To Use commas to separate multiple email addresses From Privacy Policy Thank you Your message has been sent. Sorry There was an error emailing this page. Comments By Gene Davis JavaWorld | Feb 21, 2005 12:00 AM PT RELATED TOPICS Java App Dev Java Language Comments For some years now, a programmer that wanted to create a graphics-intensive program that could be sold to users of different operating systems had one choice—OpenGL. The GL stands for graphics library. OpenGL is a registered trademark of SGI. OpenGL manifests itself as a cross platform C programming API. In reality though, it is a hardware-independent specification for a programming interface.OpenGL is for making graphics. It is fast. Most of the time, it is hardware accelerated. It seems that OpenGL can do anything visually that you would want to do.Unfortunately, OpenGL is written for C. Let's face it, C is not the most popular language for programming complex applications. One of the biggest drawbacks to Op
the Java Gaming Resources, or peek at the official Java http://www.java-gaming.org/index.php/topic,14448. tutorials Home Help Search Login Register https://processing.org/discourse/beta/num_1159148966.html Java-Gaming.org>Game Development>Newbie & Debugging Questions>Need help with LWJGL/JOGL Pages: [1] ignore | Print Need help with LWJGL/JOGL (Read 4554 times) 0 Members and 1 Guest are viewing this topic. DaForgottenEmperor Junior Newbie Need help error package with LWJGL/JOGL « Posted 2006-07-23 11:52:53 » I downloaded source code from http://www.cokeandcode.com/spaceinvaders104/spaceinvaders104.zip .When I try to build it in IntelliJ Idea, i get few errors ;p123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102Information:Note: Some input files use unchecked or unsafe operations.Information:Compilation completed with 88 errors and 1 warningInformation:88 errorsInformation:1 warningC:\Documents and Settings\MG\Desktop\spaceinvaders104\spaceinvaders104\org\newdawn\spaceinvaders\jogl\JoglGameWindow.java Error:Error:line error package net.java.games.jogl (8)package net.java.games.jogl does not exist Error:Error:line (9)package net.java.games.jogl does not exist Error:Error:line (10)package net.java.games.jogl does not exist Error:Error:line (11)package net.java.games.jogl does not exist Error:Error:line (12)package net.java.games.jogl does not exist Error:Error:line (13)package net.java.games.jogl does not exist Error:Error:line (14)package net.java.games.jogl does not exist Error:Error:line (27)cannot find symbol class GLEventListener Error:Error:line (37)cannot find symbol class GLCanvas Error:Error:line (39)cannot find symbol class GL Error:Error:line (70)cannot find symbol class GL Error:Error:line (160)cannot find symbol class GLDrawable Error:Error:line (188)cannot find symbol class GLDrawable Error:Error:line (217)cannot find symbol class GLDrawable Error:Error:line (237)cannot find symbol class GLDrawable Error:Error:line (99)cannot find symbol class GLCapabilities Error:Error:line (99)cannot find symbol variable GLDrawableFactory Error:Error:line (106)cannot find symbol class Animator Warning:Warning:line (114)[deprecation] show() in java.awt.Window has been deprecated Error:Error:line (165)cannot find symbol variable GL Error:Error:line
to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online. Index › Programming Questions & Help › OpenGL and 3D Libraries › Cannot import net.java.games.jogl ‹ Previous Topic | Next Topic › Pages: 1 Cannot import net.java.games.jogl (Read 3678 times) hamletbon YaBB Newbies Offline Posts: 16 Cannot import net.java.games.jogl Sep 18th, 2006, 12:02pm Hi,I've tried to run the examples pasted in this section, but I aways get an error for "Jikes cannot find the package "net.java.games.jogl".And actually what does the line "import javax.xxx.xxxxx." and "import net.xxxx" means?Thank you! fry YaBB Moderator Offline Posts: 2623 mass, usa Re: Cannot import net.java.games.jogl Reply #1 - Sep 18th, 2006, 1:48pm that's part of jogl, which is included when you use import library -> opengl. however, that syntax is from outdated code, and that won't work with newer processing releases. hamletbon YaBB Newbies Offline Posts: 16 Re: Cannot import net.java.games.jogl Reply #2 - Sep 18th, 2006, 4:03pm I've deleted that import line, however when I tried this line "GL gl = ((PGraphicsGL)g).gl;", an error "Type GL is not found"is shown. JohnG Ex Member Re: Cannot import net.java.games.jogl Reply #3 - Sep 18th, 2006, 4:43pm You need to change "import net.java.games.jogl.*" to "import javax.media.opengl.*" to get old code to work. hamletbon YaBB Newbies Offline Posts: 16 Re: Cannot import net.java.games.jogl Reply #4 - Sep 18th, 2006, 5:11pm I've tried to import the "javax.media.opengl.*;", the error is "java.lang.NullPointerException" for "GL gl = ((PGraphicsGL)g).gl;"What is it about the new and old library? And when I write the line import javax.media.opengl.*, where is the library located? Because I don't know about the external import method, I thought all library should be included in the processing/library, or there is something else?Wh