Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help getting a java app compiling  RSS feed

 
jason rivard
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi am complete newby with Java I am trying to get a app I need for to working Unfortunately it in java source code I tried compiling it Sun NetBeans IDE 5.5 I used Choose Project General : Java project with existing sources When I tried to compile I got this error message no mail class found. What am I doing wrong?

PS The source code is here.

http://www.geocities.com/rtb7/files/gp32/3d_tools.zip

Thank you for your time!
Jason Rivard


 
fred rosenberger
lowercase baba
Bartender
Posts: 12542
48
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most people here (including myself) are going to give you this advice...

if you are a "complete newby with Java", DON'T use NetBeans, or any other IDE. use Notepad to edit, and compile from a command line.

Using an IDE just adds a few more layers of complexity you don't need to be fighting with at the moment. You need to focus on learning Java, not an IDE.

So, do you know how to compile from the command line?
 
jason rivard
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
Which one do you recommend?
And where can download it?
Jason
 
Nathan Leniz
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think what he meant was don't use an IDE at all for now.

If you downloaded the JDK with NetBeans already, you shouldn't need to download anything extra. Just open your command prompt and type in java and javac and it should spit some info back out at you. If it doesn't, I think you have to edit your path varible to your C:\javainstallationfolder\bin directory.

Once you have all that and the commands are working, fire up trusty ol' notepad and type away.
[ December 07, 2006: Message edited by: Nathan Leniz ]
 
Prabhu Venkatachalam
Ranch Hand
Posts: 502
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As per my understanding about fred rosenberger suggestion is,

Don't use any IDE as because you are beginner for Java. So use note pad which comes with windows or you can use simple editors like EDIT PLUS which I used when I began learning Java.
[ December 07, 2006: Message edited by: Prabhu venkatachalam ]
 
jason rivard
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am not having any getting it to work I am getting errors when I try to get this makefile working.

Here is the make file.

JAVA_HOME=C:/applis/jdk1.4.1
all:
$(JAVA_HOME)/bin/javac -classpath ../.. ../../Export3D.java
cd ../..;$(JAVA_HOME)/bin/java -classpath . -Xmx512m Export3D



what am I doing wrong?
 
fred rosenberger
lowercase baba
Bartender
Posts: 12542
48
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it would help a lot if you could post the actual error message, verbatim, you are getting. Without it, folks here can only guess if it's a make error, a java error, an environment error, or whatever.
 
jason rivard
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to get a multifile source code compiling using the autores make file. The in directory c:\3dtools\j3d/loader/Makefile

Exception in thread "main" java.lang.NoClassDefFoundError: Makefile

what am I doing wrong?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!