Results 1 to 6 of 6

Thread: Troubleshooting

  
  1. #1

    Default Troubleshooting

    hi there. i love this idea...


    but sadly i have trouble running my gradlew.bat.

    doesnt work..


    it says i need to set my javapath for it to work.

    but the only place i found to input javapath was wonky :

    :findJavaFromJavaHome
    set JAVA_HOME=%JAVA_HOME:"=%
    set JAVA_EXE=%JAVA_HOME%/bin/java.exe

    ..


    while my java path is C:\ProgramData\Oracle\Java\javapath
    But when i try to add it to the bat file it still says cant find java path.

    so can antybody help me??

  2. #2
    OpenKeeper developer
    Join Date
    Jul 2014
    Posts
    86

    Default Re: OpenKeeper

    Hmm, have you checked Gradle's pages? It should be as simple as install Java and then just run. We have some instructions in the Wiki but they don't cover any troubleshooting..

  3. #3

    Default Re: OpenKeeper

    Quote Originally Posted by tonihele View Post
    Hmm, have you checked Gradle's pages? It should be as simple as install Java and then just run. We have some instructions in the Wiki but they don't cover any troubleshooting..

    That ' just running the bat file' only works if your java is on the same locaciton as mentioned in the batfile
    Last edited by Metal Gear Rex; May 5th, 2018 at 03:16. Reason: fixed quote tag

  4. #4
    OpenKeeper developer
    Join Date
    Jul 2014
    Posts
    86

    Default Re: OpenKeeper

    Ok, are you using Windows? You could try to add Java straight to system variables. %JAVA_HOME% refers to system variable of the same name. Surely you can try to hard code this to the one BAT file. But I suspect that you you'll face the same problem with OpenKeeper.bat then.

    Just add the JAVA_HOME and if it doesn't work, you can also add to the PATH variable straight:
    https://stackoverflow.com/questions/...a-installation

  5. #5
    Mapmaker impboy4's Avatar
    Join Date
    Sep 2016
    Posts
    113
    Gamer IDs

    PSN ID: impboy44 Steam ID: impboy44

    Default Re: OpenKeeper

    Since MGR wanted his thread back, we'll use this thread instead.

  6. #6
    OpenKeeper developer
    Join Date
    Jul 2014
    Posts
    86

    Default Re: OpenKeeper

    Yep better, it went off topic anyway with the reverse engineering talk, which has anyway another topic, and then this. But yeah. JDK then, better try it.

Similar Threads

  1. General troubleshooting questions
    By Endrix in forum DK1 Troubleshooting
    Replies: 9
    Last Post: November 6th, 2015, 19:24

Tags for this Thread

Posting Permissions

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