0

I am using eclipse and openjdk-7. I want to use JavaFX classes in my project, but it doesn't work and give me this error:

Can't load library .../libglass.so

I set the JAVA_HOME & JAVA but it doesn't works. What should I do?

5
  • Take a look for this question: stackoverflow.com/questions/14009066/… Commented Nov 5, 2013 at 8:47
  • That is for using netbeans, i am using eclipse. Commented Nov 5, 2013 at 8:54
  • you can apply the same principle. you must add the same line to Run configurations->Your run configuration->Arguments->VM arguments Commented Nov 5, 2013 at 9:00
  • It doesn't work for me, anyway, Thanks a lot! Commented Nov 6, 2013 at 10:38
  • have you customized the line using your folders? Commented Nov 6, 2013 at 10:50

1 Answer 1

1

If You have to add C:\Program Files\Java\jdk1.7.0_25\jre\lib\jfxrt.jar in your classpath then it will work in eclipse.

Sign up to request clarification or add additional context in comments.

1 Comment

If i don't add this, it got error and don't let me to compile, but the error i said is runtime error

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.