comsol和java_Comsol model in java

Hi,

I'm working on a Comsol GUI application with the Java API. I used NetBeans and started with the beam model according to the Comsol Documentation (comsol-programmingReferencesManual.pdf pg.635) It works fine when i run it in NetBeans or eclipse but When i export the program to a runnable JAR file, it doesnt work. also it doesnt run in linux (debian) Anybody got the same issue?

The errors comes from this part of the source code:

ModelUtil.initStandalone(true);

This is part of the errors as follows:

Exception in thread "AWT-EventQueue-1" java.lang.UnsatisfiedLinkError: Can't load library: /home/m/Documents/lib/glnxa64/libcssystemutil.so at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1827) at java.lang.Runtime.load0(Runtime.java:809) at java.lang.System.load(System.java:1086) at com.comsol.model.util.ModelUtil$15.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.comsol.model.util.ModelUtil.initStandalone(Unknown Source) at com.comsol.model.util.ModelUtil.initStandalone(Unknown Source)

any helps would be greatly appreciated. Thanks.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值