I made just a simple hello world class and i can not seam to make eclipse run it in any way not even the console. please help thank you.
Sincerely,
ClarmonkGaming
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
I made just a simple hello world class and i can not seam to make eclipse run it in any way not even the console. please help thank you.
Sincerely,
ClarmonkGaming
Why are you using such an outdated version of java?
NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:
When asking for help, please follow these guidelines to receive better and more prompt help:
1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
2. Give full details of errors and provide us with as much information about the situation as possible.
3. Give us an example of what the output should look like when done correctly.
Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/
Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for newcomers.
Post your code and any errors you're receiving.
Long story short my teacher wants me to use it he is Weird his reasoning is so i can learn what it felt like when he learned java
I guess your teacher wants you to learn the difference between the version of java. Yes, there are changes which were made from version 4, 5, 6 and now 7. Anyways, can you please check the java properties in eclipse > windows > preferences. If you find something weird, then please let us know. Happy to help
Thanks and regards,
Sambit Swain
I was asking because I figured there could be some minimum JDK version for Eclipse, but I'm not finding any evidence to support my theory.
What happens when you "try" to run it?
NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:
When asking for help, please follow these guidelines to receive better and more prompt help:
1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
2. Give full details of errors and provide us with as much information about the situation as possible.
3. Give us an example of what the output should look like when done correctly.
Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/
Did you created a java project in eclipse and put the program under correct path. How do you run the program from eclipse? Do you right click > run as > java applicaiton?
Thanks and regards,
Sambit Swain
Sorry about late reply but i imported the java jdk and when i try to run it as a java app it says cannot find main I have school in 10 min so i can be on the forums at like 4:00 pm today thank you
Can you please right click on the project and select properties. Then check for java build path. What do you find under libraries
Thanks and regards,
Sambit Swain
this is what is under libraries
Untitled-1.jpg
when i try to run it says selection does not contain a main type how do i fix this sorry i am new
--- Update ---
this is now solved i made a new class and ticked use main Main(String [] args) sorry about the confusion and thank you for the help.
Sincerely,
ClarmonkGaming
I hope you studied the resulting "fix" and noted the changes that Eclipse made for you so that you'll know how to do it right next time.
yes i did