From: Carl Mosca <carljmo...@gmail.com> 
> I am not sure about the file transfer part (Samba?) but given that it's 
> small, you might copy the contents from the Output window for the build.

I e-mailed the output log to myself. Here it is, sans reasonable formatting:

-Dnb.internal.action.name=build jar
init:
Deleting: 
/home/walt/NetBeansProjects/JavaApplication1/build/built-jar.properties
deps-jar:
Updating property file: 
/home/walt/NetBeansProjects/JavaApplication1/build/built-jar.properties
Compiling 1 source file to 
/home/walt/NetBeansProjects/JavaApplication1/build/classes
compile:
Copying 1 file to /home/walt/NetBeansProjects/JavaApplication1/build
Building jar: 
/home/walt/NetBeansProjects/JavaApplication1/dist/JavaApplication1.jar
To run this application from the command line without Ant, try:
/usr/lib/jvm/java-11-openjdk-amd64/bin/java -cp 
/home/walt/NetBeansProjects/JavaApplication1/dist/JavaApplication1.jar 
javaapplication1.JavaApplication1
deploy:
jar:
BUILD SUCCESSFUL (total time: 0 seconds)

> I noticed you referenced "Applet" instead of "Application".  Can you provide 
> the steps you followed in NetBeans?

Create new project, Java, Java application, then accept all defaults. I 
wouldn't dignify a throwaway program like this as an "application"  😊
The million-line bankruptcy petition program I wrote in C++ is an 
"application", as was the 3GL called Express for which I was the lead 
programmer back in the 80's. Maybe the thing I wrote for my Android phone to 
track Boston commuter rail, or the little MFC thingy I wrote to control my 
model railroad. But "javaapplication1"? No way.

> If right click on the project and then select Properties and then Run, can 
> you browse for the main class using the Browse button?

<no main classes found>


--
Walter C. Oney, Jr., Esq.
267 Pearl Hill Rd., Fitchburg, MA 01420
Tel.: 978-343-3390
http://www.oneylaw.com




---------------------------------------------------------------------
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

Reply via email to