cfh85 Posted May 22, 2016 Share Posted May 22, 2016 Been a while since I've done any modding so I'm now having to get all the tools installed on my machine. Anyway, Gecko... I don't remember all this work with it. I keep getting the messageException during program initializationjava.io.IOException: Unable to locate Oblivion installation directoryTES4Gecko.Main.main(Main.java:145)I have tried Spoiler Spoiler Spoiler No luck with any of these. I'm running windows 10 and have updated Java. Any suggestions would be most welcome. Link to comment Share on other sites More sharing options...
Oblivionaddicted Posted May 23, 2016 Share Posted May 23, 2016 (edited) I don't have Windows 10 but to make it work I copied javaw in the program directory, had to change my registry to set my java version as 1.7 and also needed my game to have a registry key. Edited May 23, 2016 by Oblivionaddicted Link to comment Share on other sites More sharing options...
cfh85 Posted May 23, 2016 Author Share Posted May 23, 2016 I managed to fix that problem by inserting the Oblivion directory into the shortcut C:\ProgramData\Oracle\Java\javapath\javaw.exe -Xmx1024m - oblivion.install.path="C:\Games\steamapps\common\Oblivion" -jar "C:\Users\Tobias\Desktop\Oblivion Downloads\Tools\TES4Gecko 15.2\TES4Gecko.jar" however, I now get the message "could not create the java virtual machine" Java is fully up to date and running. Link to comment Share on other sites More sharing options...
wizardmirth Posted May 23, 2016 Share Posted May 23, 2016 1. Create a shortcut to the program.2. Open shortcut properties and add 'javaw -Xmx1024m -jar' to the target path before the first quote3. Hit OK and if no errors then this will properly format that line to open the program with java.4. If the path to java isn't set automatically then you may have to manually set it.5. (I don't believe that your Oblivion Game install directory is required anywhere during this process.) Link to comment Share on other sites More sharing options...
Oblivionaddicted Posted May 24, 2016 Share Posted May 24, 2016 I didn't need to include my Oblivion directory anywhere to make it work. Link to comment Share on other sites More sharing options...
cfh85 Posted May 25, 2016 Author Share Posted May 25, 2016 the install directory can be a problem if Oblivion is loaded into the correct place. I should have fixed that problem my entering the install directory in to regedit, but that didn't work. Which is now I've inserted it directly into the shortcut, That fixed the problem of it not finding Oblivion. The problem I'm having now is that java wont launch the virtual machine Link to comment Share on other sites More sharing options...
Oblivionaddicted Posted May 25, 2016 Share Posted May 25, 2016 Do you have the version 1.7? Link to comment Share on other sites More sharing options...
cfh85 Posted May 26, 2016 Author Share Posted May 26, 2016 1.8.0_91 Link to comment Share on other sites More sharing options...
Oblivionaddicted Posted May 26, 2016 Share Posted May 26, 2016 Install the version 1.7 beside. Start menu -> run -> regedit -> HKEY_LOCAL_MACHINE -> Software -> JavaSoft -> Java Runtine Environment -> set the currentversion to 1.7 Link to comment Share on other sites More sharing options...
cfh85 Posted May 29, 2016 Author Share Posted May 29, 2016 That done it.I can't thank you enough Link to comment Share on other sites More sharing options...
Recommended Posts