Results 1 to 2 of 2
- 05-18-2010, 07:37 AM #1
Member
- Join Date
- May 2010
- Posts
- 1
- Rep Power
- 0
run a new java gui in windows XP (using eclipse SDK to create gui)
Hi,
I'm using eclipse SDK with visual editor for creating a GUI based on java.
i can run it as java application or java bean through Eclipse but i would like to run it independently on my or any other computer (on windows).
1) i know where to find the .class file.
2) i installed and checked that JVM is working on my computer (that's a must ,right ? )
3) i have tried using the CMD window to run commands like :
java -classpath <full path to the .class directory> <class name>
i keep getting an error from java claiming :
"Could not find the main class :Program will exit"
what am i doing wrong here ?
i know there is more then one way for running a java gui (is a gui the same as any java application ?) - applet (running through web browser) ,not using a browser but simply run it on the computer.
can you explain how do i run java gui's / applets ?
Thanks
Sivan
- 05-18-2010, 09:42 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,484
- Rep Power
- 16
Similar Threads
-
Eclipse debug not working on Windows Vista
By mathew.vinay in forum EclipseReplies: 5Last Post: 04-04-2009, 01:06 PM -
Unable to connect to MySQL on another (unix) host from Eclipse on my windows host
By kairamr in forum EclipseReplies: 0Last Post: 10-31-2008, 07:07 PM -
How to Create MAC application using Java on Windows platform..
By computer in forum New To JavaReplies: 4Last Post: 09-14-2008, 05:19 AM -
Create Windows, Applet & Swing
By Eric in forum AWT / SwingReplies: 1Last Post: 07-05-2007, 06:36 AM -
How To Create EJB’s In Eclipse IDE
By JavaForums in forum EclipseReplies: 0Last Post: 04-26-2007, 10:15 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks