Announcement

Collapse
No announcement yet.

[Solved] Java / Opensource Program (StorYbook) crashes before loading...

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Solved] Java / Opensource Program (StorYbook) crashes before loading...

    Hi, people. I downloaded an app that is supposed to help writers to organize the contents of their stories by dividing / showing everything according to the current character, scenario, storyline, etc. I guess this might be useful for other people, too. You can download it from here:

    http://storybook.intertec.ch

    There are a Linux and a Windows version.

    I wondered if there is a minimal possibility that some else ever got a Java error message like the following one...

    Code:
    $ ./storybook.sh
    starting ...                         
    java.lang.Error: cannot happen                
     at java.lang.VMThrowable.fillInStackTrace (VMThrowable.java:native)
     at java.lang.VMThrowable.fillInStackTrace (VMThrowable.java:79)
     at java.lang.Throwable.fillInStackTrace (Throwable.java:498)
     at java.lang.Throwable.<init> (Throwable.java:159)
     at java.lang.Error.<init> (Error.java:81)
     at java.lang.reflect.Method.invoke (Method.java:517)
     at org.kaffe.jar.ExecJarName.main (ExecJarName.java:64)
     at org.kaffe.jar.ExecJar.main (ExecJar.java:57)
    done.
    I just need to type ./storybook.sh in order to run this app, and the first version I downloaded was quite good, no bugs, no crashes, but since I updated my Java version (one that included the -0ubuntu1 or something like that as a suffix) it just crashes and never opens... Before I updated Java (a version number with no ubuntu suffix) this never ever happened at all...
    Multibooting: Kubuntu Noble 24.04
    Before: Jammy 22.04, Focal 20.04, Precise 12.04 Xenial 16.04 and Bionic 18.04
    Win XP, 7 & 10 sadly
    Using Linux since June, 2008

    #2
    Re: Java / Opensource Program (StorYbook) crashes before loading...

    hi.

    this app requires java6 in order to run.
    it's stated in the requirements on their web site.

    i dowloaded and test started the application.
    no issues with sun java 6 or open jdk 6.
    it doesn't start with sun java 5 (as expected).

    please, open a konsole a post the result of:
    Code:
    update-java-alternatives -l
    cheers.

    ps:
    i usually only keep sun java5, sun java6 and open jdk.
    and get rid of all the rest.
    gnu/linux is not windoze

    Comment


      #3
      Re: Java / Opensource Program (StorYbook) crashes before loading...

      Well, it's just as I said, I have this version...

      Code:
      java-6-sun 63 /usr/lib/jvm/java-6-sun
      So if the program is supposed to run under java 6, what's the real problem here? Is the program a rebel without a cause? He he he he.
      Multibooting: Kubuntu Noble 24.04
      Before: Jammy 22.04, Focal 20.04, Precise 12.04 Xenial 16.04 and Bionic 18.04
      Win XP, 7 & 10 sadly
      Using Linux since June, 2008

      Comment


        #4
        Re: Java / Opensource Program (StorYbook) crashes before loading...

        your app runs no problems here.
        so it's something in your environment.
        if the following does not work
        Code:
        sudo update-java-alternatives -s java-6-sun
        ./storybook.sh
        then i don't know.
        hth
        gnu/linux is not windoze

        Comment


          #5
          Re: Java / Opensource Program (StorYbook) crashes before loading...

          Well, this is the output I got from konsole. I hope someone may give some advice on this.

          Code:
          sudo update-java-alternatives -s java-6-sun                             
          No alternatives for appletviewer.                                             
          No alternatives for apt.                                                  
          No alternatives for extcheck.                                               
          No alternatives for firefox-javaplugin.so.                                         
          No alternatives for HtmlConverter.                                             
          No alternatives for iceape-javaplugin.so.                                         
          No alternatives for iceweasel-javaplugin.so.                                        
          No alternatives for idlj.                                                 
          No alternatives for jarsigner.                                               
          No alternatives for java-rmi.cgi.                                             
          No alternatives for jconsole.                                               
          No alternatives for jdb.                                                  
          No alternatives for jhat.                                                 
          No alternatives for jinfo.                                                 
          No alternatives for jmap.                                                 
          No alternatives for jps.                                                  
          No alternatives for jrunscript.                                              
          No alternatives for jsadebugd.                                               
          No alternatives for jstack.                                                
          No alternatives for jstat.                                                 
          No alternatives for jstatd.                                                
          No alternatives for midbrowser-javaplugin.so.                                       
          No alternatives for mozilla-javaplugin.so.                                         
          No alternatives for schemagen.                                               
          No alternatives for wsgen.                                                 
          No alternatives for wsimport.                                               
          No alternatives for xjc.                                                  
          No alternatives for xulrunner-1.9-javaplugin.so.                                      
          No alternatives for xulrunner-javaplugin.so.                                        
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/appletviewer             
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/apt                 
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/extcheck               
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/HtmlConverter            
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/idlj                 
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/jarsigner              
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/jar                 
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/javac                
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/javadoc               
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/javah                
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/javap                
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/java-rmi.cgi             
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/jconsole               
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/jdb                 
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/jhat                 
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/jinfo                
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/jmap                 
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/jps                 
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/jrunscript              
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/jsadebugd              
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/jstack
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/jstatd
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/jstat
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/native2ascii
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/rmic
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/schemagen
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/serialver
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/wsgen
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/wsimport
          update-java-alternatives: jdk alternative does not exist: /usr/lib/jvm/java-6-sun/bin/xjc
          Using '/usr/lib/jvm/java-6-sun/jre/bin/ControlPanel' to provide 'ControlPanel'.
          Using '/usr/lib/jvm/java-6-sun/jre/bin/java' to provide 'java'.
          Using '/usr/lib/jvm/java-6-sun/jre/bin/java_vm' to provide 'java_vm'.
          Using '/usr/lib/jvm/java-6-sun/jre/bin/javaws' to provide 'javaws'.
          Using '/usr/lib/jvm/java-6-sun/jre/bin/jcontrol' to provide 'jcontrol'.
          Using '/usr/lib/jvm/java-6-sun/jre/lib/jexec' to provide 'jexec'.
          Using '/usr/lib/jvm/java-6-sun/jre/bin/keytool' to provide 'keytool'.
          Using '/usr/lib/jvm/java-6-sun/jre/bin/orbd' to provide 'orbd'.
          Using '/usr/lib/jvm/java-6-sun/jre/bin/pack200' to provide 'pack200'.
          Using '/usr/lib/jvm/java-6-sun/jre/bin/policytool' to provide 'policytool'.
          Using '/usr/lib/jvm/java-6-sun/jre/bin/rmid' to provide 'rmid'.
          Using '/usr/lib/jvm/java-6-sun/jre/bin/rmiregistry' to provide 'rmiregistry'.
          Using '/usr/lib/jvm/java-6-sun/jre/bin/servertool' to provide 'servertool'.
          Using '/usr/lib/jvm/java-6-sun/jre/bin/tnameserv' to provide 'tnameserv'.
          Using '/usr/lib/jvm/java-6-sun/jre/bin/unpack200' to provide 'unpack200'.
          No alternatives for firefox-javaplugin.so.
          No alternatives for iceape-javaplugin.so.
          No alternatives for iceweasel-javaplugin.so.
          No alternatives for midbrowser-javaplugin.so.
          No alternatives for mozilla-javaplugin.so.
          No alternatives for xulrunner-1.9-javaplugin.so.
          No alternatives for xulrunner-javaplugin.so.
          Multibooting: Kubuntu Noble 24.04
          Before: Jammy 22.04, Focal 20.04, Precise 12.04 Xenial 16.04 and Bionic 18.04
          Win XP, 7 & 10 sadly
          Using Linux since June, 2008

          Comment


            #6
            Re: [Solved] Java / Opensource Program (StorYbook) crashes before loading...

            Well, I installed the OpenJDK Java 6 I found in Adept and now it runs the application mentioned on my first post. Thanks for your assistance.
            Multibooting: Kubuntu Noble 24.04
            Before: Jammy 22.04, Focal 20.04, Precise 12.04 Xenial 16.04 and Bionic 18.04
            Win XP, 7 & 10 sadly
            Using Linux since June, 2008

            Comment


              #7
              Re: [Solved] Java / Opensource Program (StorYbook) crashes before loading...

              good
              as long as it...just works
              take care
              cheers
              gnu/linux is not windoze

              Comment

              Working...
              X