|
-
Jul 13th, 2005, 04:53 PM
#1
Running Java App Issue
I needed to make a basic timer at work that needed to be used on Windows and OS X machines so I thought Java would be my best bet. Now I have experience in C++ and C# but absolutely non in Java.
I downloaded and installed NetBeans IDE 4.1 and the 1.5.0 Java Runtime Environment. I created the program and it seems to work good. It created a .Jar file.
When I try running it on any other system other than my own, it gives me an error saying it was unable to find the main class but I have it specified in my project.
I even uninstalled everything on my computer, reinstalled NetBeans IDE with 1.4.2 instead (thought maybe the previous version was too new or something) with the same error.
How do I fix this? I've never used Java before and I just kind of went with it. What did I do wrong?
It's a swing application, btw and the JForm is the main class (I tried creating a main class just by itself but it wouldn't let me select it as the main class).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|