learning is a choice
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
Lesley Mashaya wrote:Hi guys i've recently started on java and the books im reading have led me to download the java Sdk. my problem is after downloading the offline file. i installed but cannot seem to access the compiler or javac. i can only see the jmc and a ref docs link. i have done the path thing in control panel but i still dont understand how to open the javac. if anyone can please explain i'd be most thankful as this has given me a headache.
very new to java and coding in general but have basic knowlodge on using a computer.
Out on HF and heard nobody, but didn't call CQ? Nobody heard you either. 73 de N7GH
Les Morgan wrote:You are going to want to download an Integrated Development Environment, IDE, to use--NetBeans has been my choice since '99, there is BlueJay and others.
The IDE will facilitate you being able to program easily without having to battle everything right off the bat. You can do some coding and learn as you do. The one thing I always recommend learning ASAP is the debugger that is integrated into your IDE. You will be able to answer more of your questions with a debugger, than you will with most any other way.
Lesley Mashaya wrote:Hi guys i've recently started on java and the books im reading have led me to download the java Sdk. my problem is after downloading the offline file. i installed but cannot seem to access the compiler or javac. i can only see the jmc and a ref docs link. i have done the path thing in control panel but i still dont understand how to open the javac. if anyone can please explain i'd be most thankful as this has given me a headache.
very new to java and coding in general but have basic knowlodge on using a computer.
learning is a choice
J. Kevin Robbins wrote:You'll find some very useful information here.
You'll know you've got it when you can run "java -version" and "javac -version" from the command line and get back the correct results instead of an invalid command message. The next step is to create a HelloWorld program that you can compile and run from the command line. Use a simple text editor like Notepad++. Do NOT start using an IDE yet.
learning is a choice
salvin francis wrote:Do not use an IDE !!!
You are better off learning using a simple text editor than an IDE
learning is a choice
Lesley Mashaya wrote:hi this seems to go against all the advice i have been getting on not starting out with the IDE, not to say i dont want to try it but is there a reason you would suggest this since most of my books and forums advice againsts (my books are on Java btw) thanks
Out on HF and heard nobody, but didn't call CQ? Nobody heard you either. 73 de N7GH
Les Morgan wrote:
Lesley Mashaya wrote:hi this seems to go against all the advice i have been getting on not starting out with the IDE, not to say i dont want to try it but is there a reason you would suggest this since most of my books and forums advice againsts (my books are on Java btw) thanks
It is very simple: you need to be able to learn....
learning is a choice
Les Morgan wrote:
It is very simple: you need to be able to learn Java and how to program. Right now you are caught up into the mechanics of getting the JDK setup and you're getting frustrated doing it. Wait until you get a hold of a simple Text editor and try to get javac and the debugger to work with it, you are headed for some real frustration.
Les Morgan wrote:
The IDE will be your best friend--context sensitive help, access to the API docs, auto complete typing, integrated debugger, style templates, and etc. It is a rapid development toolkit with all the tools you need to develop. Don't get me wrong, there are things you need to learn like what a class path is, and how to use your debugger, and where your java compiler is and how to use it stand alone, what a JAR file is and to make an executable JAR, and etc. You should not get bogged down in all the manual stuff when you are learning Java, you just don't need the distraction.
Les Morgan wrote:
Save yourself a lot of frustration and get the IDE now, but also learn what is in the books about doing it manually as you have a curiosity and time to do so.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
Campbell Ritchie wrote:Windows® I use Notepad++.
Not a very good tutorial; our FAQ is better.Sonam Chawla wrote:. . . Step by Step Process --> How to Install and Run the Java Programs[/b] . . .
You do not normally use that particular environment variable. Please don't introduce such red herrings.Oluwasanmi Aderibigbe wrote:You have not setup your JAVAPATH. . . .
J. Kevin Robbins wrote:
Another contradiction. This just confuses the greenhorns. I really think that advising new programmers to jump into an IDE is very bad advice. They are for experienced coders, not beginners.
Out on HF and heard nobody, but didn't call CQ? Nobody heard you either. 73 de N7GH
hello, the link you put there really helped, explains better i suppose. thank you. now for this hello world adventure.J. Kevin Robbins wrote:You'll find some very useful information here.
You'll know you've got it when you can run "java -version" and "javac -version" from the command line and get back the correct results instead of an invalid command message. The next step is to create a HelloWorld program that you can compile and run from the command line. Use a simple text editor like Notepad++. Do NOT start using an IDE yet.
learning is a choice
Disagree. There may be several books with similar names, but I don't consider the one I have seen at all good.Jaypee Hernandez wrote:. . . download Java in 24 hours a day
That bit is mistaken. You will have to set a PATH before using an IDE anyway. It is quicker to configure a text editor and open the command line than to configure an IDE.. . . code in no time without setting up first a separate code editor, opening command line utilities, setting paths, etc, etc.
I have used BlueJ myself and the scars have just about healed now. It is good for teaching the concepts behind objects, but once you start writing whole apps, then BlueJ will get in the way. I recommend you avoid it. If you are going to use an IDE get a decent one. That means Eclipse NetBeans or IntelliJ.. . . like BlueJ is excellent for beginning programming in Java . . .
Campbell Ritchie wrote:
Disagree. There may be several books with similar names, but I don't consider the one I have seen at all good.Jaypee Hernandez wrote:. . . download Java in 24 hours a day
That bit is mistaken. You will have to set a PATH before using an IDE anyway. It is quicker to configure a text editor and open the command line than to configure an IDE.. . . code in no time without setting up first a separate code editor, opening command line utilities, setting paths, etc, etc.
I have used BlueJ myself and the scars have just about healed now. It is good for teaching the concepts behind objects, but once you start writing whole apps, then BlueJ will get in the way. I recommend you avoid it. If you are going to use an IDE get a decent one. That means Eclipse NetBeans or IntelliJ.. . . like BlueJ is excellent for beginning programming in Java . . .
Out on HF and heard nobody, but didn't call CQ? Nobody heard you either. 73 de N7GH
Campbell Ritchie wrote:You have to set the PATH first before NetBeans will work. If you want a particular convention, e.g. number of blank lines between successive methods, you may have to reconfigure NetBeans.
Out on HF and heard nobody, but didn't call CQ? Nobody heard you either. 73 de N7GH
No more Blub for me, thank you, Vicar.
Don't get me started about those stupid light bulbs. |