File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes NetBeans and jar files Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "NetBeans and jar files" Watch "NetBeans and jar files" New topic
Author

NetBeans and jar files

davidm davidm
Greenhorn

Joined: Dec 29, 2004
Posts: 2
I have an app that must be ran though the .jar file. I am able to run it at the command line.
java -jar MPMJavaInterpreter.jar 1_BasicLogin_40.xml -LF:2:javalog.txt
-SD:100 -SF:102:javasummary.txt

I have set the args in the IDE to
1_BasicLogin_40.xml -LF:2:javalog.txt
-SD:100 -SF:102:javasummary.txt

Then the app throws an error saying the correct usage is
java -jar MPMJavaInterpreter.jar 1_BasicLogin_40.xml -LF:2:javalog.txt
-SD:100 -SF:102:javasummary.txt

I change the args to
java -jar MPMJavaInterpreter.jar 1_BasicLogin_40.xml -LF:2:javalog.txt
-SD:100 -SF:102:javasummary.txt
and still get the same error

I am not sure how to set this up within the NetBeans IDE. Any suggestions would be greatly appreciated.
Thanks,
David
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26173
    
  66

"davidm davidm",
We're pleased to have you here with us in the IDEs forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

The display name must be a different first and a last name separated by a space character, and must not be obviously fictitious.

Thanks,
Jeanne
Forum Bartender


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
 
subject: NetBeans and jar files
 
Similar Threads
creating a n application from netbeans 4.1 IDE
NetBeans and jar files
what is the Ideal way to Start Stand Alone application?
struts with datasource problem
Applet error NoClassDefFoundError when run through HTML file