Skip to main content



      Home
Home » Newcomers » Newcomers » run jar file
run jar file [message #1714682] Sun, 15 November 2015 13:47 Go to next message
Eclipse UserFriend
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] Sun, 15 November 2015 21:00 Go to previous message
Eclipse UserFriend
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: Sun Apr 20 03:57:13 EDT 2025

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

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

Back to the top