Go to advanced search

by mgoes
Sat Mar 07, 2015 10:37 pm
Forum: Java
Topic: Could not initialize class gnu.io.CommPortIdentifier on tomc
Replies: 7
Views: 3855

Re: Could not initialize class gnu.io.CommPortIdentifier on

I installed RXTX by

Code: Select all

sudo apt-get install librxtx-java
. Ins't it enough?
by mgoes
Fri Mar 06, 2015 11:45 pm
Forum: Java
Topic: Could not initialize class gnu.io.CommPortIdentifier on tomc
Replies: 7
Views: 3855

Re: Could not initialize class gnu.io.CommPortIdentifier on

I did some modifications on my server, now I getting this message: org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 41 38: <form name="Name Input Form" action="controlServlet" method="POST"> 39: <label>Selecione a porta serial:</label> 40: <% 41: Enumer...
by mgoes
Fri Mar 06, 2015 5:14 pm
Forum: Java
Topic: Could not initialize class gnu.io.CommPortIdentifier on tomc
Replies: 7
Views: 3855

Re: Could not initialize class gnu.io.CommPortIdentifier on

I have already seem that post on stack overflow. It didn't worked for me. I tried to change from oracles's jdk to openjdk-7. But now I get "Unsupported major.minor version 52". It was compiled on jdk8. So I know the reason for that is the version of the compiler. Is openjdk-8 is available for raspbi...
by mgoes
Fri Mar 06, 2015 4:03 am
Forum: Java
Topic: Could not initialize class gnu.io.CommPortIdentifier on tomc
Replies: 7
Views: 3855

Could not initialize class gnu.io.CommPortIdentifier on tomc

Hello, I have Java installed by sudo apt-get install oracle-java8-jdk and rxtx installed by sudo apt-get install librxtx-java When I execute as a standard application, like this: java -Djava.library.path=/usr/lib/jni -cp /usr/share/java/RXTXcomm.jar:. -jar myApp.jar it works without errors. But when...

Go to advanced search