Valhalla Legends Archive

Programming => General Programming => Java Programming => Topic started by: j0k3r on November 22, 2003, 08:44 PM

Title: Problem with Netbeans
Post by: j0k3r on November 22, 2003, 08:44 PM
Quote from: j0k3r on November 22, 2003, 05:45 PM
Actually there is something you can help me with if you are familiar with it.

I created a new file, and it won't let me compile the code I wrote for some reason, and I don't think I understand how the programs are supposed to be put together, or 'something'. I see 'create project' and 'link files' and stuff like that all the time, is there something I should know about Java?
Title: Re:Java Developer Kit?
Post by: iago on November 22, 2003, 08:46 PM
Quote from: j0k3r on November 22, 2003, 08:44 PM
Quote from: j0k3r on November 22, 2003, 05:45 PM
Actually there is something you can help me with if you are familiar with it.

I created a new file, and it won't let me compile the code I wrote for some reason, and I don't think I understand how the programs are supposed to be put together, or 'something'. I see 'create project' and 'link files' and stuff like that all the time, is there something I should know about Java?

You failed to mention which IDE. Also, this probably deserves it's own thread.
Title: Re:Problem with ?IDE
Post by: Orillion on November 22, 2003, 08:52 PM
Give us a run down of what your trying to compile, with what IDE your using and what Operating System this is on(I'm assuming we are probably dealing with Windows though).
Title: Re:Problem with ?IDE
Post by: j0k3r on November 22, 2003, 09:15 PM
I'm runnning Netbeans IDE, on Windows XP Home. I was following through the examples and lessons on java.sun.com and copied some code, and the compile/run button was disabled.
Title: Re:Problem with ?IDE
Post by: iago on November 22, 2003, 10:02 PM
I usually create a new file, or open a .java file, press either F9 to compile or F6 to run.. and so far it's worked.
Title: Re:Problem with Netbeans
Post by: CrAzY on November 22, 2003, 11:45 PM
Delete NetBeans... Get J++ ;-)
Title: Re:Problem with Netbeans
Post by: Stealth on November 23, 2003, 12:58 AM
Our AP Comp Sci class is using JCreator 2.50 LE (http://jcreator.com) while we get the school's expired CodeWarrior license worked out. Seems to work all right.
Title: Re:Problem with Netbeans
Post by: Hostile on November 23, 2003, 01:11 AM
Quote from: CrAzY on November 22, 2003, 11:45 PM
Delete NetBeans... Get J++ ;-)

Eww, I said I would tolerate with microsofts ewwy enough JScript and J# but J++ is totally unwelcomed! Besides, You should know if you're going to post something like this you better start giving us reasons. Why exactly whould we want some short-lived highly unsupported and terribly ported language like J++?
Title: Re:Problem with ?IDE
Post by: Hostile on November 23, 2003, 01:31 AM
Quote from: Orillion on November 22, 2003, 08:52 PM
Give us a run down of what your trying to compile, with what IDE your using and what Operating System this is on(I'm assuming we are probably dealing with Windows though).

Actually the Operating System is unnecessary, the java spec or ide version would have been more helpful but due to the fact I just told him about this IDE. I'll go out on a limb here and say that its the latest version 3.5.1 on j2se 1.4.2. hehe :P


Quote from: j0k3r on November 22, 2003, 09:15 PM
I'm runnning Netbeans IDE, on Windows XP Home. I was following through the examples and lessons on java.sun.com and copied some code, and the compile/run button was disabled.

Well your first unrelated problem is using Windows XP Home, Pro is bad enough as it is but atleasts its tolerable. Secondly, you're gonna have to post the exact code you copied here or the modified version (if modified) that youre trying to compile here, also perhaps what type of file you're trying to make. (When you went to make a new project, what template did you choose?)
Title: Re:Problem with Netbeans
Post by: Orillion on November 23, 2003, 02:43 AM
Actually his Operating System is an important piece of information because if it involves the CLASSPATH at all, the process of changing the CLASSPATH on windows is much different to that on linux and Macs :)
Title: Re:Problem with Netbeans
Post by: j0k3r on November 23, 2003, 06:46 AM
SONOFA.
I hate the back button.

Jcreator looks pretty nice I'll look into that, colours always help us noobs when writing code.

I was using NetBeans IDE 3.5.1, and I chose to use notepad template because it looked like... notepad, which is where I do all my webpage developing and what little PHP coding I do.

I can't find the code I was using, but it was one of the first few lessons from http://java.sun.com/docs/books/tutorial/java/.
Title: Re:Problem with Netbeans
Post by: j0k3r on November 23, 2003, 07:42 AM
Wow so many new topics...

iago give me some sort of a condition to post a new thread, cause it seems it's always my fault :P

[edit]New Thread Made[/edit]
Title: Re:Problem with Netbeans
Post by: iago on November 23, 2003, 07:49 AM
Quote from: j0k3r on November 23, 2003, 07:42 AM
[edit]New Thread Made[/edit]

Good! Adron made this forum for me and Hostile with the promise that it would be active (*points to Assembly forum*).  But don't waste all your questions in the first week!
Title: Re:Problem with Netbeans
Post by: Banana fanna fo fanna on November 23, 2003, 09:12 AM
EWWW J++
Title: Re:Problem with Netbeans
Post by: K on November 23, 2003, 05:55 PM
Quote from: St0rm.iD on November 23, 2003, 09:12 AM
EWWW J++

Not only that, but since Sun won the lawsuit against Microsoft for this particular product, it's not supported anymore.
Title: Re:Problem with Netbeans
Post by: Hostile on November 24, 2003, 12:02 AM
Quote from: K on November 23, 2003, 05:55 PM
Not only that, but since Sun won the lawsuit against Microsoft for this particular product, it's not supported anymore.

Note: I already mentioned how it was unsupported, perhaps should read entire thread before posting.