Problem getting Modbus simulator to work on Omega2+
-
Hi,
I am a newbie to Omega2+
I am trying to get a Modbus simulator to work. I downloaded ModbusPal.jar from sourceforge (https://sourceforge.net/projects/modbuspal/files/modbuspal/RC version 1.6b/ModbusPal.jar/download) and installed jamvm version 1.5.0When i try to run, I get the following:-
root@Omega-2679:/mnt/mmcblk0p1/Download# jamvm -jar ModbusPal.jar
Exception occurred while VM initialising.
java/lang/NoClassDefFoundError: java/lang/ClassPlease can anyone help ?
BJ
-
@BeekyB Looks like it can't find your JRE. You need to check your classpath.
From the documentation of jamvm:
JamVM must be used in conjunction with a Java class-library to make a full Java Runtime Environment. Compatible class-libraries are GNU Classpath or the class-library from OpenJDK.
http://jamvm.sourceforge.net/
https://www.gnu.org/software/classpath/
-
@crispyoz Hi, Thanks for your reply.
I downloaded the classpath-0.99 from GNU, but am having difficulties installing.
Any suggestions ?
-
@BeekyB My first suggestion is to ensure you have your Omega2 powered up.
Or you could provide more details of what problem you are experiencing so perhaps members of the community may have some ideas of how to solve whatever issue you are experiencing.