| Author |
Message |
Kyle

|
Posted: Wed Jun 29, 2005 10:11 pm Post subject: (No subject) |
|
|
hmm buy comand lines do you mean the command promt..
so it will look like
C:> javac hello world.java
if so when i open comand prompt it says c:/Documents and Settings/Owner>
and the file is on the desktop to so it would be c:/Documents and Settings/Owner>Desktop/javac hello world.java ?? or is there another whay to open this?. |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
wtd
|
Posted: Wed Jun 29, 2005 11:33 pm Post subject: (No subject) |
|
|
| You'll need to setup the Path environment variable. so you can access java and javac from anywhere. Right now my brain is so dead, that I'll leave it up to someone like rizzix, though. |
|
|
|
|
 |
[Gandalf]

|
Posted: Thu Jun 30, 2005 1:34 am Post subject: (No subject) |
|
|
Oh, oh, I know how to do this now. If you are using Windows XP for sure, if something else then maybe. This is what you need to do to change the PATH.
1. Right click on My Computer from the desktop.
2. Select properties.
3. Go to advanced.
4. Click environmental variables.
5. Under system variables select Path
6. Click edit.
7. Add ; and then where you installed Java to. Like if it was C:/Program Files/Java then you would add ;C/Program Files/Java to the end of what is already there. Do not delete what is already there.
A pretty simple Java editor, and I think it comes with a compiler and everything is Crimson Editor. Not sure if its free, you might want to look into it. |
|
|
|
|
 |
Aziz

|
Posted: Thu Jun 30, 2005 9:33 am Post subject: (No subject) |
|
|
I good one (the one I use) is JCreator...it's pretty nice, and small file too. Google it up, it's free.
Oh and I might be out of my mind, but did you click the "compile" button before you clicked "run"? |
|
|
|
|
 |
Kyle

|
|
|
|
 |
rizzix
|
Posted: Thu Jun 30, 2005 7:17 pm Post subject: (No subject) |
|
|
yes.. as i suggested... it's a netbeans project settings issue..
nevertheless wtd and I have been driving the point that all beginners should start out with the command line. not only because it is easier to use for the beginners and that it lacks all the unnecessary complications of some IDE's.. but also, it is infact a necessary requirement to be fimiliar with the basic command line tools for any java programmers (actually any developer of any sort)... seriously if you didn't know how to compile a simple .java files using the standard tools.. well lets just say i'd consider you worse than a noob hehe .. so yea.. just... try and get ur self fimiliar with them..  |
|
|
|
|
 |
Kyle

|
Posted: Thu Jun 30, 2005 9:56 pm Post subject: (No subject) |
|
|
ok.....
ps im far from a noob.  |
|
|
|
|
 |
Aziz

|
Posted: Fri Jul 01, 2005 12:03 am Post subject: (No subject) |
|
|
*noob* I've tried it, about a year ago, then had NetBeans, then got into school so java go byebye. Now I use Jcreator, though I'm sure I could, given about an hour, get the hang of command-line |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Spartan_117

|
Posted: Fri Jul 08, 2005 12:33 pm Post subject: (No subject) |
|
|
| this is probably real stupid, or i just missed something , but wut do u guys mean by Command Line? |
|
|
|
|
 |
[Gandalf]

|
Posted: Fri Jul 08, 2005 1:38 pm Post subject: (No subject) |
|
|
Ever heard of DOS? It's what you get when you go to "command prompt" in the start menu - the black screen outputting the current directory. You can do a heck of a lot on it if you know how to use it. "a heck of a lot" includes compiling and executing programs for most languages.
*stupid windows brainwashing people...* |
|
|
|
|
 |
Spartan_117

|
Posted: Sat Jul 09, 2005 9:19 am Post subject: (No subject) |
|
|
| thats wut ur talking about??? lol well i kno wut the Windows Command Line is, but how do u Run Java Programs on it? |
|
|
|
|
 |
Aziz

|
|
|
|
 |
|