Question Posted August 9, 2018 Share Posted August 9, 2018 Im trying to follow this tutorial to edit two handed weapons to 2d6 damage : https://forums.beamdog.com/discussion/25517/mod-tutorial-how-to-make-items Except that it tells me to download near infinity from this page : http://www.shsforums.net/topic/45358-nearinfinity/ Which does not seem to include any download links for near infinity at all...the OP says he attached the latest version to the post but i see no attachments at all... So I tried downloading near infinity from here : https://github.com/FredSRichardson/NearInfinity/releases I downloaded the .jar, put it in my BG 1 : EE folder, but when I try to run it, the .jar freaks out and says that it could not find the main class. This is very confusing, where do i go to download the compiled, latest version of near infinity? Quote Link to comment
Creepin Posted August 9, 2018 Share Posted August 9, 2018 (edited) The opening topic in that SHS thread is indeed somewhat confusing. To put it short, get the latest stable version here, as could be seen in this post Edited August 9, 2018 by Creepin Quote Link to comment
Question Posted August 9, 2018 Author Share Posted August 9, 2018 That is the same .jar file i downloaded, and it will not run. It complains that it cannot find the main class. Quote Link to comment
Creepin Posted August 9, 2018 Share Posted August 9, 2018 Have you installed Java? NI needs it to run. OP in that SHS thread has a link to download it. Putting NI to game folder, by the way, is not necessary If you have Java installed and NI still don't work for you, just ask in that thread - Argent is pretty active and will have the best knowledge of NI and how to make it run. Quote Link to comment
argent77 Posted August 9, 2018 Share Posted August 9, 2018 Make sure you have installed a Java Runtime Environment (JRE) of version 8 or higher. If it has been installed correctly you should be able to start NI simply by double-clicking on NearInfinity.jar (as you would do when starting a regular executable). You don't have to unpack the .jar file. Quote Link to comment
Question Posted August 9, 2018 Author Share Posted August 9, 2018 Make sure you have installed a Java Runtime Environment (JRE) of version 8 or higher. If it has been installed correctly you should be able to start NI simply by double-clicking on NearInfinity.jar (as you would do when starting a regular executable). You don't have to unpack the .jar file. I have java 9.04 installed and i can run other java files fine. This is the error btw (See attached). Quote Link to comment
argent77 Posted August 9, 2018 Share Posted August 9, 2018 (edited) I have heard of this issue only in conjunction with running an older Java version than the tool has been compiled with. The file provided by the links above is compiled with Java 8, so it should run fine with Java 9 or later. It could be a Java configuration issue on your system, or maybe a security tool is interfering with execution. Are you able to run the file from the command prompt with the following command? java -jar NearInfinity.jar Edit: Could you also run the following command in the command prompt? java -versionIt should return version 1.9 or higher in your case. Edited August 9, 2018 by argent77 Quote Link to comment
Jarno Mikkola Posted August 9, 2018 Share Posted August 9, 2018 Edit: Could you also run the following command in the command prompt? java -versionIt should return version 1.9 or higher in your case. And if you want to run it as a .bat, you want to put a pause in that so to actually see the return.. aka just: java -version pause Quote Link to comment
Question Posted August 9, 2018 Author Share Posted August 9, 2018 C:\Users\Question>java -versionjava version "9.0.4"Java SE Runtime Environment (build 9.0.4+11)Java HotSpot 64-Bit Server VM (build 9.0.4+11, mixed mode) C:\Users\Question>java -jar NearInfinity.jarError: Unable to access jarfile NearInfinity.jar Quote Link to comment
Jarno Mikkola Posted August 9, 2018 Share Posted August 9, 2018 Error: Unable to access jarfile NearInfinity.jarDid you place the .jar file into the folder ? Quote Link to comment
argent77 Posted August 9, 2018 Share Posted August 9, 2018 (edited) I would also go with Jarno's suggestion first.Does NearInfinity.jar actually exist in C:\Users\Question? You have to specify the full path to the file if it's located in another folder. A simple drag&drop of the file from the file manager to the command prompt will save you some work. Edited August 9, 2018 by argent77 Quote Link to comment
Question Posted August 10, 2018 Author Share Posted August 10, 2018 I can run it from the command prompt, but i get a popup asking me to locate the "infinity keyfile". Quote Link to comment
argent77 Posted August 10, 2018 Share Posted August 10, 2018 That sounds better. You can find the chitin.key in the installation directory of the game you want to open. Quote Link to comment
Question Posted August 10, 2018 Author Share Posted August 10, 2018 Okay, i can open the program that way but for some reason i still cannot run the .jar directly. Shouldnt running the .jar give me the popup to select the chitin key as well? Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.