Search:

Type: Posts; User: Scotty

Search: Search took 0.13 seconds.

  1. Thread: Using a class

    by Scotty
    Replies
    8
    Views
    1,334

    [SOLVED] Re: Using a class

    Solved it, was a space after my enviro var for the classpath xD
  2. Thread: Using a class

    by Scotty
    Replies
    8
    Views
    1,334

    [SOLVED] Re: Using a class

    javac E:\myjava\test.java to run:




    public class test {
    public static void main(String []args) {

    Time display = new Time();
  3. Thread: Using a class

    by Scotty
    Replies
    8
    Views
    1,334

    [SOLVED] Re: Using a class

    no, its not in a package, just a file with the main file.


    Thanks
  4. Thread: Using a class

    by Scotty
    Replies
    8
    Views
    1,334

    [SOLVED] Re: Using a class

    The space is just in the error message, not really there. I did not tell it where it was - it is in the same folder as the class with the Main method - it just says it cannot access it.

    E:\java...
  5. Thread: Using a class

    by Scotty
    Replies
    8
    Views
    1,334

    [SOLVED] Using a class

    Hiya,

    I am new to java, and have just started on classes. I am trying to do a project, however I cant find many resources on classes, and really need some help ASAP.

    I have written a class...
Results 1 to 5 of 5