Java Virtual Machine Tutorials

Hey Everyone,
Does anybody know where a good tutorial on the workings of the Java Virtual Machine can be found? I am particularly looking for information on how class loading takes place. Ideally I am looking for a tutorial that isn't to specifications orientated, something that is quite wordy and very descriptive.
If anybody can point me in the right direction I will be greatly appreciative.
Regards
David

Check this out, free online chapters of Bill Venners' Inside the Java Virtual Machine: http://www.artima.com/insidejvm/ed2/index.html Excellent book IMO.
You might also find this useful, a comparison of three JVM books: http://www.javaworld.com/jw-03-1998/jw-03-bookreview.html The one thing to note is that this comparison is rather old, and may not be entirely applicable to all the books today. Don't forget to read through the official JVM specification too, available online.
Tons of neat stuff about JVM internals can also be found at JavaWorld: http://www.javaworld.com/channel_content/jw-jvm-index.shtml

Similar Messages

  • I have updated my iTunes to the newest version, 10-25 on a windows XP system. Now my java virtual machine is not working and I need it to run applet window. My Java is also newest version. What can I do to fix/repair my issue?

    I need help with java on windowsXP after updating iTunes to the latest version. My java will not work and I get error message need java virtual machine to run applet window. Did not have this problem prior to the iTunes update.
    Please help, Thanks

    If your library was working on your computer and then popped up empty all of a sudden then this might be what you need...
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

  • Could not find a valid Java virtual machine to load

    On a fresh copy of CFMX8, when I run updater 7, it responds
    'Could not find a valid Java virtual machine to load'.
    This is being installed on a Win2K3 server and this is on a
    'freshly minted' POC box solely for the purpose of
    installing/testing CFMX8 to determine how it compares to our
    CFMX6.1 environment.
    You will notice that it is NOT being installed in the default
    directory:
    JRun Version Information
    Vendor Macromedia
    Product Name JRun 4.0
    Build Number 108487
    Version Full Version
    License Type Trial License
    Serial Number JRD400-69341-58259-30688
    JRun 3.x Serial Number
    Restricted to Single IP No
    Installation Root D:\ISG\software\jrun4
    Expiration Date Mar 29, 2008
    Evaluation Days Remaining 29
    JDK path (JAVA_HOME): D:/ISG/software/jrun4/jre
    I do find it curious that I can run the Updater 6, and it
    seems to behave properly (it finds the VM). I ran it just as a
    test, then wiped everything to start over from scratch. For some
    reason do I need to direct Updater 7 to the installation that I did
    not have to do in Updater 6?
    Thank you in advance for your assistance - Jacques

    tried executing the following cmd, below is the following error:
    <<command i executed>>
    C:\Program Files\Java\jre1.5.0_09\bin>java -classpath "C:\Program Files\Java\jre1.5.0_09\lib\javaws.jar" com.sun.javaws.Main https://<IPddr>:8443/sample.jnlp
    Can you pls let me know how it can be resolved?Umm.. I am not sure, but I will start with
    a question. Why not do it this way?C:\Program Files\Java\jre1.5.0_09\bin>javaws https://<IPddr>:8443/sample.jnlp

  • The crash happened outside the java virtual machine in native code

    Hi,
    I have a biometric device with which I am given some C++ dlls. I am trying to call methods inside these using java (jna). I am loading the dll "zkemsdk.dll+" as follows:
    zkemkeeper INSTANCE1 = (zkemkeeper)Native.loadLibrary("zkemsdk", zkemkeeper.class);//zkemsdk is the dll, I am loading the dll here.
    Then, I am calling the function:
    zkemkeeper.INSTANCE1.Z_Connect_NETEX("ip address",4370);//Z_Connect_NETEX is a function inside zkemsdk.dll
    This returns me true or false based on whether am connected to the biometric device or not.Thus I am able to invoke this method without issues. But for other methods inside the dll, run time exception is thrown in console:
    Can someone help me resolve this issue. ??? Following is the content of the log file generated.
    # A fatal error has been detected by the Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0351fe3b, pid=1664, tid=3832
    # JRE version: 6.0_20-b02
    # Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing windows-x86 )
    # Problematic frame:
    # C [zkemsdk.dll+0xfe3b]
    # If you would like to submit a bug report, please visit:
    # http://www.java.net/external?url=http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    --------------- T H R E A D ---------------
    Current thread (0x003a9000): JavaThread "main" [_thread_in_native, id=3832, stack(0x008c0000,0x00910000)]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000106
    Registers:
    EAX=0x0090f7c4, EBX=0x00000001, ECX=0x00000000, EDX=0x00000001
    ESP=0x0090f7b4, EBP=0x0090f848, ESI=0x00000096, EDI=0x003a9000
    EIP=0x0351fe3b, EFLAGS=0x00010216
    Top of Stack: (sp=0x0090f7b4)
    0x0090f7b4: 00000000 0090f930 000003fc 00000103
    0x0090f7c4: 0090f800 6d9532d0 373e92a0 00912ec5
    0x0090f7d4: 00000401 0090f7d8 369860d1 0090f800
    0x0090f7e4: 37390050 00000000 37390f90 00000000
    0x0090f7f4: 0090f800 0090f930 003a9000 0090f830
    0x0090f804: 10008fd8 0090f840 0090f930 00000008
    0x0090f814: 0090f88c 0090fa28 0090f8f4 0090f848
    0x0090f824: eb53f637 0351ffdc 00000096 00000003
    Instructions: (pc=0x0351fe3b)
    0x0351fe2b: 0f 53 50 8d 44 24 18 50 e8 58 7c 00 00 83 c4 0c
    0x0351fe3b: 8b 4e 70 51 8b 0e 83 c3 04 53 6a 64 8d 54 24 18
    Stack: [0x008c0000,0x00910000], sp=0x0090f7b4, free space=13d0090f2e8k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [zkemsdk.dll+0xfe3b]
    C [jna5972695927945545932.tmp+0x9182]
    C [jna5972695927945545932.tmp+0x2161]
    C [jna5972695927945545932.tmp+0x2849]
    j com.sun.jna.Function.invokeInt(I[Ljava/lang/Object;)I+0
    j com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;+90
    j com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+194
    j com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+344
    j $Proxy0.Z_Beep(J)Z+19
    j com.rfarrays.bhabs.fingerPrint.main([Ljava/lang/String;)V+84
    v ~StubRoutines::call_stub
    V [jvm.dll+0xf049c]
    V [jvm.dll+0x17fcf1]
    V [jvm.dll+0xf051d]
    V [jvm.dll+0xf9bc5]
    V [jvm.dll+0x10181d]
    C [javaw.exe+0x2155]
    C [javaw.exe+0x8614]
    C [kernel32.dll+0xb729]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j com.sun.jna.Function.invokeInt(I[Ljava/lang/Object;)I+0
    j com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;+90
    j com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+194
    j com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+344
    j $Proxy0.Z_Beep(J)Z+19
    j com.rfarrays.bhabs.fingerPrint.main([Ljava/lang/String;)V+84
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x02b10c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1976, stack(0x02dc0000,0x02e10000)]
    0x02b0a400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1280, stack(0x02d70000,0x02dc0000)]
    0x02b08c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=1984, stack(0x02d20000,0x02d70000)]
    0x02b07800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2160, stack(0x02cd0000,0x02d20000)]
    0x02b02400 JavaThread "Finalizer" daemon [_thread_blocked, id=2052, stack(0x02c80000,0x02cd0000)]
    0x02afd800 JavaThread "Reference Handler" daemon [_thread_blocked, id=752, stack(0x02c30000,0x02c80000)]
    =>0x003a9000 JavaThread "main" [_thread_in_native, id=3832, stack(0x008c0000,0x00910000)]
    Other Threads:
    0x02afc400 VMThread [stack: 0x02be0000,0x02c30000] [id=1504]
    0x02b1b800 WatcherThread [stack: 0x02e10000,0x02e60000] [id=1980]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 4928K, used 2455K [0x22970000, 0x22ec0000, 0x27ec0000)
    eden space 4416K, 55% used [0x22970000, 0x22bd5db0, 0x22dc0000)
    from space 512K, 0% used [0x22dc0000, 0x22dc0000, 0x22e40000)
    to space 512K, 0% used [0x22e40000, 0x22e40000, 0x22ec0000)
    tenured generation total 10944K, used 0K [0x27ec0000, 0x28970000, 0x32970000)
    the space 10944K, 0% used [0x27ec0000, 0x27ec0000, 0x27ec0200, 0x28970000)
    compacting perm gen total 12288K, used 343K [0x32970000, 0x33570000, 0x36970000)
    the space 12288K, 2% used [0x32970000, 0x329c5f20, 0x329c6000, 0x33570000)
    ro space 10240K, 51% used [0x36970000, 0x36e9ae00, 0x36e9ae00, 0x37370000)
    rw space 12288K, 54% used [0x37370000, 0x37a072d8, 0x37a07400, 0x37f70000)
    Dynamic libraries:
    0x00400000 - 0x00424000 C:\Program Files\Java\jre6\bin\javaw.exe
    0x7c900000 - 0x7c9b2000 C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f6000 C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f03000 C:\WINDOWS\system32\RPCRT4.dll
    0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
    0x7e410000 - 0x7e4a1000 C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f59000 C:\WINDOWS\system32\GDI32.dll
    0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
    0x7c340000 - 0x7c396000 C:\Program Files\Java\jre6\bin\msvcr71.dll
    0x6d800000 - 0x6da97000 C:\Program Files\Java\jre6\bin\client\jvm.dll
    0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
    0x6d7b0000 - 0x6d7bc000 C:\Program Files\Java\jre6\bin\verify.dll
    0x6d330000 - 0x6d34f000 C:\Program Files\Java\jre6\bin\java.dll
    0x6d290000 - 0x6d298000 C:\Program Files\Java\jre6\bin\hpi.dll
    0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
    0x6d7f0000 - 0x6d7ff000 C:\Program Files\Java\jre6\bin\zip.dll
    0x68000000 - 0x68036000 C:\WINDOWS\system32\rsaenh.dll
    0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
    0x769c0000 - 0x76a74000 C:\WINDOWS\system32\USERENV.dll
    0x5b860000 - 0x5b8b5000 C:\WINDOWS\system32\netapi32.dll
    0x6d610000 - 0x6d623000 C:\Program Files\Java\jre6\bin\net.dll
    0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
    0x71a50000 - 0x71a8f000 C:\WINDOWS\System32\mswsock.dll
    0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
    0x76d60000 - 0x76d79000 C:\WINDOWS\system32\iphlpapi.dll
    0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
    0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
    0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
    0x10000000 - 0x10052000 C:\Documents and Settings\bkonwar\Local Settings\Temp\jna5972695927945545932.tmp
    0x03510000 - 0x03546000 C:\WINDOWS\system32\zkemsdk.dll
    0x03560000 - 0x03574000 C:\WINDOWS\system32\commpro.dll
    0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
    VM Arguments:
    jvm_args: -Dfile.encoding=Cp1252
    java_command: com.xyz.bhabs.fingerPrint
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:/Program Files/Java/jre6/lib/i386;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;;C:\Program Files\Java\jre1.6.0_07\bin;C:\Program Files\Android\android-sdk-windows\tools;C:\Program Files\TortoiseSVN\bin
    USERNAME=BKonwar
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 3
    CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    Memory: 4k page, physical 2085780k(1286036k free), swap 4024188k(3249652k free)
    vm_info: Java HotSpot(TM) Client VM (16.3-b01) for windows-x86 JRE (1.6.0_20-b02), built on Apr 12 2010 13:52:23 by "java_re" with MS VC++ 7.1 (VS2003)
    time: Wed May 25 10:02:24 2011
    elapsed time: 21 seconds
    Regards,
    Bhabs
    Edited by: 861222 on May 25, 2011 12:19 AM

    861222 wrote:
    # A fatal error has been detected by the Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0351fe3b, pid=1664, tid=3832Not much to tell here. This line here looks suspiciously like a null-pointer error happening in the native code. It is impossible to say how, where and why. Go back to your code and start debugging I'd say, see where invalid data can be passed to the native code.

  • Could not initialize the Java Virtual Machine

    While trying to configure the turnkey product I encounter an error in starting the JBoss for Adobe LiveCycle ES v8.0 service. The JBossService.exe ends up showing in the task list - but the service shows its status as "starting" and an enty stating: "Could not initialize the Java Virtual Machine" is placed in the event log. I've seen a posting on this form that traced at least some of these symptoms to the account under which the service is configured to run - but I don't believe that solution applies in this case - I'm starting the service under the System Account which has all the permissions it needs to start the service.

    Thanks very much for the suggestion. Indeed, the problem turned out to be memory related - I was able to correct the issue by updating the registry keys "JVM Option Number 4" and "JVM Option Number 5" so specify lower values. For some reason the system didn't like the 1024 meg size that was set by default (our server has 2 gig of memory).

  • JAVA Importer: ORA-105100 can't start the java virtual machine

    Hi,
    i am having trouble to make a work interaction between forms and java.
    My PL/SQL code is calling a java code situated in an imported class.
    the error i get says : can't start the java virtual machine
    I modified the CLASSPATH to add some jar files.
    What else should i do ?
    should i modify LIBPATH ?
    any idea ?
    Thanks
    Dan

    i just found this documentation Oracle Forms Developer and Forms Server 6i (Patch 4) at this adress
    http://download.oracle.com/otn_hosted_doc/forms/forms/p4_relnotef.pdf
    which says that i need jdk 1.2.2 to make it work but the documentation was published in 2001...
    Is there an earlier doc ? or an earlier doc of the java importer ?
    http://www.oracle.com/technology/products/forms/pdf/javaimporter.pdf
    any help would be appreciated

  • Error with Java Virtual Machine Laucher

    Hi, I'm getting the follwowing error with I try to lauch universal installer.
    Fatal exception occured. Program will exit.
    Does anyone have any idea what's going on? I have java ee 5 sdk installed on my machine.

    Hello Guys!
    I have a problem here and i cant find the solution!
    somebody can help me?
    In the installation, after run the runInstaller show
    this message:
    Initializing Java Virtual Machine from
    /tmp/OraInstall2008-04-27_0733-08PM/jre/1.4.2/bin/java
    . Please wait...
    [oracle@localhost ~]$ Oracle Universal Installer,
    Version 10.2.0.1.0 Production
    Copyright (C) 1999, 2005, Oracle. All rights
    reserved.
    Exception java.lang.UnsatisfieldLinkError:
    /tmp/OraInstall2008-04-27_0733-08PM/jre/1.4.2/lib/i386
    /libawt.so: libXp.so.6: cannot open shared object
    file: No such file or directory occurred..
    java.lang.UnsatisfieldLinkError:
    /tmp/OraInstall2008-04-27_0733-08PM/jre/1.4.2/lib/i386
    /libawt.so: libXp.so.6: cannot open shared object
    file: No such file or directory<snip>
    So I went to MetaLink and did a search on the "libXp.so.6: cannot open shared object" found in your error message. The very first hit returned was note 308755.1, titled "OUI Reports The Error: Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall*/jre/1.4.2/lib/i386/libawt.so: libXp.So.6: Cannot Open Shared Object File"
    The terms of MetaLink usage prevent me from quoting from the note, but you would be advised to go read it for yourself. Suffice it to say you are missing some rpms. The specific ones missing are not listed in the above referenced not, but it will point you in the right direction.

  • Garbage collection Java Virtual Machine : Hewlett-Packard Hotspot release 1.3.1.01

    "Hi,
    I try and understand the mechanism of garbage collection of the Java Virtual Machine : Hewlett-Packard Hotspot release 1.3.1.01.
    There is description of this mechanism in the pdf file : "memory management and garbage collection" available at the paragraph "Java performance tuning tutorial" at the page :
    http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,1607,00.html
    Regarding my question :
    Below is an extract of the log file of garbage collections. This extract has 2 consecutive garbage collections.
    (each begins with "<GC:").
    <GC: 1 387875.630047 554 1258496 1 161087488 0 161087488 20119552 0 20119552
    334758064 238778016 335544320
    46294096 46294096 46399488 5.319209 >
    <GC: 5 387926.615209 555 1258496 1 161087488 0 161087488 0 0 20119552
    240036512 242217264 335544320
    46317184 46317184 46399488 5.206192 >
    There are 2 "full garbage collections", one of reason "1" and one of reason "5".
    For the first one "Old generation After " =238778016
    For the second "Old generation After " =238778016
    Thus, "Old generation Before garbage collection" of the second is higher than "Old generation After garbage collection". Why?
    I expected all objects to be allocated in the "Eden" space. And therefore I did not expect to s

    I agree but my current Hp support is not very good on JVM issues.
    Rob Woollen <[email protected]> wrote:
    You'd probably be better off asking this question to HP.
    -- Rob
    Martial wrote:
    The object of this mail is the Hewlett-Packard 1.3.1.01 Hotspot JavaVirtual Machine
    release and its garbage collection mechanism.
    I am interested in the "-Xverbosegc" option for garbage collectionmonitoring.
    I have been through the online document :
    http://www.hp.com/products1/unix/java/infolibrary/prog_guide/java1_3/hotspot.html#-Xverbosegc
    I would like to find out more about the garbage collection mechanismand need
    further information to understand the result of the log file generatedwith the
    "-Xverbosegc"
    For example here is an extract of a garbage collection log file generatedwith
    Hewlett-Packard Hotspot Java Virtual Machine. Release 1.3.1.01.
    These are 2 consecutive rows of the files :
    <GC: 5 385565.750251 543 48 1 161087488 0 161087488 0 0 20119552 264184480255179792
    335544320 46118384 46118384 46137344 5.514721 >
    <GC: 1 385876.530728 544 1258496 1 161087488 0 161087488 20119552 020119552 334969696
    255530640 335544320 46121664 46106304 46137344 6.768760 >
    We have 2 full garbage collections, one of Reason 5 and the next oneof Reason
    1.
    What happened between these 2 garbage collections as we got : "Oldgeneration
    After" of row 2 is higher than "Old generation Before" of row 1? Iexpected Objects
    to be initially allocated in eden and so we could not get "old generation2modified
    between the end of one garbage collection and before the next one.
    Could you please clarify this issue and/or give more information aboutgarbage
    collection mechanisms with the Hewlett-Packard Hotspot Java VirtualMachine. Release
    1.3.1.01.

  • "Java Virtual Machine not loaded"

    I get this message every time I boot up. It just started recently. Anyone know how to fix that? Everything seems to run okay, but that annoying box pops up every time.
    "Java Virtual Machine not loaded"
    Thanks in advance.
    kar

    To state the obvious:
    1 - Install JAVA
    2 - Java is installed: change your PATH vaialbe to point to the folder with JAVA.EXE in it.
    3 - check to be sure your CLASSPATH variable is correct -- this will not give you the error you describe, but it will make other things very anoying.
    4 - If everything in 1-3 look good, then uninstall, delete any remaining JAVA folders and reboot (cold boot), and then re-install JAVA and pay attention to any errors that may be generated (It sounds like something messed up your install before).

  • Safari problem with Java Virtual Machine

    I have a brand new MacBook Pro. I tried to play an online game that requires Java Virtual Machine. And of course I use Safari since it's the default browser. However, the game keeps asking me to download Java Virtual Machine. I tried to update and also I tried to use Google Chrome, but still it didn't work. Can someone please help.

    HI and Welcome to Apple Discussions...
    According to this site, http://www.java.com/en/download/manual.jsp
    you need the most recent version of Safari running which is 4.0.5 and have Java enabled. Go to the Safari Menu Bar click Safari/Preferences then select the Security update. Where you see Web content, select the top 3 buttons.
    To see which version of Safari you are running from the Safari Menu Bar click Safari/About Safari.
    If your software is not up to date, click the Apple Menu (top left in your screen) then click: Software Updates.
    Please click My Settings on the right side of this window and tell us which Mac OS X you are running. Makes it much easier for us to help trouble shoot for you. Thanks!
    Carolyn

  • There is no java virtual machine in Mountain Lion?

    I try to access a .jar file typing "java -jar <file name> in Terminal, but I received the following message:
    "Could not create the Java virtual machine"
    Some help, please.

    OK, David, thank you very much. The default version is Java 6, but Java 7 appears as the version to be used with Safari and Firefox (but not with Chrome, as this one is 32 bit based).
    One can see that version 7 is installed in the System Preferences, as shown in the window.
    How do I know if I have Java installed on my Mac?
    Mac OS X 10.6 and below: Apple's Java comes pre-installed with your Mac OS.
    Mac OS X 10.7 (Lion) and above: Java is not pre-installed with Mac OS X versions 10.7 and above. To get the latest Java 7 from Oracle, you will need Mac OS X 10.7.3 and above.
    If you have Java 7, you will see a Java icon under System Preferences.
    Java versions 6 and below are listed in the Java Preferences.app located in the Applications > Utilities folder on your Mac.

  • How can I know the version of Application Server Java Virtual Machine

    How can I know the version of Application Server Java Virtual Machine?
    Thanks a lot.

    Thats easy. Your jdk/jre are located in the App Server home directory. Just run the java command under the jdk directory with the "-version" switch and it will provide you with detailed information about your VM.
    For example if you're doing it at command prompt it will be something like
    java -versionI hope this will be useful to you.
    Regards,
    Wasif

  • Computer says i need new "java virtual machine" to use Britannica

    I'd like to open my new Britannica Encyclopedia, but every time i try the computer msg says i need a new "java virtual machine". i don't have a clue what to do although i've searched around this site for some time. can anyone help me? thanks ~moineau

    click on this link;
    http://java.sun.com/j2se/1.4/download.html
    and download and install the 1.4 JRE for your platform...

  • Unable to create an instance of the Java Virtual Machine

    I hope someone can help me to encounter this problem. Well, I have read the instruction over and over on how to setup SQL Developer. 
    The version i have installed Oracle Database 11g Express Edition and downloaded sqldeveloper-4.0.0.13.80-no-jre and the jdk version 1.7.0_45. Problem is when setup oracle sql developer, pop-up screen highlight on
    Unable to create an instance of the Java Virtual Machine
    Located at path : C:\Program Files/Java/jdk1.7.0_45\jre\bin\client\jvm.dlll.
    I have select the path earlier stage and direct to the C:\Program Files/Java/jdk1.7.0_45 ONLY FOLDER. It turns out to this error.
    At the cmd screen error message as below :
    Error occurred during initialization of VM
    Could Not reserve enough space for object heap
    Anyone do give me advise on how to solve this issue. Thank's alot.

    What I did was:
    Use
    Windows Explorer to browse to C:\Users\user\AppData\Roaming\sqldeveloper\1.0.0.0.0Open
    product.conf with wordpad
    Go
    to the bottom of the file
    Uncomment
    the 32 bit entry and change it to:Add32VMOption -Xmx512m

  • SDDM 4 EA3: Unable to launch the Java Virtual Machine (Win 7 64bit)

    SQL Developer v4 EA3 is working fine, but I decided to download the stand-alone SQL Developer Data Modeler because I had seen people recommending using it in favor of the one bundled with SQLDEV.
    Windows 7 64-bit
    Java (64 bit) installed into C:\Program Files\Java\jdk1.7.0_25
    When I double-click the short-cut to start SDDM I get the following pop-up dialog error:
    Title:  Oracle SQL Developer Data Modeler
    Unable to launch the Java Virtual Machine
    Located at path:
    C:\Program Files\Java\jdk1.7.0_25\bin\msvcr100.dll
    ***NewsFlash***
    I think I stumbled on the solution just prior to posting,  so here is what worked for me in case anyone else runs into this....
    I had created a desktop short-cut to "C:\Program Files\datamodeler\datamodeler.exe", which I am guessing is the 32bit version of the binary file.   
    I was able to launch successfully by pointing to "C:\Program Files\datamodeler\datamodeler64.exe"

    That path is incorrect - strip everything after the jdk1.7.0_45\

