Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Linking problem when developing GUI with java API

Please login with a confirmed email address before reporting spam

Hello everyone!

I am trying to develop a custom GUI in java using COMSOL API. I am following the guidelines in the API Reference, but if I try to paint the result on the GUI, I get a linking exception in Java (UnsatisfiedLinkError).

The part of the code that yields the exception is:

SwingGraphicsPanel graphicsPanel = new SwingGraphicsPanel("window1","Window1");

I am developing in ubuntu linux 12.10 64bit.

I have already set the environment variable LD_LIBRARY_PATH to: /home/andres/Programs/COMSOL43/lib/glnxa64/

Does anyone have a similar problem?

Thank you for your help.

Andres !

1 Reply Last Post 2012年12月13日 GMT-5 19:16

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2012年12月13日 GMT-5 19:16
By the way... I attach the code

DemoGuiComsol: pastebin.com/x5nBajZa

BeamModel: pastebin.com/L8jF8Bjg
By the way... I attach the code DemoGuiComsol: http://pastebin.com/x5nBajZa BeamModel: http://pastebin.com/L8jF8Bjg

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.