Problema ao compilar aplicação que utiliza api rxtxcomm JAVA
Fiz uma aplicação com a api rxtxcomm para me retorna as portas seriais disponíveis no meu computador para conectar um leitor de código de barras. No windows a aplicação funciona perfeitamente, mas quando vou testar no ubuntu ela me retorna o seguinte erro:
Java HotSpot(TM) Server VM warning: You have loaded library /usr/lib/librxtxSerial.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Alguém já enfrento esse problema ou sabe como resolver?
versao do jdk 1.7 e ide Netbeans 8.0.2
Java HotSpot(TM) Server VM warning: You have loaded library /usr/lib/librxtxSerial.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Alguém já enfrento esse problema ou sabe como resolver?
versao do jdk 1.7 e ide Netbeans 8.0.2
Imperium Tecnologia
Curtidas 0
Respostas
Imperium Tecnologia
17/09/2015
Já consegui resolver é só executar o programa como root ou colocar permissão para o mesmo acessar as portas
GOSTEI 0