Problems with installation

Help
japega
2006-08-29
2013-05-09
  • japega
    japega
    2006-08-29

    I have Fedora Core 4 on a Intel PC. I have downloaded tux-guitar-0.8 but I have this error when I try to run the program:

    Exception in thread "main" java.lang.VerifyError: verification failed at PC 6 in org.herac.tuxguitar.gui.TuxGuitar:instance(()Lorg.herac.tuxguitar.gui.TuxGuitar;): String, int, or float constant expected
       at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.6.0.0)
       at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
       at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
       at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)

    I have Java Run Enviroment 1.5.0_06.

    What can I do to fix the problem?

    Thanks for your help.

    (Sorry about my english, is not my natural language).

     
    • Hi...
      well i don't speak good enclish too...(speak spanish)

      the problem here is the java virtual machine..
      you say me you have "I have Java Run Enviroment 1.5.0_06".. but if you see this line of error:
      at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.6.0.0)
      the runtime used is GCJ (libgcj.so.6.0.0)

      so.. you have installed 2 java machines.. but default is GCJ.

      Try this:
      $export JAVA_HOME=/PATH_WHERE_IS_YOUR_JAVA_HOME
      and run tuxguitar on same console.

      to run with 2 click.. you need change the defaut jvm.. or modify the launcher script to use the other.

      Bye.