×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    6

    Carbide initialization error: JVM terminated

    I'm getting initialization errors when trying to start Carbide after following all the instalations instructions. (Carbide Express) What I get is this:

    JVM terminated. Exit code=1
    C:\Carbide\jre\bin\javaw.exe
    -Xms40m
    -Xmx512m
    -jar C:\Carbide\startup.jar
    -os win32
    -ws win32
    -arch x86
    -launcher C:\Carbide\eclipse.exe
    -name Eclipse
    -showsplash 600
    -exitdata 26c_48
    -vm C:\Carbide\jre\bin\javaw.exe
    -vmargs
    -Xms40m
    -Xmx521m
    -jar C:\Carbide\startup.jar

    First it happened to me in a machine were I already had SDK and Codewarrior installed, so I just installed Carbide. However, I also tried in another machine that didn't have anything installed, not even java.
    Btw, I'm using vmWare to run windows, but I don't think that has anything to do.

    I'll appreciate some reply soon.
    Regards

    Tomas
    Last edited by toplus; 2006-02-27 at 05:11.

  2. #2
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: Carbide initialization error: JVM terminated

    Hi,

    Well, virtual Windows installations have a nasty habit to cause issues. Did you check: http://discussion.forum.nokia.com/fo...ad.php?t=75059 and the link to Sun there?

  3. #3
    Registered User
    Join Date
    Feb 2006
    Posts
    6

    Re: Carbide initialization error: JVM terminated

    Yes, true about the Windows VM. I guess I don't need to say that I wouldn't be forced to use VM if there where any IDE to develop in Symbian for Linux.

    Anyway, I did try what is said in that post, as much as I could make sense of it. Unfortunately it didn't solve the problem. Also I'm not sure is about the same, as I didn't have any JRE instalation before in the second machine.
    So if anybody has some other suggestion, it would be very welcommed.

    Thank you in advance

    Tomas

  4. #4
    Nokia Developer Expert
    Join Date
    Oct 2004
    Location
    Austin, TX USA
    Posts
    271

    Re: Carbide initialization error: JVM terminated

    What version of VMWare are you using, and what OS is it emulating for you?

    Regards,

    Matt P.

  5. #5
    Registered User
    Join Date
    Feb 2006
    Posts
    6

    Re: Carbide initialization error: JVM terminated

    Hi

    My version of VmWare is 5.5.0 build-18463, emulando Windows 2000 service pack 4.
    Thanks for your time

    Tomas

  6. #6
    Registered User
    Join Date
    Jan 2005
    Posts
    4

    Re: Carbide initialization error: JVM terminated

    I have the same error also, when using the Carbide's jre.

    I solve it by creating a batch file to use j2sdk1.4.2_04/jre from Sun:

    javaw.exe -Xms40m -Xmx512m -jar C:\Carbide\startup.jar -os win32 -ws win32 -arch 86 -launcher C:\Carbide\eclipse.exe -name Eclipse -showsplash 600 -exitdata 26c_48 -vm C:\Carbide\jre\bin\javaw.exe -vmargs -Xms40m -Xmx521m -jar C:\Carbide\startup.jar

    It seem OK, it can start Eclipse with Carbide. But I don't know if it's 100% run correctly or not.

    My system is WindowsXP with j2sdk1.4.2_04 installed.

  7. #7
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    57

    Re: Carbide initialization error: JVM terminated

    Hi,

    Just want to ask if you were able to solve your problem regarding carbide initialization error. I'm also encountering that error and I cannot fix it. Hope you can share the solution with me. Btw, I installed Carbide v1.2 and java 6.0.

    Quote Originally Posted by toplus View Post
    I'm getting initialization errors when trying to start Carbide after following all the instalations instructions. (Carbide Express) What I get is this:

    JVM terminated. Exit code=1
    C:\Carbide\jre\bin\javaw.exe
    -Xms40m
    -Xmx512m
    -jar C:\Carbide\startup.jar
    -os win32
    -ws win32
    -arch x86
    -launcher C:\Carbide\eclipse.exe
    -name Eclipse
    -showsplash 600
    -exitdata 26c_48
    -vm C:\Carbide\jre\bin\javaw.exe
    -vmargs
    -Xms40m
    -Xmx521m
    -jar C:\Carbide\startup.jar

    First it happened to me in a machine were I already had SDK and Codewarrior installed, so I just installed Carbide. However, I also tried in another machine that didn't have anything installed, not even java.
    Btw, I'm using vmWare to run windows, but I don't think that has anything to do.

    I'll appreciate some reply soon.
    Regards

    Tomas

  8. #8
    Registered User
    Join Date
    Mar 2008
    Posts
    1

    Re: Carbide initialization error: JVM terminated

    Quote Originally Posted by toplus View Post
    I'm getting initialization errors when trying to start Carbide after following all the instalations instructions. (Carbide Express) What I get is this:

    JVM terminated. Exit code=1
    C:\Carbide\jre\bin\javaw.exe
    -Xms40m
    -Xmx512m
    -jar C:\Carbide\startup.jar
    -os win32
    -ws win32
    -arch x86
    -launcher C:\Carbide\eclipse.exe
    -name Eclipse
    -showsplash 600
    -exitdata 26c_48
    -vm C:\Carbide\jre\bin\javaw.exe
    -vmargs
    -Xms40m
    -Xmx521m
    -jar C:\Carbide\startup.jar

    First it happened to me in a machine were I already had SDK and Codewarrior installed, so I just installed Carbide. However, I also tried in another machine that didn't have anything installed, not even java.
    Btw, I'm using vmWare to run windows, but I don't think that has anything to do.

    I'll appreciate some reply soon.
    Regards

    Tomas
    I had a similar problem but with version 1.3 of Carbide. The solution for me was to specifically point to a jvm instead of relying on the JNI magic.

    "C:\Program Files\Nokia\Carbide.c++ v1.3\Carbide.c++.1.3.exe" -vm "c:\program files\nokia\Carbide.c++ v1.3\jre\bin\javaw.exe"

    See http://wiki.eclipse.org/index.php/Equinox_Launcher for more info.

  9. #9
    Registered User
    Join Date
    Mar 2008
    Posts
    41

    Re: Carbide initialization error: JVM terminated

    hi all,
    iam also having this error after installing the carbide v1.3
    when opening it it gives me that error:
    Code:
    JVM terminated.Exit code=-1
    -Xms40m
    -Xmx1024m
    -XX:MaxPermSize=98M
    -Djava.class.path=c:\ProgramFiles\Nokia\Carbide.c++\plugins\org.eclipse.eguinox.launcher_1.0.1.R33x_v20070828.jar
    -os win32
    -ws win32
    -arch x86
    -showsplash
    -launcher C:\ProgramFiles\Nokia\Carbide.c++ v1.3\carbide.c++.1.3.exe
    -name Carbide.c++.1.3
    --launcher.lidrary C:\Program Files\Nokia\Carbide.c++ v1.3_2\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.1.R33x_v20071019\eclips_1021.dll
    -startup C:\Program Files\Nokia\Carbide.c++ v1.3_2\plugins\org.eclipse.equinox.launcher_1.0.1R33x_v20070828.jar
    -vm C:\ProgramFiles\Nokia\Carbide.c++ v13\jre\bin\client\jvm.dll
    -vmargs
    -Xms40m
    -Xmx1024m
    -XX:MaxPermSize=96M
    -Djava.class.path=c:\ProgramFiles\Nokia\Carbide.c++\plugins\org.eclipse.eguinox.launcher_1.0.1.R33x_v20070828.jar
    i have read the previous reply put couldn't understand any thing neither from the link could any body tell me simply what to do? where do u make that and how??
    thnx in advance
    bye
    Last edited by mhmd_ward; 2008-03-26 at 02:38.

  10. #10
    Registered User
    Join Date
    Mar 2008
    Posts
    41

    Re: Carbide initialization error: JVM terminated

    hi all
    i just modified the file Carbide.c++.1.3.ini in the directory of the carbide instalation just decrease the Xmx to asmaller value that is multiple of 128

    try it
    bye

  11. #11
    Nokia Developer Expert
    Join Date
    Oct 2004
    Location
    Austin, TX USA
    Posts
    271

    Re: Carbide initialization error: JVM terminated

    Quote Originally Posted by mhmd_ward View Post
    hi all
    i just modified the file Carbide.c++.1.3.ini in the directory of the carbide instalation just decrease the Xmx to asmaller value that is multiple of 128

    try it
    bye
    Yes, that is the recommended workaround. Keep in mind that setting the -Xmx value too low might cause components like the profiler to run out of memory, though.

    Regards,

    Matt P.

Similar Threads

  1. Can't run Eclipse after installing Carbide!?!?
    By abp_dk in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 5
    Last Post: 2006-02-24, 13:12
  2. Issues with Carbide vs 2.0 installer!
    By kt10208 in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2006-01-16, 09:27
  3. Replies: 2
    Last Post: 2004-11-17, 10:20
  4. Replies: 0
    Last Post: 2003-03-14, 08:43
  5. can not successfully link any sample using .NET
    By lobotomat in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-08-20, 00:29

Posting Permissions

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