Search:

Type: Posts; User: Aceix

Search: Search took 0.08 seconds.

  1. Re: how to import/ access classes created in one package in another package

    Since ajava is the workspace directory, use:

    import p1.*; //to import both c1 and c2, or
    import p1.c1;
    import p1.c2;

    Aceix.
  2. Replies
    2
    Views
    1,395

    Re: JVM failed to initialize

    Yeah thanks. I used BufferredReader with the InputBufferReader class, enveloping the System.in standard input stream, since I was having some trouble with the Scanner.next(); funtcion.

    Aceix.
  3. Replies
    2
    Views
    1,395

    JVM failed to initialize

    What's up with this. Just trying to test my hands on java packages, and had this error(by java) after successful compilation:

    Error occurred during initialization of VM
    java.lang.Error:...
Results 1 to 3 of 3