Unable to execute jar file on toradex linux

Hello Guys,
Recently we bought Colibiri IM6DL 512MB for our company.Our customer has given java jar file and he want to execute particular Jar on this device.When i try to execute jar file in Toradex Linux i am getting error “could not find or load main class”.

I have installed jdk1.8 as per our customer request on Linux,

I am new to java and Linux and i have attached jar file.link text

Hi @vikramh93 and Welcome to the Toradex Community!

Could you provide the version of the Hardware and Software of your module?

When i try to execute jar file in Toradex Linux i am getting

Which command did you use to launch the jar file?

I have installed jdk1.8 as per our customer request on Linux.

How did you install jdk 1.8?

Best regards,
Jaski

Hello @jaski.tx ,

I have installed Toradex Linux embedded through easy installer and java jdk1.8.0_231 manually by using update-alternatives --install command by using below guide link text

I am using java -jar SampeApp.jar command to execute,

Module: Col IMX6Dl 512MB IT

Hi

Thanks for your Input. You need to install Java for Arm.

Best regards,
Jaski

Hello,

I have installed Linux ARM 32 Hard Float ABI version in java. To verify i have used java -version command to see output.

Is it possible to change OS from toradex Linux to torizon OS? Previously i was able to change OS from wince to Linux by using easy installed,now i am having difficulty to change OS.

HI @vikramh93

Is it possible to change OS from toradex Linux to torizon OS? Previously i was able to change OS from wince to Linux by using easy installed,now i am having difficulty to change OS.

Yes, it’s possible by using Toradex Easy Installer. Which difficulties are you having?
Could you share some error log?

Best regards,
Jaski

Hello @jaski.tx ,

Thanks for the help.I was able to install open jdk 11 and jar got executed.

Perfect that it works. Thanks for the feedback.