Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » run jar file
run jar file [message #1714682] Sun, 15 November 2015 18:47 Go to next message
chris tsa is currently offline chris tsaFriend
Messages: 2
Registered: November 2015
Junior Member
just created a new project and I added an external Jar that appeared under "referenced libraries" . Then I selected run as java application and selected the main method but an error appeared on the console "wrong number of arguments.0". Does anyone know what that error means and how can I bypass it?
Re: run jar file [message #1714692 is a reply to message #1714682] Mon, 16 November 2015 02:00 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
On 11/15/2015 01:33 PM, chris tsa wrote:
> just created a new project and I added an external Jar that appeared
> under "referenced libraries" . Then I selected run as java application
> and selected the main method but an error appeared on the console "wrong
> number of arguments.0". Does anyone know what that error means and how
> can I bypass it?
Does the program you are trying to run require program arguments. The
message that you included implies that it does. If so, then you need to
add the necessary arguments to the launch configuration.

You can edit Launch Configurations from the Run->Run Configurations dialog.
Previous Topic:Re: Set minimum width of a view
Next Topic:console.log and JavaScript with Eclipse luna
Goto Forum:
  


Current Time: Mon May 13 02:35:55 GMT 2024

Powered by FUDForum. Page generated in 0.11038 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top