Release 2.1.4

Julian's Avatar

Julian

20 Feb, 2010 11:37 AM

Hi,

     I've installed the new release 2.1.4 without any issue, but when I try to start it I receive the following message: Could not create the Java Virtual Machine, and beaTunes doesn't initialize after I clicking OK button.

I have Windows 7 Professional and iTunes 9.0.3.15
Thanks in advance for your assistance.
Julián.

  1. 1 Posted by Julian on 20 Feb, 2010 11:42 AM

    Julian's Avatar

    Windows 7 is a 64 bit version.

  2. Support Staff 2 Posted by hendrik on 20 Feb, 2010 12:04 PM

    hendrik's Avatar

    Hi Julian,

    this is an odd one... does it say anything else at all?
    Do you have other Java version installed on your machine?

    Thanks,

    -hendrik

  3. 3 Posted by Julian on 20 Feb, 2010 12:12 PM

    Julian's Avatar

    Hi Hendrik,

    I have the last one version (6 - 18) build 1.6.0_18-b07. I've tried uninstalling it and then reinstalling but the issue persists.

    Thanks!
    Julián.

  4. 4 Posted by Julian on 20 Feb, 2010 12:35 PM

    Julian's Avatar

    The JM error message is the only one and I have only one Java version installed on my computer.

    Thanks!

  5. Support Staff 5 Posted by hendrik on 20 Feb, 2010 12:38 PM

    hendrik's Avatar

    Hi Julian,

    in the beaTunes installation directory (c:/Program File/tagtraum
    industries/beaTunes-2.1.4) there should be a file called
    beaTunes2.l4j.ini and perhaps a similarly called file with the
    extension template.

    Please open both file with notepad and delete the first line (-
    server). Make sure to save both files and try starting again.

    Does that solve the issue?

    -hendrik

  6. 6 Posted by Julian on 20 Feb, 2010 12:43 PM

    Julian's Avatar

    Hi Hendrik,

         No, it doesn't. Same error message.
    

    Thanks!

  7. Support Staff 7 Posted by hendrik on 20 Feb, 2010 01:15 PM

    hendrik's Avatar

    OK,

    please try to start beaTunes from the command line like this:

    cd C:\Program Files\tagtraum industries\beaTunes-2.1.4
    beaTunes2.exe --l4j-debug
    

    This should create a file called launch4j.log in the same directory. Can you please send me that file?

    Thanks,

    -hendrik

  8. 8 Posted by Julian on 20 Feb, 2010 01:18 PM

    Julian's Avatar

    Here is the log file.

  9. Support Staff 9 Posted by hendrik on 20 Feb, 2010 01:23 PM

    hendrik's Avatar

    Hm - that looks like it should launch just fine... Can you please send me a screenshot of the error message?

    -hendrik

  10. 10 Posted by Julian on 20 Feb, 2010 01:26 PM

    Julian's Avatar

    Here in the screen shot.
    Thanks!

  11. Support Staff 11 Posted by hendrik on 21 Feb, 2010 12:58 AM

    hendrik's Avatar

    Hm - I have no idea where that still comes from.

    Can you please simply uninstall beaTunes and re-install it, if you haven't tried that already?

    Thanks,

    -hendrik

  12. 12 Posted by Julian on 27 Feb, 2010 01:08 PM

    Julian's Avatar

    Hi Hendrik, I'm still experiencing the same issue. Do you have any idea?

    Thanks a lot.
    Julián.

  13. Support Staff 13 Posted by hendrik on 28 Feb, 2010 10:45 AM

    hendrik's Avatar

    Hi Julián,

    how much memory (RAM) does your machine have?
    Can you please open a command shell and enter:

    cd "C:\Program Files (x86)\tagtraum industries\beaTunes-2.1.4\jre\bin"
    java -Xms92m -Xmx768m -Xloggc:gc.log -XX:+PrintGCDetails -XX:MaxPermSize=128m -XX:MaxDirectMemorySize=512m -splash:../splash.png -DVBSCRIPT_TIMEOUT=120 com.tagtraum.beatunes.BeaTunes
    

    Do you get any message?

    Thanks,

    -hendrik

  14. 14 Posted by Julian on 28 Feb, 2010 12:50 PM

    Julian's Avatar

    Hi Hendrik,

         My machine has 12 GB of ram. And the command "java" doesn't work, but "javaw" shows the same error  box "Could not create the Java Virtual Machine".
    

    Thanks again.
    Julián.

  15. Support Staff 15 Posted by hendrik on 28 Feb, 2010 04:34 PM

    hendrik's Avatar

    Hi,

    can you please place the attached java.exe into that bin folder and run that command? I had forgotten that the jre bundled with beaTunes was stripped of that particular file.
    I really hope it leads to a meaningful error message.

    Thanks,

    -hendrik

  16. 16 Posted by Julian on 28 Feb, 2010 09:19 PM

    Julian's Avatar

    Hi Hendrik,

    I received the following message when run the sentence that you've sent me:

    C:\Program Files (x86)\tagtraum industries\beaTunes-2.1.4\jre\bin>java -Xms92m -
    Xmx768m -Xloggc:gc.log -XX:+PrintGCDetails -XX:MaxPermSize=128m -XX:MaxDirectMem
    orySize=512m -splash:../splash.png -DVBSCRIPT_TIMEOUT=120 com.tagtraum.beatunes.
    BeaTunes
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.

    Thanks.
    Julián

  17. Support Staff 17 Posted by hendrik on 28 Feb, 2010 09:21 PM

    hendrik's Avatar

    Thanks for trying that.
    What happens when you try to lower the 768 value to - say 700 or 600?

    -hendrik

  18. 18 Posted by Julian on 28 Feb, 2010 09:32 PM

    Julian's Avatar

    Thanks to you for your assistance!

    Here are the results:

    C:\Program Files (x86)\tagtraum industries\beaTunes-2.1.4\jre\bin>java -Xms92m -
    Xmx700m -Xloggc:gc.log -XX:+PrintGCDetails -XX:MaxPermSize=128m -XX:MaxDirectMem
    orySize=512m -splash:../splash.png -DVBSCRIPT_TIMEOUT=120 com.tagtraum.beatunes.
    BeaTunes
    Exception in thread "main" java.lang.NoClassDefFoundError: com/tagtraum/beatunes
    /BeaTunes Caused by: java.lang.ClassNotFoundException: com.tagtraum.beatunes.BeaTunes

        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
    

    Could not find the main class: com.tagtraum.beatunes.BeaTunes. Program will exi
    t.

    C:\Program Files (x86)\tagtraum industries\beaTunes-2.1.4\jre\bin>java -Xms92m -
    Xmx600m -Xloggc:gc.log -XX:+PrintGCDetails -XX:MaxPermSize=128m -XX:MaxDirectMem
    orySize=512m -splash:../splash.png -DVBSCRIPT_TIMEOUT=120 com.tagtraum.beatunes.
    BeaTunes
    Exception in thread "main" java.lang.NoClassDefFoundError: com/tagtraum/beatunes
    /BeaTunes Caused by: java.lang.ClassNotFoundException: com.tagtraum.beatunes.BeaTunes

        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
    

    Could not find the main class: com.tagtraum.beatunes.BeaTunes. Program will exi
    t.

    Julián.

  19. Support Staff 19 Posted by hendrik on 28 Feb, 2010 09:35 PM

    hendrik's Avatar

    Hey,

    at the beginning of this discussion I mentioned a file called beaTunes2.l4j.ini - and a file with a similar name and a template suffix. In both of them you'll find that 768 value - please change it in both of them to 650, save them and try to start beaTunes.

    Thanks,

    -hendrik

  20. 20 Posted by Julian on 01 Mar, 2010 01:07 AM

    Julian's Avatar

    Hi Hendrik,

             Now is working fine! thank you very much for all.
    

    Julián.

  21. Support Staff 21 Posted by hendrik on 01 Mar, 2010 08:51 AM

    hendrik's Avatar

    Julian,

    Great!
    Should you run into this problem again, please edit those files again and then in the beaTunes preferences, please lower the number of concurrently executed tasks (analysis prefs).

    Thanks,

    -hendrik

  22. hendrik closed this discussion on 01 Mar, 2010 08:51 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac