Results 1 to 3 of 3
Thread: Could not find main class
- 10-05-2009, 01:51 AM #1
Member
- Join Date
- Oct 2009
- Posts
- 10
- Rep Power
- 0
Could not find main class
Hi there
A friend of mine asked me to write him a program. It's pretty simple text based program and only has only one class called Party. It works fine in DOS.
I'm trying to get it to work as an .exe in Windows so he can use it. I have created my executable JAR and set up the manifest which is below:
Manifest-version: 1.0
Created-By 1.6.0_01 (Sun Microsystems Inc.)
Main-Class: Party
I'm trying to get JSmooth to make it runnable in Widows, but no matter what I do (and I've been at this for hours!) I get the message "Could not find the main class: Party. Program will exit"
Would be massively grateful for any advice.
Thnks!
-
Sounds like more of a JSmooth problem than a Java problem. Do they have a support site? If so, your best bet is to ask there. Much luck!
- 10-06-2009, 12:47 AM #3
Member
- Join Date
- Oct 2009
- Posts
- 10
- Rep Power
- 0
Similar Threads
-
Could not find the main class, program will exit.
By aryubi in forum New To JavaReplies: 39Last Post: 02-19-2010, 10:02 AM -
Could not find the main class. Program will exit.
By Carrier in forum New To JavaReplies: 1Last Post: 04-22-2009, 02:27 AM -
Cannot find Main class in Linux OS
By msskiran in forum EclipseReplies: 0Last Post: 04-10-2009, 02:04 AM -
Could not find main class - JDK 1.6
By Syranno in forum New To JavaReplies: 1Last Post: 07-25-2008, 04:07 PM -
JVM Could not find main class
By banduskank in forum Advanced JavaReplies: 2Last Post: 06-24-2008, 08:05 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks