Results 1 to 5 of 5
- 10-30-2011, 04:20 AM #1
Member
- Join Date
- Oct 2011
- Posts
- 8
- Rep Power
- 0
Naming requirements and conventions ?
Hi all -- total noob here trying to get the simplest stuff to work---
I can't seem to start a Java Project from scratch on my own - even a hello world - I have been successful importing a project though (also unsuccessful importing a project ! ) I suspect is has something to do with what I am naming stuff ? Any helpful guidelines ?
On a mac using Eclipse...
Thanks !!!
- 10-30-2011, 05:00 AM #2
Member
- Join Date
- Sep 2011
- Posts
- 56
- Rep Power
- 0
Re: Naming requirements and conventions ?
I'm not sure if the problem is your code is wrong or what? But since you have eclipse, do the following.
1. On the top left, mouse over file
2. Mouse over new
3. Click 'Java Project'
4. In the text field type 'HelloWorld'
5. On the left you should see a folder icon next to Hello World
6. Double Click "Hello World"
7. Right click on src and mouse over new
8. Select Class
9.In the name field type 'HelloWorld'
In the big box in the middle, copy and paste the following
10. At the top of the program click the green button with the play symbol, to the right of the one that looks like a helicopterJava Code:public class HelloWorld { public static void main(String[] args){ System.out.println("Hello World"); } }
11. Watch your program work.
This is eclipse in windows 7, I'm assuming they're the same.Last edited by skaterboy987; 10-30-2011 at 05:03 AM.
- 10-31-2011, 02:51 AM #3
Member
- Join Date
- Oct 2011
- Posts
- 8
- Rep Power
- 0
Re: Naming requirements and conventions ?
That set me straight ! Thank you so much !!
-Josh
- 10-31-2011, 08:32 AM #4
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,406
- Blog Entries
- 7
- Rep Power
- 17
Re: Naming requirements and conventions ?
When people rob a bank they get a penalty; when banks rob people they get a bonus.
- 11-01-2011, 04:52 AM #5
Member
- Join Date
- Oct 2011
- Posts
- 8
- Rep Power
- 0
Similar Threads
-
code conventions using the PMD plugin
By nagaraaju in forum EclipseReplies: 1Last Post: 08-06-2010, 09:18 AM -
question about coding conventions
By gib65 in forum New To JavaReplies: 8Last Post: 08-05-2010, 04:24 AM -
Naming conventions
By tim in forum Forum LobbyReplies: 10Last Post: 11-16-2008, 09:27 PM -
Naming conventions
By Java Tip in forum Java TipReplies: 0Last Post: 12-03-2007, 09:53 AM -
namespace conventions from sun....
By money123 in forum New To JavaReplies: 3Last Post: 07-31-2007, 05:44 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks