Welcome Guest ( Log In | Click here to Register a free account now! )
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.![]() ![]() |
May 3 2006, 05:48 PM
Post
#1
|
|
|
New Member ![]() Group: Members Posts: 2 Joined: 3-May 06 Member No.: 66,595 |
|
|
|
|
May 3 2006, 06:19 PM
Post
#2
|
|
![]() Hail Groovicus! ![]() ![]() ![]() ![]() ![]() ![]() Group: Site Admin Posts: 6,455 Joined: 5-June 04 From: Vermillion, SD Member No.: 689 |
When you create a java class, you can run it within NetBeans. There is no need to try to run it from the command prompt. First, you build your application, then you run it. If you have constructed your class properly, netbeans will run it.
QUOTE I do everything that it tells me to do Are you trying to follow a tutorial somewhere, because NetBeans has never 'told' me anything. It would also be helpful if you wrote down the exact error message so I could see what that is also.NetBeans is a bit of a bugger to learn to use. it almost has too much functionality, so much so that it is intimidating to just write and compile a simple program. I should be able to help you through most of your issues though. I have been developing on NetBeans for almost 3 years now, so I know my way around it reasonably well. -------------------- |
|
|
|
May 3 2006, 06:53 PM
Post
#3
|
|
|
New Member ![]() Group: Members Posts: 2 Joined: 3-May 06 Member No.: 66,595 |
Iam new and doing the "HelloWorldApp.java", hey thanks for the answer there you are alright so all i do is creat a program in net bean thanks
|
|
|
|
May 3 2006, 07:21 PM
Post
#4
|
|
![]() Hail Groovicus! ![]() ![]() ![]() ![]() ![]() ![]() Group: Site Admin Posts: 6,455 Joined: 5-June 04 From: Vermillion, SD Member No.: 689 |
I edited your post up there. You don't need to quote me.. I remember what was said.
All you need to do is open NetBeans. In the uper left hand corner, under File, select "New Project". When the wizard opens, name it to whatever you want (the project name means nothing). Select Web application as the type.Just click on Finish (once you have given it a name). Then, you are going to want to create a class. Since you are using someone's example, all you are going to really do is cut and paste in the code. So just below where you clicked file, there should be three tabs. Click on the file tab, then right click on your project name. Select new, then Java class. When the template opens, delete everything in the template, and paste in your "HelloWorld" code. Depending on where the code came from, you might have to make some modifications so that it is a proper class. If it doesn't compile and run properly, paste your code into a response here, and I will help you fix it so that you can run it. -------------------- |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 9th January 2009 - 04:28 PM |