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 6036549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:56:27+00:00 2026-05-23T05:56:27+00:00

I have installed the Java 3D API on PC via the exe installer, which

  • 0

I have installed the Java 3D API on PC via the exe installer, which simply created a new directory with j3dcore.jar, vecmath.jar, j3dutils.jar in a lib sub-directory and j3dcore-ogl.dll in a bin sub-directory.

Netbeans had no issues and my code compiled and executed smoothly, however once I built my project and tried to run it from the command prompt I got an UnsatisfiedLinkError saying that no j3dcore-ogl in java.library.path.

Google came to the rescue and gave me 3 viable solutions:

  • by copying the dll file into my JRE’s bin directory
  • by adding the path of the dll file to the library path (java -Djava.library.path=dllpath)
  • load the dll in the program with System.load() (I couldn’t get this one to work, actually)

My question is: Is there an elegant solution to this problem, that I missed?

It seems tedious that for each different PC someone would like to use this program on, he’d have to either copy the dll or add it to the library path before it can run. (Side question: How come Netbeans didn’t have a problem with the dll?)

  • 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-23T05:56:28+00:00Added an answer on May 23, 2026 at 5:56 am

    Edit – After re-reading your question, your issue sounds different. However I’m able to get my running like so, by just dropping all dll files in the same directory as the .bat file starting the java process:

    java -classpath ./YourJar.jar;./lib/j3dcore.jar;./lib/vecmath.jar;./lib/j3dutils.jar package.MainClass

    And that works on multiple user’s PCs, so I know simply dropping it in the working directory works.

    I believe it depends on the version of Java being used – 64 bit or 32 bit. The correct dll file (of the same name) needs to be in the working directory.

    I think I was getting a similar problem when the wrong dll was being used, and it’s not OS-dependent (if your 64 bit OS has 32-bit Java installed, you’d need the 32 bit j3dcore-ogl.dll file).

    So the question is, which version of Java are you using (when running outside of your IDE), and which version of the dll are you putting (if any) in the working directory? I don’t need any dll files in my path settings to get this working on other’s PCs, and did not use System.load(), and did NOT copy files into my user’s JRE/bin directory – so I know this is possible without the 3 options you mention.

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

Sidebar

Related Questions

I have already installed the eclipse IDE for Java developers (Helios Service Release 2)
I'm trying to run R using Java. I have R installed on my Mac
Am new to Java and Android. I am trying to install Android SDK on
I have just installed Orbeon 3.9 CE on a WebSphere WAS 7.0 environment all
Hi is there a chance to find where is java installed on windows ??
I am unable to execute java gui program in eclipse 3.6 under ubuntu 11.04.
this is a follow-up question to my question earlier this day . I have
Let me start by saying I've been doing professional development work in C++ for
While discussing another question I asked, @Aaron Digulla pointed out the following: If you
I am having trouble starting a JBoss 4.2.2 server - it is producing the

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.