Agreed!
It's adviseable to spend as much time in making precise questions as you
expect people spending in answering them. Otherwise you may get no answer.
This tutorial may also be of help:
https://netbeans.apache.org/kb/docs/java/javase-intro.html
Cheers,
Antonio
El 5/2/22 a las 20:36, Mark A. Flacy escribió:
Greetings,
My idea is that you should start providing useful details in your
questions to this list after you read normal java documentation. Here's
some help with the last bit:
https://docs.oracle.com/en/java/javase/17/docs/specs/man/java.html#standard-options-for-java
<https://docs.oracle.com/en/java/javase/17/docs/specs/man/java.html#standard-options-for-java>
* -jar /jarfile/
Executes a program encapsulated in a JAR file. The /jarfile/ argument is
the name of a JAR file with a manifest that contains a line in the form
Main-Class:/classname/ that defines the class with the public static
void main(String[] args) method that serves as your application's
starting point. When you use -jar, the specified JAR file is the source
of all user classes, and other class path settings are ignored.
--
Mark A. Flacy
mfl...@verizon.net
On 2022 M02 5, Sat 12:53:05 CST Amn wrote:
> In my Debian 11 machine I am trying to run the jar produced by Netbeans
> 12.6 using Java 17+ on the terminal, but it does not run correctly. The
> program just displays '>' as if waiting for an input. The program runs
> find when I run it from Netbeans though!
> The command I am using from the prompt is :
> 'java -jar "[MyDevDir]/NetbeansWorkSpace/beep/dist/beep.jar"
> Any ideas?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists