updating JVM (using IIS and Coldfusion)

Ask a Question related to Coldfusion Server Administration, Design and Development.

  1. #1

    Default updating JVM (using IIS and Coldfusion)

    I recently created my first java class and compiled it using the new java SDK.
    I Registered my new CFX Tag and now I get this error "500 HelloColdFusion
    (Unsupported major.minor version 50.0)" when trying to access it in my .cfm
    test page. I read that this is because I used a new version of JVM to compile
    the class and the jvm coldfusion has installed is older. How do I update
    coldfusion to look at the new jvm ?

    unixsyadm Guest

  2. Similar Questions and Discussions

    1. Updating Updating site map or archive dynamically
      Hi there! ;-) Posted in Site Design as well.... Anyone know if there is a way to use Contribute to automatically/dynamically update a site map...
    2. Running ColdFusion 5.0 and ColdFusion 6.1 concurrently
      Hi, this is my first post on this forum, I have tried looking but could not find a post that discussed my problem. I am wondering if it is possible...
    3. How to call a coldfusion function defined in other coldfusion file??
      inside a.cfm, it has code fragment: <cfloop> <cfinclude template="b.cfm"> </cfloop> inside b.cfm, it has code fragment: ...
    4. Updating AI Files causes position to 'bounce' when updating in Quark
      Is there any way to build Illustrator files so that no matter what edit you might come back and make to the AI file, when you update the modified...
    5. Updating from 9
      Have been trying unsuccessfully to update, have today downloaded afresh updater. After updating error message "The application "(null)" could not...
  3. #2

    Default Re: updating JVM (using IIS and Coldfusion)

    Go to Coldfusion admin page and click the left navigation tab Java & JVM. You will be provided with a option to change the existing jvm path to new one
    Prabhu S Guest

  4. #3

    Default Re: updating JVM (using IIS and Coldfusion)

    I have done that and coldfusion fails to restart.
    unixsyadm Guest

  5. #4

    Default Re: updating JVM (using IIS and Coldfusion)

    unixsyadm wrote:
    > I have done that and coldfusion fails to restart.
    what version of the JDK did you install? was it a server (JDK) version?
    PaulH **AdobeCommunityExpert** Guest

  6. #5

    Default Re: updating JVM (using IIS and Coldfusion)

    ColdFusion MX 6.1 Updater 1 and ColdFusion MX 7.0.2 have been certified for JVM
    1.4.2_11 (this JVM version includes the new Daylight Savings Time changes).
    That is the highest version you should be running ColdFusion with.


    edbrendel Guest

  7. #6

    Default Re: updating JVM (using IIS and Coldfusion)

    This is my error ([url]http://71.67.112.203/first_java.cfm[/url]) and the server I am
    testing my first cfx on. Last night I uninstalled the newest Java SDK and
    found the 1.4 Java SDK. Using the windows cmd prompt, I compiled the example
    code given and received no compile errors.

    I copied my new HelloColdFusion.class to following directory where the cf
    documentation suggest we place it. (C:\CFusionMX7\wwwroot\WEB-INF\classes)

    And I continue to get this error. Is there something wrong with the compiler
    that I'm using? Or is it something with JRun? I don't think I am using




    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>

    <body>
    <head><title>JRun Servlet Error</title></head><h1>500 HelloColdFusion
    (Unsupported major.minor version 49.0)</h1><body>
    HelloColdFusion (Unsupported major.minor version 49.0)</body>

    unixsyadm Guest

  8. #7

    Default Re: updating JVM (using IIS and Coldfusion)

    This fixes ERROR "Unsupported major.minor version 49.0" and "Unsupported
    major.minor version 50.0" on my Windows Server 2003 SP1 and Coldfusion MX 7.02
    system.

    1. Make sure the ColdFusion service is stopped.

    2. Download JRun4 Updater from
    [url]http://www.macromedia.com/support/jrun/updaters.ht[/url]...
    jrun4-win-en-updater.exe

    3. Install JRun4 Updater into the runtime folder of your ColdFusion install
    directory.
    C:\CFusionMX7\runtime

    4. Download and install Java JDK 1.5 ( jdk-1_5_0_11-windows-i586-p.exe )

    5. Open both jvm.config files found in these directories:
    C:\CFusionMX7\runtime\bin
    C:\CFusionMX7\runtime\updater6-backup\bin

    6. Find the line that sets the java.home property under the "VM Configuration"
    heading ( change "java.home=C:/CFusionMX7/runtime/jre" to "java.home=C:/Program
    Files/Java/jdk1.5.0_11/jre" in both files.

    7. Restart coldfusion.

    I hope this saves you all time.


    unixsyadm Guest

  9. #8

    Default Re: updating JVM (using IIS and Coldfusion)

    The above answer, breaks something in the flash forms. I removed the Java SDK
    1.5 and went to 1.4 and that fixed my flash forms however no I'm back the my
    original question, why do I get the following ??

    500

    HelloColdFusion (Unsupported major.minor version 49.0)


    unixsyadm Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139