Menu

Java outside of "Program Files&q...

2011-09-01
2013-05-02
  • Jérémie Faucher-Goulet

    When I set the path to where Java was installed (aka inside Program Files), it works fine….

    However, with java files inside another directory (say C:\newDirectory\Java\Java50\) I get a "A JVM could not be found". However, if I do it the old fashioned way (with a .cmd script), I can get it to work by calling "C:\newDirectory\Java\Java50\jre\bin\java.exe -classpath ******************* " It's a SDK directory

    Is there something else needed by Janel, like registering .dll's or something like that? I believe the custom java directory fiels were only copied over via CVS, as it will be in the production environment!

    P.S. In case it might give a clue, I get the same problem with Javaexe when I tryed to evaluate both solutions!

    I'm pretty sure I'm missing something, but can't see what! My guess is that It's probably Java related…

     
  • Jérémie Faucher-Goulet

    Found the solution myself….

    I tried setting the janel.jvm.path again, and this time, it woked….    Perhaps I had made a mistake somehow previously…

    In any case, shouldn't it look by default in "janel.java.home.path\jre\bin\classic\jvm.dll" ? I though it was the default directory to look for!

     
  • Timothy Kil

    Timothy Kil - 2011-09-05

    Hello,

    The default jvm when just the janel.java.home.path is set is <janel.java.home.path>\bin\client\jvm.ddl.

    Tim

     
MongoDB Logo MongoDB