Valhalla Legends Forums Archive | Java Programming | Problem with Netbeans

AuthorMessageTime
j0k3r
[quote author=j0k3r link=board=34;threadid=3760;start=0#msg30754 date=1069544752]
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?
[/quote]
November 23, 2003, 2:44 AM
iago
[quote author=j0k3r link=board=34;threadid=3760;start=0#msg30816 date=1069555445]
[quote author=j0k3r link=board=34;threadid=3760;start=0#msg30754 date=1069544752]
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?
[/quote]
[/quote]

You failed to mention which IDE. Also, this probably deserves it's own thread.
November 23, 2003, 2:46 AM
Orillion
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).
November 23, 2003, 2:52 AM
j0k3r
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.
November 23, 2003, 3:15 AM
iago
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.
November 23, 2003, 4:02 AM
CrAzY
Delete NetBeans... Get J++ ;-)
November 23, 2003, 5:45 AM
Stealth
Our AP Comp Sci class is using JCreator 2.50 LE while we get the school's expired CodeWarrior license worked out. Seems to work all right.
November 23, 2003, 6:58 AM
Hostile
[quote author=CrAzY link=board=34;threadid=3781;start=0#msg30847 date=1069566344]
Delete NetBeans... Get J++ ;-)
[/quote]

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++?
November 23, 2003, 7:11 AM
Hostile
[quote author=Orillion link=board=34;threadid=3781;start=0#msg30821 date=1069555979]
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).
[/quote]

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 author=j0k3r link=board=34;threadid=3781;start=0#msg30825 date=1069557331]
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.
[/quote]

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?)
November 23, 2003, 7:31 AM
Orillion
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 :)
November 23, 2003, 8:43 AM
j0k3r
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/.
November 23, 2003, 12:46 PM
j0k3r
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]
November 23, 2003, 1:42 PM
iago
[quote author=j0k3r link=board=34;threadid=3781;start=0#msg30881 date=1069594956]
[edit]New Thread Made[/edit]
[/quote]

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!
November 23, 2003, 1:49 PM
St0rm.iD
EWWW J++
November 23, 2003, 3:12 PM
K
[quote author=St0rm.iD link=board=34;threadid=3781;start=0#msg30894 date=1069600375]
EWWW J++
[/quote]

Not only that, but since Sun won the lawsuit against Microsoft for this particular product, it's not supported anymore.
November 23, 2003, 11:55 PM
Hostile
[quote author=K link=board=34;threadid=3781;start=0#msg30972 date=1069631702]
Not only that, but since Sun won the lawsuit against Microsoft for this particular product, it's not supported anymore.
[/quote]

Note: I already mentioned how it was unsupported, perhaps should read entire thread before posting.
November 24, 2003, 6:02 AM

Search