daveask
asked on
Before I can write a Java program
Hi Experts,
I knew little Java a few years ago and forgot all of them now.
However, I need to write a (very simple) Java program at the moment!
Can you suggest any software for editing, compiling and running Java codes? Where to download and how to install for my WindowsXP?
Thank you in advance.
I knew little Java a few years ago and forgot all of them now.
However, I need to write a (very simple) Java program at the moment!
Can you suggest any software for editing, compiling and running Java codes? Where to download and how to install for my WindowsXP?
Thank you in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Even read this thread too
https://www.experts-exchange.com/questions/21106407/Best-Frameworks-and-tools-in-Java.html
https://www.experts-exchange.com/questions/21106407/Best-Frameworks-and-tools-in-Java.html
ASKER
Thanks a lot for your helps!
Only one file I need to dowload and can do compiling and running my Java code?
http://java.sun.com/j2se/1.4.2/download.html "J2SE v 1.4.2_06 SDK"
I am confused what I should download here:
http://www.eclipse.org/downloads/index.php
I saw a few files.....
Only one file I need to dowload and can do compiling and running my Java code?
http://java.sun.com/j2se/1.4.2/download.html "J2SE v 1.4.2_06 SDK"
I am confused what I should download here:
http://www.eclipse.org/downloads/index.php
I saw a few files.....
davesk, any all of them are mirror to the same
ASKER
sudhakar_koundinya,
So, I need to download eclipse-SDK-3.0.1-win32.zi p and J2SE v 1.4.2_06 SDK?
So, I need to download eclipse-SDK-3.0.1-win32.zi
eclipse-SDK-3.0.1-win32.zi p and JRE are enough
you can download JRE at
http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2re-1.4.2_06-oth-JPR&SiteId=JSC&TransactionId=noreg
you can download JRE at
http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2re-1.4.2_06-oth-JPR&SiteId=JSC&TransactionId=noreg
hmmm download J2SE v 1.4.2_06 SDK that is the better choice
>>So, I need to download eclipse-SDK-3.0.1-win32.zi p and J2SE v 1.4.2_06 SDK?
So, You must
>>So, I need to download eclipse-SDK-3.0.1-win32.zi
So, You must
Netbeans u can get along with J2SE
http://java.sun.com/j2se/1.4.2/download-netbeans.html
http://java.sun.com/j2se/1.4.2/download-netbeans.html
I am using Netbeans after discussed at
http:Q_21048347.html
http:Q_21048347.html
ASKER
OK, I installed J2SE v 1.4.2_06 SDK. Do I need to set something before I run my code?
I don't know which IDE you are preferring.
If you have installed Eclipse/Net Beans IDE. You don't need any further software
OK,
If youd did not installed Eclipse like IDE then write a program in Notepad
and you need to compile them at command prmpt.
Regards
Sudhakar
If you have installed Eclipse/Net Beans IDE. You don't need any further software
OK,
If youd did not installed Eclipse like IDE then write a program in Notepad
and you need to compile them at command prmpt.
Regards
Sudhakar
ASKER
sudhakar_koundinya,
Thank you.
No IDE yet! I cannot wait it and want to have a try now. Can you tell me what command I need to compile and then run a file: and what extention I shold give this file?
Thank you.
No IDE yet! I cannot wait it and want to have a try now. Can you tell me what command I need to compile and then run a file: and what extention I shold give this file?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks a lot!
I have done the 'set path' and 'set classpath', I found MyClass.class after javac, but when do java, I got
Exception in thread "main" Java.lang.NoClassDefFoundE rror: c:\...MyClass
MyClass.java is my program, do you think I did something wrong in it?
I have done the 'set path' and 'set classpath', I found MyClass.class after javac, but when do java, I got
Exception in thread "main" Java.lang.NoClassDefFoundE
MyClass.java is my program, do you think I did something wrong in it?
ASKER
OK, now it is working, I even don't know why.......
Thanks a lot for all your helps.
Thanks a lot for all your helps.
:)
http://www.eclipse.org/downloads/index.php
also Netbeans is excellent and free:
http://www.netbeans.org/