Java Version Collision Error?

My application works well in java 1.4.2 . When java 1.5 and 1.6(i.e., Multiple jres) are installed it works differently. Is there any way to find how many jre's are there in the system?

Is there any way to find how many jre's are there in the system?On windows OS, find out the value of the following key:
HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft/Java Runtime Environment/Use: Start > execute > regedit

Similar Messages

  • Mainframe problem - java -version output : Error: unable to allocate

    Hi,
    I am calling "java -version" command from my java program. my program is executing well but when it comes to execute this command using Java Runtime it giving following error.
    java -version output : Error: unable to allocate 67108864 bytes for GC in j9vmem_reserve_memory.
    Error: unable to allocate 53686784 bytes for GC in j9vmem_reserve_memory.
    Error: unable to allocate 42949120 bytes for GC in j9vmem_reserve_memory.
    Error: unable to allocate 34359296 bytes for GC in j9vmem_reserve_memory.
    Error: unable to allocate 27487232 bytes for GC in j9vmem_reserve_memory.
    JVMJ9VM015W Initialization error for library j9jit23(11): cannot initialize JIT
    Could not create the Java virtual machine.
    and pogram continue executing.
    is any body have idea why it is behaving like this and wht needs to be done.
    this program i am writing for IBM mainframe machine.

    java -version output : Error: unable to allocate 67108864 bytes for GC in j9vmem_reserve_memory.
    Error: unable to allocate 53686784 bytes for GC in j9vmem_reserve_memory.
    Error: unable to allocate 42949120 bytes for GC in j9vmem_reserve_memory.
    Error: unable to allocate 34359296 bytes for GC in j9vmem_reserve_memory.
    Error: unable to allocate 27487232 bytes for GC in j9vmem_reserve_memory.
    JVMJ9VM015W Initialization error for library j9jit23(11): cannot initialize JIT
    Could not create the Java virtual machine.As a guess
    1. Environment is messed up
    2. Install of java is messed up.
    You might look for command line options that allow you to change the heap size. Try making it smaller.
    You might also want to verify that the 'java' you are running is actually the binary that you think it is, versus a script/link to someplace weird.

  • Unsupported java version, the error code is FMR 92095

    help me, i have a problem whit unsupported java version, the error code is FMR 92095. I am working whit os windows 7 and mozilla firefox.
    there are java version 1.1.8.2. ?
    How i can download ?

    Hi,
    Try post a comment in B1DE 2.0.1 new version! blog.
    Beni.

  • OC4J and java version

    I'm planning to migrate applications running on OC4J to 1.6 java version, but OC4J server is currently using 1.5 according the logs. When I try to start newly compiled web service app I'm getting standard java version incompatibility error (java.lang.UnsupportedClassVersionError: Bad version number in .class file).
    Is it possible and how to set OC4J to use 1.6 java to solve this error cause?
    OC4J version 10.1.3.1
    Thanks for the help

    Hi,
    You can check the Metalink Note no 396096.1
    Or follow the below link,it would be helpful
    http://www.club-oracle.com/forums/upgrade-jdk-oc4j-for-oracle-application-server-10-1-3-a-t1392/
    Regards
    Fabian

  • After upgrade java version - Error occurred during initialization of VM

    Hi,
    I have upgraded the java version to 6 in apps tier of my 12.0.4 ebs running on OEL 5.
    I followed below steps for this.
    Download Latest JDK 6.0 Update
    Stop All Application Tier Services
    Replace JDK Home Used With Oracle E-Business Suite Release 12
    $ cd [IAS_ORACLE_HOME]/appsutil
    $ mv jdk jdk_old
    $ mv jdk1.6.0_15 jdk
    After that when i tried to do any thin starting the services, autoconfig it gives me below error.
    $ADJVAPRG -version
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object
    Do i need to update any values in XML file?
    Please help.
    Thanks,
    Kavitha

    I have upgraded the java version to 6 in apps tier of my 12.0.4 ebs running on OEL 5.
    I followed below steps for this.
    Download Latest JDK 6.0 Update
    Stop All Application Tier Services
    Replace JDK Home Used With Oracle E-Business Suite Release 12
    $ cd [IAS_ORACLE_HOME]/appsutil
    $ mv jdk jdk_old
    $ mv jdk1.6.0_15 jdkDid you complete all the steps in (Using Latest Java 6.0 Update With Oracle E-Business Suite Release 12 [ID 455492.1])?
    After that when i tried to do any thin starting the services, autoconfig it gives me below error.
    $ADJVAPRG -version
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object
    Do i need to update any values in XML file?
    Please help.What does "echo $ADJVAPRG" return? Make sure it is set in the context file correctly and run AutoConfig then.
    Please see "Step 5.2: Verify Configurations On All Application Tier Nodes" section in (Using Latest Java 6.0 Update With Oracle E-Business Suite Release 12 [ID 455492.1]).
    Thanks,
    Hussein

  • Java Georaster API error - wrong java version

    Hi all. I've done some searching about but cannot see this question answered (or indeed asked) anywhere else so perhaps i'm the first person to encounter it.
    I've got some georaster data from a customer in an Oracle DMP file which i've imported. It all checks out as being valid (using sdo_geor.validategeoraster) but i cannot view it in the Georaster Viewer tool. I wrote some java to extract a piece to a file but i get this error with the select command ...
    DEBUG <10:27:51> [GeoRaster] jGeor.getRasterImage(conn,0,600, 1199, 1801, 2400 )
    ERROR <10:27:51> [GeoRaster] Failed to getRasterImage() because of a GeoRasterException : -13464;GeoRaster object has float or double data type.
    It can be retrieved only with Java version 1.4.1 or higher.
    Java version found: 1.5
    ERROR <10:27:51> [GeoRaster] stack trace is ...
    DEBUG <10:27:51> [GeoRaster] 0  oracle.spatial.georaster.JGeoRaster.getColorModel(JGeoRaster.java:1276)
    DEBUG <10:27:51> [GeoRaster] 1  oracle.spatial.georaster.JGeoRaster.getRasterImage(JGeoRaster.java:2568)
    DEBUG <10:27:51> [GeoRaster] 2  com.espatial.ps.georaster.GeoRaster.getRenderedImage(GeoRaster.java:736)
    DEBUG <10:27:51> [GeoRaster] 3  com.espatial.ps.utilities.TemplateApplicationHelper.testExport(TemplateApplicationHelper.java:294)
    DEBUG <10:27:51> [GeoRaster] 4  com.espatial.ps.utilities.TemplateApplicationHelper.main(TemplateApplicationHelper.java:130)If I query the georaster I get this ...
    ORCL10GR:SQL> SELECT georaster FROM intermap_iscsi.CORE_DTM g WHERE g.georaster.RASTERDATATABLE = 'CORE_DTM_RDT_01' AND g.georid = 101;
    GEORASTER(RASTERTYPE, SPATIALEXTENT(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES), RASTERDATATABLE, RASTERID, METADATA)
    SDO_GEORASTER(20001, SDO_GEOMETRY(2003, 8265, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1), SDO_ORDINATE_ARRAY(-114.87502, 35.0000208, -114.87502, 34.93
    75, -114.87502, 34.8749792, -114.8125, 34.8749792, -114.74998, 34.8749792, -114.74998, 34.9375, -114.74998, 35.0000208, -114.8125, 35.0000208, -1
    14.87502, 35.0000208)), 'CORE_DTM_RDT_01', 101, XMLTYPE(<georasterMetadata xmlns="http://xmlns.oracle.com/spatial/georaster">
      <objectI))I'm running my java program with JDK 1.5.0_11 so that error about needing 1.4.1 or higher is odd. Is it to do with the Oracle instance needing that JDK? Anyone got any ideas?
    John.

    Looks like the code is explicitly checking for a specific version of Java without doing a greater than check, you'll have to trick the API
    Before you call the JGeoRaster Method, call:
    String temp = System.getProperty("java.specification.version");
    System.setProperty( "java.specification.version", "1.4.1" );
    the after call:
    System.setProperty("java.specification.version", temp);
    Alternatively, the JGeoRaster library that comes with 11g has a fix for this issue.

  • ERROR: Invalid java version found: while runing Autoconfig

    Hi
    while upgrading EBS 12.1.3 Database from 11.1.0.7 to 11.2.0.2
    We got the below error on autoconfig.
    F:\app\mocppd\product\11.2.0\dbhome_1\appsutil>F:\app\mocppd\product\11.2.0\dbho
    me_1\appsutil\bin\adconfig.cmd contextfile=prod_srv-moc.xml
    Enter the APPS user password: apps
    cygwin warning:
      MS-DOS style path detected: F:\app\mocppd\product\11.2.0\dbhome_1\appsutil\bin
    \adconfig.pl
      Preferred POSIX equivalent is: /cygdrive/f/app/mocppd/product/11.2.0/dbhome_1/
    appsutil/bin/adconfig.pl
      CYGWIN environment variable option "nodosfilewarning" turns off this warning.
      Consult the user's guide for more details about POSIX paths:
        http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
    The log file for this session is located at: F:\app\mocppd\product\11.2.0\dbhome
    _1/appsutil/log/prod_srv-moc/02040321/adconfig.log
    AutoConfig is configuring the Database environment...
    AutoConfig will consider the custom templates if present.
            Using ORACLE_HOME location : F:\app\mocppd\product\11.2.0\dbhome_1
    ERROR: Invalid java version found:
            sh: F:appmocppdproduct11.2.0dbhome_1jdkjre/bin/java: No such file or dir
    ectory
    ERROR: Invalid java version found:
            sh: F:appmocppdproduct11.2.0dbhome_1jdkjre/bin/java: No such file or dir
    ectory
            Classpath                   :
    sh: - : invalid option
    Usage:  sh [GNU long option] [option] ...
            sh [GNU long option] [option] script-file ...
    GNU long options:
            --debug
            --debugger
            --dump-po-strings
            --dump-strings
            --help
            --init-file
            --login
            --noediting
            --noprofile
            --norc
            --posix
            --protected
            --rcfile
            --restricted
            --verbose
            --version
            --wordexp
    Shell options:
            -irsD or -c command or -O shopt_option          (invocation only)
            -abefhkmnptuvxBCHP or -o option
    Version Conflicts among development maintained and customized templates encounte
    red; aborting AutoConfig run.
    The logfile for this session is located at: F:\app\mocppd\product\11.2.0\dbhome_
    1/appsutil/log/prod_srv-moc/02040321/adconfig.logThanks
    Nawneet

    Hi Helios,
    I have changed the prod_srv-moc.xml script and executed the script.
    And now i got the below error.
    F:\app\mocppd\product\11.2.0\dbhome_1\appsutil>F:\app\mocppd\product\11.2.0\dbho
    me_1\appsutil\bin\adconfig.cmd contextfile=prod_srv-moc.xml
    Enter the APPS user password: apps
    cygwin warning:
    MS-DOS style path detected: F:\app\mocppd\product\11.2.0\dbhome_1\appsutil\bin
    \adconfig.pl
    Preferred POSIX equivalent is: /cygdrive/f/app/mocppd/product/11.2.0/dbhome_1/
    appsutil/bin/adconfig.pl
    CYGWIN environment variable option "nodosfilewarning" turns off this warning.
    Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
    The log file for this session is located at: F:/app/mocppd/product/11.2.0/dbhome
    _1/appsutil/log/prod_srv-moc/02040605/adconfig.log
    AutoConfig is configuring the Database environment...
    AutoConfig will consider the custom templates if present.
    Using ORACLE_HOME location : F:/app/mocppd/product/11.2.0/dbhome_1
    Classpath : :F:/app/mocppd/product/11.2.0/dbhome_1/jdb
    c/lib/ojdbc6.jar:F:/app/mocppd/product/11.2.0/dbhome_1/appsutil/java/xmlparserv2
    .jar:F:/app/mocppd/product/11.2.0/dbhome_1/appsutil/java:F:/app/mocppd/product/1
    1.2.0/dbhome_1/jlib/netcfg.jar:F:/app/mocppd/product/11.2.0/dbhome_1/jlib/ldapjc
    lnt11.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/apps/ad/tools/
    configuration/VersionConflictListGenerator
    Caused by: java.lang.ClassNotFoundException: oracle.apps.ad.tools.configuration.
    VersionConflictListGenerator
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    Could not find the main class: oracle.apps.ad.tools.configuration.VersionConflic
    tListGenerator. Program will exit.
    ERROR: Version Conflicts utility failed.
    Terminate.
    The logfile for this session is located at: F:/app/mocppd/product/11.2.0/dbhome_
    1/appsutil/log/prod_srv-moc/02040605/adconfig.log
    Thanks
    Nawneet

  • Java -version error

    Hello,
    I am installing 11.1.1.7  Soa Suite etc, and given all the talk about Jrocket, decided to give that a spin.  I am on Windows 7
    when I do a simple java -version I get the following:
    [WARN ][osal   ] Could not enumerate processes (1) error=-1073738819
    [WARN ][osal   ] Could not add counter (null)\ for query
    [WARN ][osal   ] Failed to init virtual size counter.
    java version "1.6.0_45"
    Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
    Oracle JRockit(R) (build R28.2.7-7-155314-1.6.0_45-20130329-0646-windows-x86_64, compiled mode)
    I tried checking the  lodctr /q (from Could not enumerate processes (1) error? | Marcus Hirt) as suggested on the bottom of this page  Re: Web Logic server 10.3.5 not running , but everything looks ok -- nothing is disabled in the lodctr /q output.
    I was able to get a weblogic a quick domain running, but also got these errors when starting the domain.   Should I abandon Jrocket?  Can I expect it to function properly regardless of these warnings?
    Any suggestions? 
    Thank you,
    Stuart

    When I do the same on my environment do not see the warnings you are encountering:
    C:\bea\jrockit-jdk1.6.0_45-R28.2.7-4.1.0\bin>java -version
    java version "1.6.0_45"
    Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
    Oracle JRockit(R) (build R28.2.7-7-155314-1.6.0_45-20130329-0646-windows-x86_64, compiled mode)
    What can be the case is that your machine is not actually 64-bit, i.e., that the hardware virtualization extensions (VT in the case of Intel) of your processor are not enabled (this is just a guess) - steps on how to do that are provided here: https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/s….
    "Should I abandon JRockit?" No I think not, some examples that included WebLogic and JRockit set-up can be found here: Middleware Snippets: JRockit. All in all JRockit runs very smooth (never had any problem with it), but if the warnings do not go away, it is better to use something else (you never know what these lead to in a production environment).

  • "java -version" fails in Solaris 5.9 with relocation error

    Hi all,
    Appologies for the Java 'newbie-ness' of this query from the outset... But here goes. My current configuration is ...
    SunOS 5.9 Generic_112233-11 sun4u sparc SUNW,UltraAX-i2
    and I'm trying to run with Java 2 SDK, Standard Edition Version 1.4.1
    As far as I know, local support has fed me with the required patches to get me up and running so as I can use 'jar' to upgrade a jarfile. But if I try to do this (or even just try "java -version"), I just get...
    Error: failed /usr/j2se/jre/lib/sparc/client/libjvm.so, because ld.so.1: java: fatal: relocation error: file /usr/j2se/jre/lib/sparc/client/libjvm.so: symbol __1cG__CrunSregister_exit_code6FpG_v_v_: referenced symbol not found
    I can only find this bug (?) referencing Solaris 5.7 at most recent. Am I missing something obvious?
    I've got...
    setenv JAVA_HOME /usr/j2se
    setenv LD_LIBRARY_PATH $JAVA_HOME/jre/lib/sparc/server:$JAVA_HOME/jre/lib/sparc
    Are the solaris 7 patches not necessarilly in the patch bundle I've had stuffed on here...?

    It looks like that the likely cause of this error is some failed library dependancy. You can manually check if all libraries libjvm.so depends on are actually present on the system by running the following commands:
    $ cd /usr/j2se/jre/lib/sparc/client/
    $ ldd libjvm.so
    The output of the ldd command should look something like the following with possible slight deviations:
    libCrun.so.1 => /usr/lib/libCrun.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libthread.so.1 => /usr/lib/libthread.so.1
    libsocket.so.1 => /usr/lib/libsocket.so.1
    libnsl.so.1 => /usr/lib/libnsl.so.1
    libm.so.1 => /usr/lib/libm.so.1
    libw.so.1 => /usr/lib/libw.so.1
    libc.so.1 => /usr/lib/libc.so.1
    librt.so.1 => /usr/lib/librt.so.1
    libmp.so.2 => /usr/lib/libmp.so.2
    libaio.so.1 => /usr/lib/libaio.so.1
    libmd5.so.1 => /usr/lib/libmd5.so.1
    /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
    /usr/platform/SUNW,Ultra-60/lib/libmd5_psr.so.1
    Check if all library path's are actually present on the system, otherwise you will need to satisfy the missing dependencies.

  • Java -version error when trying to do an upgrade

    Hi gurus
    i am having this problem with my java on SUSE 9.1
    java -version
    Error occurred during initialization of VM
    Unable to load native library: /usr/lib/SunJava2-1.3.1/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
    which java
    /usr/lib/java/jre/bin/java
    my java installation is in /usr/java/j2sdk1.4.2_09  and i have defined this in .bashrc for my sidadm as i need to do an upgrade
    JAVA_HOME=/usr/java/j2sdk1.4.2_09/bin/java
    export PATH=/usr/java/j2sdk1.4.2_09/bin:$PATH
    export CLASSPATH=/usr/java/j2sdk1.4.2_09/lib
    Any ideas will be welcome

    i downloaded j2sdk1.4.2_09 and then uzippped it in
    /usr/java then edited the paths in .bashrc sidadm
    home directory.
    yes - but you´re logged on as root?
    I suggest, putting it on a different path instead of the SuSE  provided path, you will have trouble upgrading later SuSE packages if you overwrite the installed packages.
    I do it the following way:
    - cd /opt
    - j2sdk....*.sh
    - ln -s /opt/j2sdk1.4.2_09 java1.4
    - (as root)
    export JAVA_HOME=/opt/java1.4
    export PATH=$JAVA_HOME/bin:$PATH
    Then start installation.
    The advantage of using a softlink is the fact, that you don´t need to change anything later if you upgrade your JDK, just re-point the softlink.
    Markus
    Message was edited by:
            Markus Döhr

  • "java -version" command result in error stream

    i am getting output of following command in error stream instead of input stream
    Runtime rt = Runtime.getRuntime();
                   ProcessBuilder builder = new ProcessBuilder(new String[]{"cmd.exe","/c","java -version"});
                   Process pr = builder.start();
                   BufferedReader input = new BufferedReader(new InputStreamReader(pr.getErrorStream()));
                   String line=input.readLine();
                   System.out.println(line);
    please explain
    Edited by: Mayur Mitkari on Feb 27, 2013 5:25 AM

    Using System class you can work with 3 different types of streams to read or print data
    System.in : Standard Input Stream - open and ready to supply input data
    System.out : Stand Output Stream - open and ready to accept output data
    System.err : Stand Error Stream - open and ready to accept output data
    Generally output stream may be set with any output device or file. Based on the stream which are using the output will be redirected to the corresponding stream.
    Here in your program you are printing the data using "System.out" - nothing but standard output stream so what ever the output come through your program will be redirected to the default output device.
    Input streams are used to read the data. For example, assume that you want to read the data from the keyboard then you can read like the below
    Scanner scanner = new Scanner(System.in);
    while(scanner.hasNext())
         System.out.println(scanner.next());
    }

  • Installation Error 1335 for java version 1.5 and 1.4 which i have tried

    i tried to install the latest java ie 1.5.0_04 or matter of fact other java versions also but the Installation of java is stopped by the Error code : 1335. following up with the Internal Error code : 2350.
    My system configuration is PIV 2.4 Ghz HT enabled. Intel 865GBF motherboard. 512Mb DDR ram. The problem is coming in the Data1.Cab.
    I even tried online installation. Eventually J2RE latest edition has installed from Java.com update. But the JDK 1.5 has the same problem even while downloading it from the Server online.
    Plz help me out in installing java in my computer. Its urgent for my project work.
    Email:[email protected]

    first of all do not post twice. you want help in this forum, one post is enoough. Two post doesnt help you at all.
    If you have problem installing java in your computer, try to search it on the net yourself first or look around the sun website.
    I'm not exactly sure where your problem is. I tried installing java 1.5.0 but i had few problems so im still using 1.4.2 version. if you are in a hurry try installing 1.4.2 and see whether you can install or not

  • Installation Error 1350 for java version 1.5 and 1.4 which i have tried

    i tried to install the latest java ie 1.5.0_04 or matter of fact other java versions also but the Installation of java is stopped by the Error code : 1335. following up with the Internal Error code : 2350.
    My system configuration is PIV 2.4 Ghz HT enabled. Intel 865GBF motherboard. 512Mb DDR ram. The problem is coming in the Data1.Cab.
    I even tried online installation. Eventually J2RE latest edition has installed from Java.com update. But the JDK 1.5 has the same problem even while downloading it from the Server online.
    Plz help me out in installing java in my computer. Its urgent for my project work.
    Email:[email protected]

    I also had problems when trying to install 1.5.0. I must have downloaded the offline installation file at least a dozen times and always got the 1335 error. I tried just about all the "recommended solutions", but none of them worked for me. I downloaded the file through WellGet, Firefox, and Internet Explorer. The installation file downloaded through WellGet and Firefox had identical results (error at the same point in the installation "timeline", but the file downloaded through Internet Explorer errored at bit later, which seemed weird, but I guess different software runs differently (obviously!)...
    During my lunchbreak at work, I downloaded the offline installation file (through Internet Explorer--my only option at work) and tried to install it when I got home. At first it seemed like it was going to work, as it didn't immediately pop up and say the Data1.cab was corrupted. However, at the end of the installation, I got a 1722 error, so I was disappointed.
    Then I decided to try something that people always recommend, but I never do--disabling everything possible when installing something. I rebooted, disabled everything I could in my Systray (anything that had an Exit option in the menu--I didn't go wild and stop everything in Task Manager though...), and lo and behold, the installation went through the SDK, started installing the JRE, and I held my breath, hoping I didn't get a 1722 at the end. No 1722. It finally installed! Yay!
    My theory is that either my firewall, anti-virus, or anti-spyware programs were messing up the downloading of the installation file. My workplace only has anti-virus and a hardware firewall. The fact that one download had a 1335 error and the other did not supports this theory. Or that maybe the file got corrupted by chance, but what are the odds I'd get a dozen corrupts in a dozen attempts? If one blames the source file at Sun as being corrupt, then no one would ever be able to install 1.5...
    Another strong theory is that I needed to shut off all programs before installing. I'm not going to risk uninstalling my good install to test out that theory on my "corrupted" installation file, though... This could explain a dozen corrupts in a dozen attempts. If so, the file is not corrupt, but something is amiss in the OS environment.
    It's feasible that someone could be stuck in a rut trying to download the same file through the same "pipeline" (firewall, anti-virus, anti-spyware) or stubbornly trying to bulldoze through an installation with their RAM chock full of unnecessary programs. It's too easy to just say "their" file is corrupt or Windows Installer is busted--I too was thinking along those lines...
    Anyway, if you consistently get a 1335 error (or maybe other kinds of errors), try shutting down all non-essential programs in the Systray (and maybe in the Startup and Task Manager--although that wasn't necessary for me). If that doesn't work, download the installation file from another computer/source or get ahold of an installation file that has proven to work. These two options are possibly the easiest to try. If they don't work, then one'd have resort to the more esoteric fix-its...
    On a side note, it was a bit scary having to shut off my firewall and anti-virus... I hope nothing got through in the two minutes they were down--I should have turned off my DSL modem...oh well.
    Now, I have to test out my 1.5 install to see if it is really okay. If it's not, I'll post back and complain...haha

  • Enum error and java version??

    The following code keeps giving me an error saying it expects a semi-colon at the open bracket. I've read its related to using an older version of Java, but I'd swear I'm using the most current! Am I missing something?
    public enum Months {
         JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY,
         AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER;
    }When I run "java -version" it says "java version 1.6.0_02". I just downloaded and installed this earlier tonight...

    The error message says it all.
    If you check your enum, it has a semicolon at the end of December.
    You do not need semicolon there. Remove it and you will be ok.
    public enum Months {
         JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY,
         AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER
    }

  • Java -version error: could not open`C:\xml_render\java\lib\amd64\jvm.cfg

    I updated my laptop to the latest recommended Java update. After installing, i tested out the install by doing a java -version. Instead of executing, i got the following error:
    Error: could not open `C:\xml_render\java\lib\amd64\jvm.cfg'
    i installed JRE under the C:\xml_render\java sub-directory. The Java installer did not create an amd64 sub-directory.
    Have tried to troubleshoot this for a few hours, could not figure out what points to `C:\xml_render\java\lib\amd64', so i would greatly appreciate some help.
    Here is version and environment info:
    Windows 7
    Installed 32-bit JRE
    java version: 1.6_38
    previously had 1.6_35, 32-bit, which i had uninstalled.

    This sounds like you already had Java installed, then installed a new one, but the old one is still in your PATH, or the Windows registry is pointing to the wrong one.
    follow the links...
    http://forum.java.sun.com/thread.jsp?forum=54&thread=184728
    http://java.sun.com/j2se/1.3/install-windows.html#Environment
    good luck!

Maybe you are looking for

  • Upgrading to Windows 7 with Robohelp for Word X5

    Currently using Robohelp for Word X5 on Windows XP Professional with Microsoft Office 2003. I'm a consultant and my client's IT department is planning to upgrade to Windows 7. Does anyone know if X5 will work with Windows 7? Thanks, Brenda Hutch Cons

  • HT5037 I am stuck on step 2.  Where is the Go menu in The Finder?

    Got a new iMac, and trying to use iPhoto, and get this message:  "To open your library with this version of iPhoto, it first needs to be prepared." If you do, you can use the iPhoto Library Upgrader tool to prepare your library to work with the curre

  • Workflow PDF email attachment

    Hi All, I have a created a custom workflow which sends pdf files to the user.I created a document attribute and attached to the message.Im able to see the pdf file in the application notofiaction but not in the email as attachment.any clue why Im not

  • Conditions from the last PO to inforecord

    hi u can define that the conditions from the last PO: -are always copied -are not copied when entered manually -are never copied Can anybody tell me where can we find this? Thanks Prashant

  • Need fast help right now...????:(

    Hi, i come here to get solution of my problem, i have Nokia 5310 Xpress Music, i forget my security code now i want to chang my security code, its require old security code must, please tell me the reset code of this cell phone ?? please fast apprica