JCreator Configuration and usage

Source: Internet
Author: User


for a Web project, the standard catalog
 (css), which is relative to several comparisons, is used to store the style files used in the Web project. The
 (images) is used to store decorative pictures used in Web projects. The
 (web-inf) is used to represent a project that is a JSP type and complies with the Java standard.
 (inc) or (include) is used to hold the public part of the project, which is typically invoked on the page using the <include> tag. The
 (web-inf/lib) contains the jar packages that the entire Web project needs to invoke, and the jar files are loaded when the Web middleware is started.
 (web-inf/classes) contains some of the required JavaBean we wrote ourselves;
  Other folders are named according to the corresponding modules of their project. The
 
Jcreactor Writing program
JCreator is a gadget software that we use to write Java source programs and compile them.
When we install JCreator, the JCreator will automatically find the installed JDK, and if the JDK is not installed, then JCreator is useless.
If you first install JCreator, then configure the appropriate options for JCreator after you have installed the JDK. The method is as follows:
in the JCreator menu bar: There is (configure) select it, and then select (options), you can see the following interface:

Here, assuming that the JDK is installed later, select
(JDK Profiles)->(new) Choose a directory of installed JDK for example (c:/j2sdk1.4.2)

That's it.
Configure additional jar packages that are required
Like the top 3, open to the last step. Click (edit)

Here's a JDBC driver that you want to load SQL Server, so you have to select the three jar packages:


Add it to it.
Write your own program.
Write your own Java program, first is the name of the program, if your program named Hellotheworld.java then your class should also be named: Hellotheworld;
Public Class Hellotheworld
.......
This is defined, otherwise the program is not functioning properly.

You can load the main method in such a way that the main method can have only one in a class.

Right-click on the class name above, and then pop up the screen, select (add member METHOD)

Put the (insert Main METHOD) in front of the check, click on the (ok), will help you automatically write the following code.


To solve their own problems to decompose, the problem can be tested to achieve the effect.
I wish you well.

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.