Maybe you are looking for

  • Error Installing SQL Server Express 2008: '' is not a valid login or you do not have permission.

    I have tried installing SQL Server 2008 multiple times on my machine, and I always receive this error about 3/4 of the way through: '' is not a valid login or you do not have permission. I have tried installing both SQL Server Express 2008 with Tools

  • Can't connect to remote speakers via AE

    I just finished reconfiguring my home network. I believe the Airport Express is happily connected wirelessly to the network (though it doesn't seem to be making the signal to the iPad any stronger) since its light is green and it can be seen on both

  • Confusion on partner function of ALE process

    Hi experts, Now I am developing the ALE for message type ORDERS in inbounding process for testing purpose. Our customer is running their business in SAP and her company code is 6000 in her SAP system, and our company is vendor in her system, the vend

  • Job number from alert log file to information

    Hello! I have a question about job numbers in alert log file. Today one of our Oracle 10g R2 [10.2.0.4] RAC nodes crashed. After examining alert log file for one of the nodes I saw a lot of messages like: Tue Jul 26 11:52:43 2011 Errors in file /u01/

  • How do I get notifications to turn on?

    Lost the ability to turn notifications on.  I click on the icon and nothing happens. Spotlite works  but notifications doesn't show up at all. NADA. What am I doing wrong?? Ned