Self-creating]jcreator installation learning and using method

Source: Internet
Author: User
Tags final net string variable
Self-creating]jcreator installation learning methods first go to http://www.onlinedown.net/soft/11536.htm download Java 2 SDK Standard Edition 1.4.2 then to http:// www.onlinedown.net/soft/15163.htm Download JCreator Pro 3.50.010 install Java 2 SDK Standard Edition 1.4.2 Configure environment variable (mainly in XP): Right-click My Computer-& gt; Advanced-> environment variable, in the system variable inside the editor of 3 variables: First, click New, variable name java_home, variable value for your installation path, such as I installed in C:\j2sdk1.4.2_05 this folder, then the variable value is C:\ J2sdk1.4.2_05. Second, click New, variable name is classpath, variable value is C:\j2sdk1.4.2_05\lib\dt.jar; C:\j2sdk1.4.2_05\bin; C:\j2sdk1.4.2_05\lib\tools.jar;.; (Note my installation path is C:\j2sdk1.4.2_05, according to your own to fill out, go to the folder to find the absolute path, the last red dot is necessary). Third, click New, the variable name is path, the variable value is C:\j2sdk1.4.2_05\bin, finally click OK complete. (If you still do not understand, please go online to check, the book is also introduced) install JCreator Pro 3.50.010, there is no configuration, all is next, finally completed. If the Java 2 SDK Standard Edition 1.4.2 environment variable is configured correctly, JCreator Pro 3.50.010 automatically detects its path and registers the following: Username:p145460-brian Luke
KEY:00HE3T-MX6F41-7E9CFN-68745A-RD1PAJ-0GKKPP-YYJVDR-CXJXHG-6GFXX8 (I am not registered, but not at all, can also be used) How to: A Java program must have a project to load it, then it starts to apply. First open JCreator, then click on the File option in the menu bar New->project...->empty Project (then click Next)->name fill MyProject (then click Next to the final finish , then in the main form on the left side of the FileView view bar appears just newly created MyProject, right click Myproject->add->new Class ... ->name fill in the MyClass and then select public and generate Main method two options->next to the final finish (a bit verbose). The main code frame appears, as follows: public class MyClass {

/**
* Method Main
*
*
* @param args
*
*/
public static void Main (string[] args) {
Todo:add Your code here
}
Finally rewrite the above code to the following code: Class j{
int i = 0;
J (int i) {
THIS.I = i;
}
int Displayi () {
return i;
}
}
public class myclass{

/**
* Method Main
*
*
* @param args
*
*/
public static void Main (string[] args) {
J J = new J (9);
SYSTEM.OUT.PRINTLN ("result =" + J.displayi ());
Todo:add Your code here
}
}                                                                                                                                                                                &nBsp First press F7 to compile, and then press F5 to run, results: result = 9 end of a installation, configuration, write code, run is completed. I have a limited level, if there are problems in the text please friends to correct the replies, thank you! I wish demon! can have a certain understanding on the Java Road.

Related Article

Alibaba Cloud 10 Year Anniversary

With You, We are Shaping a Digital World, 2009-2019

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.