|
What this is
Other links
The source code
<?xml version="1.0" encoding="UTF-8"?>
<cheatsheet title="Create a Hello World application">
<intro href="/org.eclipse.platform.doc.user/reference/ref-cheatsheets.htm">
<description>
This cheat sheet shows you how to create the famous "Hello World" application and try it out. You will create a Java project and a Java class that will print "Hello world!" in the console when run.<br/>
<br/>
If you need help at any step, click the (?) to the right. Let's get started!
</description>
</intro>
<item title="Open the Java perspective" dialog="false" skip="false" href="/org.eclipse.platform.doc.user/concepts/concepts-4.htm">
<description>
If you're not already in the Java perspective, in the main menu select <b>Window > Open Perspective > Java or click on the "Click to Perform" link below.
</description>
<command serialization="org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.jdt.ui.JavaPerspective)" required="false" translate="">
</command>
</item>
<item title="Create a Java project" dialog="true" skip="false" href="/org.eclipse.jdt.doc.user/concepts/concepts-3.htm">
<description>
Before creating a class, we need a project to put it in. In the main toolbar, click on the <b>New Java Project button, or click on the link below. Enter HelloWorld for the project name, then click Finish.
</description>
<command serialization="org.eclipse.ui.newWizard(newWizardId=org.eclipse.jdt.ui.wizards.JavaProjectWizard)" required="false" translate="">
</command>
</item>
<item title="Create your HelloWorld class" dialog="true" skip="false" href="/org.eclipse.jdt.doc.user/gettingStarted/qs-9.htm">
<description>
The next step is to create a new class. In the main toolbar again, click on the <b>New Java Class button (or the link below). If not already specified, select HelloWorld/src as the source folder. Enter HelloWorld for the class name, select the checkbox to create the main() method, then click Finish.
|
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.