Help - Search - Members - Calendar
Full Version: Dos Command
BleepingComputer.com > Software > Programming
   
weg
Hi I got a windows xp system and i'm wanting to learn java programming and i been everywhere on the net looking for a place to get help! I got a editor and a java GUI its the net-bean 5.0 and i cant get past the first part! I do everything that it tells me to do and i get this saying when i try to compile it in DOS ! " Can not find the suspific location " I spelled it wrong i know ! Can anyone help me out why this is saying this!
groovicus
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.
weg
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
groovicus
I edited your post up there. You don't need to quote me.. I remember what was said. smile.gif

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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.