[nbusers] Re: fail to run java desktop application out side IDE

  • From: Benno Markiewicz < >
  • To:
  • Subject: [nbusers] Re: fail to run java desktop application out side IDE
  • Date: Thu, 8 Nov 2012 23:16:50 +0100

Perhaps you have to set Java.library.path so that the native DLL can be loaded by the jvm. See http://javarevisited.blogspot.de/2012/03/javalangunsatisfiedlinkerror-no-dll-in.html

Greetings, markiewb

Am 08.11.2012 21:22 schrieb "Bayless Kirtley" < "> >:
Assuming you let Netbeans create the project, you will need to run it from the projects root
directory. That is, the parent of the dist directory not the dist directory itself.


-----Original Message----- From: SARAFARAJ
Sent: Thursday, November 08, 2012 8:12 AM
To: " target="_blank">
Subject: [nbusers] fail to run java desktop application out side IDE

thanks friend for replay
I am developing a java application using a serial port libray from RXTX in Netbean.
I added RXTXcomm.jar to the project library and rxtxSerial.dll to the root directory of the project.
The probelm is it works fine in Netbean, but it didn't work outside of it. When I clicked myapplication.jar, nothing happened.






-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.2742 / Virus Database: 2617/5864 - Release Date: 10/30/12
Internal Virus Database is out of date.


[nbusers] fail to run java desktop application out side IDE

SARAFARAJ 11/03/2012

[nbusers] Re: fail to run java desktop application out side IDE

Stadelmann Josef 11/05/2012

[nbusers] Re: fail to run java desktop application out side IDE

trhouse 11/05/2012

[nbusers] fail to run java desktop application out side IDE

SARAFARAJ 11/08/2012

[nbusers] Re: fail to run java desktop application out side IDE

Javier Ortiz 11/08/2012

[nbusers] Re: fail to run java desktop application out side IDE

Andreas Ernst 11/08/2012

[nbusers] Re: fail to run java desktop application out side IDE

Bayless Kirtley 11/08/2012

[nbusers] Re: fail to run java desktop application out side IDE

Benno Markiewicz 11/08/2012

[nbusers] fail to run java desktop application out side IDE

SARAFARAJ 11/12/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close