Error Java virtual machine

while opening executable jar files i get error: Failed to load Main-Class attribute from (Filepath)
The application runs fine on my cellphone
i have the latest version of Java runtime environment
i use windows xp home sp-2

You need to make sure your manifest specifies a Main-class:
http://java.sun.com/docs/books/tutorial/deployment/jar/manifestindex.html

Similar Messages

  • Error - Java Virtual Machine cannot be loaded

    I have installed J2SE Runtime Environment 5.0 Update 10 and have been trying to run Hp Openview Service Desk 4.5, when I try to run it's client application I get the error
    "Unable to start the application -- the Java Virtual Machine cannot be loaded. Class no registered."
    I've tried reinstalling both as well as rebooting after each installation to no avail.. any help would be greatly appreciated.
    thanks

    Installing the Java Virtual Machine
    The Java Virtual Machine is a program that is necessary for running Java programs such as PhotoSite AlbumBuilder. To install the Microsoft Java Virtual Machine, download and run the appropriate installer below. After you install it, restart your computer.
    Windows 98/NT/ME/XP/2000 (SP1/SP2) users:
    http://support.photosite.com/msjavx86.exe
    Windows 2000 (SP3) users:
    http://support.photosite.com/Q300845.exe
    Windows 2000 users (Service Pack 4):
    Microsoft provides no installer for Windows 2K + SP4. You must either revert to an earlier Service Pack or upgrade to Windows XP instead.
    * NOTE: You must be logged into an "Administrator" account to install the Virtual Machine.

  • 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.

  • UnsatisfiedLinkError and Java Virtual Machine error

    Hi,
    I'm trying load a library using the following lines:
    static {
         System.loadLibrary("mtcokus.dll");
    System.out.println("Random generator DLL loaded");
    I'm getting the following error in the console:
    java.lang.UnsatisfiedLinkError: no mtcokus.dll in java.library.path
         at java.lang.ClassLoader.loadLibrary(Unknown Source)
         at java.lang.Runtime.loadLibrary0(Unknown Source)
         at java.lang.System.loadLibrary(Unknown Source)
         at org.knowceans.util.CokusNative.<clinit>(CokusNative.java:34)
         at org.knowceans.lda.LdaEstimate.<clinit>(LdaEstimate.java:69)
    Exception in thread "main"
    Just before displaying the exception above, Java Virtual Machine Launcher DialogBox pops up and says:
    Could not find the main class. Program will exit.
    I checked the path of mtcokus.dll, it's where is must be. What can I do to fix this error?

    {forum:id=210} is the correct forum for your question

  • Agent Process Throws Error  - Could not create the Java virtual machine

    We are trying to run a WAN test but the server which hosts required SW is kind of older version
    OATS controller version installed is 9.3
    Agent version same 9.3 v27628
    Java version its showing for 9.3 is - 6.0_24
    I got this error message on Agent machine
    Your CPU does not support the SSE2 instruction set required to run JRockit.
    INFO | jvm 5 | 2011/11/11 10:44:11 | Could not create the Java virtual machine.
    ERROR | wrapper | 2011/11/11 10:44:11 | JVM exited while loading the application.
    FATAL | wrapper | 2011/11/11 10:44:11 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
    FATAL | wrapper | 2011/11/11 10:44:11 | There may be a configuration problem: please check the logs.
    STATUS | wrapper | 2011/11/11 10:44:11 | <-- Wrapper Stopped
    The Agent machine details are
    Intel Pentium III
    1.4Ghz , 2.00GB RAM
    Windows server 2003
    Can you please tell me if this server is not compatible for running version 9.3.
    Or let me know what other problem you see.. I will check the user guide to check compatibility too.
    Thanks for looking.

    Where do i change the path.. i change it in config file in anget manager folder.
    then Agent process started working.. but as we try to test it its still pointing to JRockit thing
    can u please tell me where should we set the path.. only in config file or there are env entires too?
    Thanks

  • Error while installing SOA, "Could not create java virtual machine"

    I am trying to install SOA latest release, but am getting an error stating "Could not create java virtual machine" and just that. No log, nothing. Could anybody help me out on this?

    Is JRE installed on your machine?
    If yes it may get corrupted, try to remove and reinstall jre again. Then try to install SOA.

  • Could not create the Java virtual machine error during installation

    Hi,
    We are doing an ERP 2005 Installation on AIX 5.2 ML08 with DB2 as the
    database.During "Import ABAP" Phase of the installation we are getting
    the below error.
    ========================================================================ERROR 2007-03-12 13:35:30
    CJS-30022 Program 'Migration Monitor' exits with error code 1. For
    details see log file(s) import_monitor.java.log, import_monitor.log.
    ERROR 2007-03-12 13:35:30
    FCO-00011 The step runMigrationMonitor with step key
    |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was
    executed with status ERROR .
    ========================================================================
    In "import_monitor.java.log" below entries are there
    Unrecognized option: -Xj9
    JVMCI119: Error parsing IBM_JAVA_OPTIONS java options - rc=-6
    Could not create the Java virtual machine.
    Usage: java [-options] class [args...]
    (to execute a class)
    or java [-jar] [-options] jarfile [args...]
    (to execute a jar file)
    Java Version is as below
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
    Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142-20050929a (SR3)
    (JIT enabled: jitc))
    Regards,
    Sumi

    Hi all,
    I just checked the note 716927 again - it refers to note 1024539.
    That one says you should use SR7 and activate J9 technology
    so make sure you have the java version
    "J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build
    caix64142ifx-20061222 (ifix 113727: SR7 + 112603)"
    and that the environment variable
    IBM_JAVA_OPTIONS=-Xj9
    is set for user <sid>adm
    After the installation, make sure that the JVM parameters are set as described in the note 1024539.
    By the way: it doesn't work if you use any other Java SDK (e.g. from Sun), as AIX has it's own one.
    Best regards,
    Cornelia

  • Error : "Could not create the Java Virtual Machine"

    Hi,
    i am beginner in java. I am doing project making a small embedded linux system to run java app.
    first i install JDK on my host (i686-linux 2.6.16-openSuse 10.1) and JRE on my target (i686-linux 2.4.32), both are version 1-5-. then I try to make the "Hello World!" program ,test it on the host, works fine.
    then i put on my target system, but it didnt work. the error message was:
    There was an error trying to initialize the HPI library
    Please check your installation. Hotspot does not work correctly
    when installed in the JDK 1.2 Linux Production Release, or
    with any JDK 1.1.x release.
    Could not create the Java virtual machine. thanks for any help and suggestion for the newbee

    Maybe this older thread is of help:
    http://forum.java.sun.com/thread.jspa?threadID=643395

  • Osdm error 'could not create the Java virtual machine.'

    Running on Windows XP. SQL Developer reports Java(TM) Platform=1.5.0_06
    I downloaded and unzipped the osdm early adopter release,but when I double click on the osdm.exe, I get a dialog box titled"Java Virtual Machine Launcher" with the error:
    could not create the Java virtual machine.
    I'm don't know where to begin to troubleshoot this problem.
    Is there a log,trace,error file somewhere?
    Do I need something specific in my path or an environment variable set?

    Thanks Jim, for helping and the support. I'll respond to a few things in this thread for the rest of the forum.
    Feedback
    Let's start with the feedback and support. As Rene said, he is working at answering all queries coming into the feedback application. This means reviewing the issues, working with the developers and logging bugs. Each comment and query in that application is addressed and users can go back in an review the feedback for their own comments in the application too. We have had considerable interest and downloads, about which we are very excited, and this means there are lots of queries. Rene is addressing all these, and as I type, there are no comments in that application that have not been addressed. Not all are closed, as there are some outstanding issues, but each user who has submitted a comment shold have received at least one email.
    The Team
    I'm reluctant to comment about which part of the product is built in which country, but will say that SQL Developer has been a small team, with the greater percentage of developers living outside the US from the outset. I love working in the team including the wide diversity of locales and cultures and also think that because we live across multiple time zones, we can help users most times of the day or night. We are very privileged to have had the modeling team join us and I'm sure you'll get to know them in time too. If you are interested, the team stretches across a few states in the US, Ireland, Northern Ireland,England, Belgium, Bulgaria, India and China!
    Now to the problem. - Java virtual machine
    1. There is a choice of download, either with the JDK or without. If you download the build with the JDK, there should be no problem, as the product knows where to find the jdk. I'm not sure I see which of these 2 downloads was used. So that would be useful information to have.
    2. If you use the build without the JDK, then Data Modeling looking for the detail in your path.(Unlike in SQL Developer where we prompt you) You can test to see what is in your path by starting a command line, or command prompt and typing java -version. This will tell you what version of java is being looked for and used by Data Modeling.
    If you do not have a JDK, then you can download and install that as described on the download page.
    Troubleshooting
    We want to release SQL Developer Data Modeling as a standalone tool (i.e. what you are testing today) or underpinned by a repository. So our main goal is to ensure that we have a solid stable and usable product for production. The plan is to follow production with a much tighter integration to the underlying SQL Developer framework.
    Regards
    Sue

  • Java virtual machine error occurs when try to run Oracle Application Projec

    Problem Description: when i run the java concurrent program from jdeveloper the following error message pops up
    "Could not create the java virtual machine"
    i am trying to run the following example :
    http://idealpenngroup.tripod.com/sitebuildercontent/OAUG2008/Collaborate20Collaborate07/pdfs/jlockhart_wp.pdf
    More Info:
    i have windows7 installed on my pc.
    oracle 9i jdeveloper version 9.0.3.5 (Build 1453)
    any kind of help would be greate and appreciated.

    {forum:id=210} is the correct forum for your question

  • Unable to create an instance of the Java Virtual Machine error

    After extraction of SQLDeveloper files ran sqldeveloper.exe, received an error "Unable to create an istance of the Java Virtual Machine Located at path: C:\sqldeveloper\jdk\jre\bin\client\jvm.dll".
    CMD WARNING from bin/sqldeveloper.exe: "Uknown directive: SetSkipJ2SDKCheck
    Error occured during initialization of VM
    Could not reserve enough space for object heap"
    I'd appreciate any help.
    THANKS!!

    I have the same problem.
    But it seems that the problem occurs after windows update :
    Test case :
    1. extract SQLDeveloper.
    OK
    2. install IE7
    OK
    3. install update for IE7 + restart
    (Cumulative Security Update for Internet Explorer 7 for Windows XP (KB939653)
    and Security Update for Internet Explorer 7 for Windows XP (KB938127) )
    KO with error message
    "Unable to create an istance of the Java Virtual Machine Located at path: C:\sqldeveloper\jdk\jre\bin\client\jvm.dll".
    It seems that the problem occurs after installation of
    Cumulative Security Update for Internet Explorer 7 for Windows XP (KB939653)
    Here the détails about update :
    Cumulative Security Update for Internet Explorer 7 for Windows XP (KB939653)
    Size: 2,0 MB - 8,3 MB
    Security issues have been identified that could allow an attacker to compromise a system running Internet Explorer and gain control over it. You can help protect your system by installing this update from Microsoft. After you install this item, you may have to restart your computer.
    More information for this update can be found at http://go.microsoft.com/fwlink/?LinkId=95045
    Security Update for Internet Explorer 7 for Windows XP (KB938127)
    Size: 213 KB - 780 KB
    A security issue has been identified in the way Vector Markup Language (VML) is handled that could allow an attacker to compromise a computer running Microsoft Windows and gain control over it. You can help protect your computer by installing this update from Microsoft. After you install this item, you may have to restart your computer.
    More information for this update can be found at http://go.microsoft.com/fwlink/?LinkId=94737
    An idea to install IE7 update and continue to works with SQLDeveloper?
    Thanks
    Regards,
    Eric

  • Java virtual machine error: in running bat file!!!

    Hi experts!
    I have encounterd a problem . Could not figure out why I am having this. I hope at least I will get a clue /suggestion from any of you.
    I am creating a bat file from my java Application. Then I double click on the newly created bat file to run that. It gives me Java virtual machine launcher error:" could not find the main class, Progam will exit". I have a VB script, that also create the same bat file. but I dont have problem running that file manually. Even if I create the bat file manually(by typing), it ran well. It shows the error mesage only when I create bat file from my java Application. Instead of running the bat file manually, I tried to run it through my java application too(by Runtime.exec() ). But it shows me the same error msg.
    Why am I getting java virtual machine launcher error when I tried to run my bat file that is created from java Application? ANy clue? Please suggest me about how to resolve this.
    Regards

    Probably because (despite what you say) the contents of the bat file created by your Java application aren't the same as the contents of those other bat files.Yes contents are same. I create the bat file from my java Application. then I am trying to run that bat file manually. It gives me the specified error. But if I create the bat file manually (with the same content) and then run it manually. It works well.
    Any clue/suggestion

  • LLVM ERROR: Error: Unable to launch the Java Virtual Machine

    Having expanded the kit and followed directions to compile the samples
    On Windows 7, the complaint is
         LLVM ERROR: Error: Unable to launch the Java Virtual Machine.
    I have about a dozen JVMs installed, the default is 64 bit java 1.8_05
    make FLASCC="/cygdrive/c/crossbridge/sdk" FLEX="C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\sdks\4.6.0"
    make[2]: Entering directory `/cygdrive/c/crossbridge/samples/01_HelloWorld'
    -------- Sample 1 --------
    First let's compile it as a projector:
    "/cygdrive/c/crossbridge/sdk/usr/bin/gcc" -Werror -Wno-write-strings -Wno-trigraphs hello.c -o hello.exe
    cc1: error in backend: Failed to run /cygdrive/c/crossbridge/sdk/usr/bin/../../usr/bin/llc with args: -jvm=C:\windows\sy
    stem32\java -filetype=obj C:\crossbridge\cygwin\tmp\ccb4oprU.o -o C:\crossbridge\cygwin\tmp\ccb4oprU.o -jvmopt -Xmx1500M
    Error:
    LLVM ERROR: Error: Unable to launch the Java Virtual Machine.
    This usually means you have a 32bit JVM installed or have set your Java heap size too large.
    Try lowering the Java heap size by passing "-jvmopt=-Xmx1G" to gcc/g++.
    Stack dump:
    0.      Program arguments: C:\crossbridge\sdk\usr\bin\llc.exe -jvm=C:\windows\system32\java -filetype=obj C:\crossbridge
    \cygwin\tmp\ccb4oprU.o -o C:\crossbridge\cygwin\tmp\ccb4oprU.o -jvmopt -Xmx1500M
    1.      Running pass 'Function Pass Manager' on module 'C:\crossbridge\cygwin\tmp\ccb4oprU.o'.

    After the above, the "samples" build still failed on sample 5.
    My explanation is that my typical devlopers path is full of all kinds of stuff, including perl,
    msvc, some version or other of cygwin, some random unix command tools, and so on.
    I eventually fixed the rest of the samples build process by cleaning up my path.
    In run.bat, before the path modification
    # set a minimal path to avoid contamination of the environment with unexpected programs
    # note this includes the JDK path we want to use
    set path=C:\java\jdk1.8.0\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;

  • Error message: " Couldn't create Java Virtual Machine"

    Hi,
    I recently downloaded from IBM rational application developer for websphere software v 7.5. The installation was successful. But when I try to open it, the error message:"could not create the Java virtual Machine".
    I am working on Windows Xp pro. and java is automatically updated the current version jre 1.6/
    even I tried to run eclipse from the directory c:/programfiles/IBM/SDP still same problem.
    Please some one help me how to fix it.
    Thanks.

    Do you resolve the problem? If so what was the fix?
    I have been getting the Java Virtual Machine Launcher error message “Could not create the virtual machine” when attempting to run an Oracle application that uses JNLP via a browser. Even clicking on componets such as javaw.exe produces the error message. In conjunction with receiving the error message, the application that I am working with will not launch.
    I had JRE 5u10 and J2RE 1.4.2u13 installed and thought that installing JDK 5u17 may resolve the issue. I removed JRE 5u10 and J2RE 1.4.2u13 and installed JDK 5u17 (and the included JRE 5u17.) The error message was still there.
    I have unistalled (via Add/Remove programs) and reinstalled (via both Win off-line and on-line) JDK 5u17 and JRE 5u17 many times.
    During the uninstalls I have received a Java Web Start 1.5.0_17 bad installation – error invoking JVM error message.
    I have restarted the machine also.
    There are some remains of J2RE 1.4.2u13 still on the machine –even after the 1.4.2u13 uninstall. The Java\j2re1.4.2_13\lib folder remains.
    I am running Win XP SP2 and IE6 SP2.
    Note: I cannot use Java 6 since the application that I am working with is Java 5 based.

  • Jave Virtual Machine Error

    I have downloaded both sample CDF's from Essbase.com, the ExportCDF and AlertCDF. The ExportCDF work fine however I have some issues with the AlertCDF. Both the SetEMailProp and JAddToAlert functions seem to work fine, howeverI recieve this error on the SendMail function:"Java Virtual Machine Error"Any ideas how to debug this? My feeling is that it doesn't recognize my mail server, but I don't know how to confirm this.

    Do you have both activation.jar and mail.jar under Essbase\java\lib\ext?

Maybe you are looking for

  • Photoshop cc 2014 slow after update from mac os 10.9 to 10.10.2

    hello i have update from 10.9 to 10.10.2 i am using a mac pro 2012  2.4 ghz 6 cores 48GB ram and a NVIDIA Quadro K5000 3583 MB since i update photoshop is extremely slow any function takes much longer to render , and i am now trying to reverte to the

  • Java Sound

    Hi I am worte this programe which will play a Sound File(.wav) from the directory called FileCheck and delete that file from the directory. But it's playing the .wav file but not deleting the file from the directory. Please let me know what could be

  • Drum kit isn't working

    I just bought my first macbook pro and I have never owned a mac before and I am very interested in making my own music and I have a program called Garageband and I have played with it for a few hours and can only get the piano functions to work but c

  • TS3274 I up graded to ios7 now I can't get sound on my ipad2?

    I up graded to ios7 on my ipad2, now I can't get sound on my ipad

  • Save selected node in Tree control

    I'm making this flex form for my school to add a new student to the DB. When the admin clicks on a button it will open a Tree control that displays the available courses and sections in the following heirarchy: Year>Semester>Course Name>Sections Now