Menu

cannot find JDK

Help
2011-10-17
2012-09-14
  • Alex Krashevsky

    Alex Krashevsky - 2011-10-17

    Just installed Java (64-bit), and downloaded RPGNG. Trying to open the file
    rpgng.exe and getting the error: A JRE or JDK must be available in order to
    run Rpgng....

    I run Windows 7 Home Premium SP1 (64-bit).

    Where should I look to get the troubleshooting started?

     
  • Mihael Schmidt

    Mihael Schmidt - 2011-10-17

    It seems that the System doesn't know any Java version you installed. What
    does the dosbox says for the command: java -version

    You can also editor your launching parameters as the following site describes:

    http://wiki.rpgnextgen.com/doku.php?id=eclipse_launch_parameter

    So you would launch the editor something like this:

    rpgng -vm "C:/Program Files/Java/1.6.0_b12/jre/bin/java.exe"

     
  • Alex Krashevsky

    Alex Krashevsky - 2011-10-18

    java version "1.7.0"

    Java(TM) 64-Bit Server VM (build 1.7.0-b147)

    Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)

    Path value from Java Runtime Environment Settings is C:\Program
    Files\Java\jre7\bin\javaw.exe

    When I launch the editor as described above (having the path substituted as
    per my machine, only having java.exe instead of javaw.exe), the system does
    not return error. Instead, it flashes a blank dos window, then returns the
    command prompt, RPGNG not launching.

     
  • Alex Krashevsky

    Alex Krashevsky - 2011-10-18

    Wait... the actual full text of the error (back to attempt to launch rpgng.exe
    outside of dos prompt) is:

    A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be
    available in order to run Rpgng. No Java virtual machine was found after
    searching the following locations:

    C:\rpgng\jre\bin\javaw.exe

    javaw.exe in your current PATH

    So does this mean that the system is actually looking for JVM inside the rpgng
    folder?

     
  • Alex Krashevsky

    Alex Krashevsky - 2011-10-19

    Problem seemingly solved - by uninstalling Java (64-bit) and installing Java
    (32-bit).

    So I take that RPG Next Gen will require a 32-bit Java even on a 64-bit
    machine?

    (Won't be a problem for me as long as everything works but some clarity here
    would help :) )

     
  • Mihael Schmidt

    Mihael Schmidt - 2011-10-19

    I never heard of anything like that (64-bit windows requiring 32-bit Java
    version). But I can't test or verify that because I have no windoze.

    But I haven't tested the editor with Java 7 either. So this may be a problem.
    Dunno.

     

Log in to post a comment.