Edit and run a. Java file. How to do this? [java file] [thanks in advance]

admin / June 5th, 2011/ Posted in Software / No Comments »

Q: Ok, Ive downloaded. and added lines of code as instructed. Now, when I try to execute, it will not see me, one of the main method. How do I do? I use JBuilder. .


Re:assuming there are no errors in this file, you should be able to do

javac WrapperDemo.java

then to run it

java WrapperDemo

you will need to have the Java SDK installed for this to work…


Re:maybe the word I'm looking for is how to compile this .

Re:http://faculty.cob.ohiou.edu/matta/MIS225/data/Chapter03/WrapperDemo.java

Re:can you post a link to the file? is this a sub class?

Re:i downloaded a .. when I open the file I see all the code and everything. When I try to run it, it says I'm missing the main method. Usually when I run a I need to attach a class. I don't know how to do this with a program that I did not create myself.

Re:Are you trying to figure out how to compile the file? I am a little confused to what you are saying/asking. Can you clarify what you meant by this:

Now, when I try to run it, it won't see I need a main method. How do I go about doing this?


Related posts


Tags: ,

Leave a Reply

Name required

Mail (will not be published) required

Website