completly new to Java , using a Mac and don't know how to make executables!
Hi! , Im trying to use Mac OS X panther's terminal to compile , but i don't know how to make an executable, all i know is that there is .jar , .java and .class.
Ive always programmed in c++, so i understand the code i see in .java files and supposedly you should be able to compile like this " java javafile.java" , "jar javafile.jar" but this dosen't work and a messege appears :
Exception in thread "main" java.lang.NoClassDefFoundError
and the problem is that the file does have a main function.
any info would be much appreciated and plz no Xcode suggestions
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL