Results 1 to 13 of 13

It reads " unable to locate the application's 'main' class. The class 'net.rim.plazmic.app.svgcompiler.Main' must be ... Software & Theme Development forum

  1. #1
    GotPearl?'s Avatar
    GotPearl? no está en línea Stack level 5
    Join Date
    Dec 2006
    Posts
    1,168

    Error on Vista while exporting a theme

    Advertisement



    It reads " unable to locate the application's 'main' class. The class 'net.rim.plazmic.app.svgcompiler.Main' must be public and has a ' Public static void main (string) 'method. (LAX)

    Then I hit detail and this is what I got

    "java.lang.ClassNotFoundException: net.rim.plazmic.app.svgcompiler.Main
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at com.zerog.lax.LAX.launch(DashoA8113)
    at com.zerog.lax.LAX.main(DashoA8113)"

    Any help on this would be greatly appreciated and I know this will probably be moved to another forum but this is a good starting point I guess

  2. #2
    amosrock's Avatar
    amosrock no está en línea Stack level 2
    Join Date
    May 2007
    Posts
    47

    Re: Error on Vista while exporting a theme

    i'm getting the same error...i haven't tried reinstalling but that could make sense....because when i installed it i did it directly from the java site and i installed JDK 5.0....the link on the walk through is for 6.0...so maybe thats where the error is coming in...i'll give it a try tonight or tomorrow and see

  3. #3
    amosrock's Avatar
    amosrock no está en línea Stack level 2
    Join Date
    May 2007
    Posts
    47

    Re: Error on Vista while exporting a theme

    reinstalled with JDK 6 and still getting same error...help?

  4. #4
    jhayman's Avatar
    jhayman no está en línea Stack level 2
    Join Date
    Oct 2006
    Posts
    29

    Re: Error on Vista while exporting a theme

    Quote Originally Posted by GotPearl?
    It reads " unable to locate the application's 'main' class. The class 'net.rim.plazmic.app.svgcompiler.Main' must be public and has a ' Public static void main (string) 'method. (LAX)

    Then I hit detail and this is what I got

    "java.lang.ClassNotFoundException: net.rim.plazmic.app.svgcompiler.Main
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at com.zerog.lax.LAX.launch(DashoA8113)
    at com.zerog.lax.LAX.main(DashoA8113)"

    Any help on this would be greatly appreciated and I know this will probably be moved to another forum but this is a good starting point I guess
    This appears to be a configuration problem. Perhaps a file is missing, or it has been corrupted.

    1) Open a Windows command line prompt ("Run"->"cmd").
    2) Change to the directory where you installed CDK (cd "C:\Program Files\Plazmic CDK 4.2\")
    3) Change to the "bin" directory. (cd bin)
    4) Now type "svgc -version"

    Do you get the same output as before, or something different?

  5. #5
    amosrock's Avatar
    amosrock no está en línea Stack level 2
    Join Date
    May 2007
    Posts
    47

    Re: Error on Vista while exporting a theme

    same output

  6. #6
    jhayman's Avatar
    jhayman no está en línea Stack level 2
    Join Date
    Oct 2006
    Posts
    29

    Re: Error on Vista while exporting a theme

    What files are in the "lib" directory?

  7. #7
    amosrock's Avatar
    amosrock no está en línea Stack level 2
    Join Date
    May 2007
    Posts
    47

    Re: Error on Vista while exporting a theme

    dispatcher
    svgc
    swftosvg
    tbbundle
    xercesimpl
    xml-apis

  8. #8
    jhayman's Avatar
    jhayman no está en línea Stack level 2
    Join Date
    Oct 2006
    Posts
    29

    Re: Error on Vista while exporting a theme

    What happens if you type:
    java -jar svgc.jar -version
    from a Windows command prompt in the "lib" directory

  9. #9
    amosrock's Avatar
    amosrock no está en línea Stack level 2
    Join Date
    May 2007
    Posts
    47

    Re: Error on Vista while exporting a theme

    it pops up a little window and then closes immediately.

  10. #10
    jhayman's Avatar
    jhayman no está en línea Stack level 2
    Join Date
    Oct 2006
    Posts
    29

    Re: Error on Vista while exporting a theme

    Pops up a window that closes immediately? Really? It looks like there is something wrong with your CDK installation. I recommend removing it, and installing again.

    You don't need to reinstall any of the other components (JDE, JDK, MDS Simulator, etc.), just the CDK part.

  11. #11
    amosrock's Avatar
    amosrock no está en línea Stack level 2
    Join Date
    May 2007
    Posts
    47

    Re: Error on Vista while exporting a theme

    see now that creates a whole new issue...i guess i should've asked this before...see i never actually installed plazmic CDK...once i downloaded everything i just opened it from one of the files...it worked...it just wont export...i still can't install the actual program that i downloaded from the plazmic site...it just says "this platform is not supported"

  12. #12
    jhayman's Avatar
    jhayman no está en línea Stack level 2
    Join Date
    Oct 2006
    Posts
    29

    Re: Error on Vista while exporting a theme

    Ok, then check the svgc.jar file to make sure you copied the right one.

    Or you could wait a few weeks. There are rumors are that a new CDK will be out in a few weeks. One hopes that it supports Windows Vista.

  13. #13
    amosrock's Avatar
    amosrock no está en línea Stack level 2
    Join Date
    May 2007
    Posts
    47

    Re: Error on Vista while exporting a theme

    hmmm...i'll check the svgc.jar file to see if i can make it work...if not i'll just wait a few weeks...thanks jhayman

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •