Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7515739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:54:18+00:00 2026-05-30T00:54:18+00:00

i have jogl in the path and this program works fine until i include

  • 0

i have jogl in the path and this program works fine until i include “import net.java.games.jogl.*;” on the top of the code. I get error “Import cannot be resolved” As i told you it works without the import. The Native Libraries are installed and jogl.jar is installed. Why isnt Eclipse recognizing this package import? here is the code:

import net.java.games.jogl.*;
public class HelloWorld
    { // open HelloWorld

        public static void main(String[] args)
        { // open main
            try
            { // open try
                System.loadLibrary("jogl");
                System.out.println("Hello World! (The native libraries are installed.)");
            } // close try
            catch (Exception e) // all try's need a catch
            { } // even if the catch does nothing
        } // close main

    } // close HelloWorld
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T00:54:20+00:00Added an answer on May 30, 2026 at 12:54 am

    It appears that the example you are working from is using an outdated package name. Take a look at the contents of the jar to determine the correct package.

    This link (from 2006) is suggesting you may want to look at the package javax.media.opengl. Also, here is some javadoc for jogl that I found. I am not sure how up to date it is though…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a program written in Java using JOGL with which you can draw
after export from eclipse i have error: C:\Program Files\Java\jre6\bin>java C:\wamp\www\JOGL\test.jar Exception in thread main
Have a look at this code: #include <iostream> using namespace std; int main() {
How to include JOGL.jar and Gluegen-rt.jar in the java project? I have included these
I'm writing a program using JOGL/openCL to utilize the GPU. I have code that
I have a java project that uses JOGL and therefore needs to include different
At the moment am using JOGL for a ball detection program I have been
I'm have horrendous problems trying to get a JOGL program compiling using Netbeans 6.9.
Have not done this before ( except in java , look how Steve McLeod
I have a Java OpenGL (JOGL) app, and I'm trying to create a texture

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.