RandomSwordmaster Posted July 16, 2015 Share Posted July 16, 2015 Whenever I try running FEditor Adv using the start.bat(running it normally does nothing for some reason), I get that FeditorAdvance.app failed to launch, then a bunch of javanullpointer exceptions. Anybody know how to fix this? Quote Link to comment Share on other sites More sharing options...
Klokinator Posted July 16, 2015 Share Posted July 16, 2015 Why aren't you running this file? http://gyazo.com/53368114aef228bd0adbc1e200658ec9 Quote Link to comment Share on other sites More sharing options...
Chocolate Kitty Posted July 16, 2015 Share Posted July 16, 2015 you actually shouldn't be running the .jar, but if the .bat isn't working the .jar is your backup(because the .bat is just opening the .jar) Quote Link to comment Share on other sites More sharing options...
RandomSwordmaster Posted July 16, 2015 Author Share Posted July 16, 2015 The .jar doesn't do anything when i try to start it. That's why I tried the .bat Quote Link to comment Share on other sites More sharing options...
CT075 Posted July 16, 2015 Share Posted July 16, 2015 It makes no difference which one you use Try recompiling the jar Quote Link to comment Share on other sites More sharing options...
RandomSwordmaster Posted July 16, 2015 Author Share Posted July 16, 2015 It makes no difference which one you use Try recompiling the jar I'm....not entirely sure how you do that.... Quote Link to comment Share on other sites More sharing options...
CT075 Posted July 16, 2015 Share Posted July 16, 2015 I don't remember if there was a compile.py script in the most recent release; if there was, just install the most recent jdk and run that If the script is not there, look it up (I'm on a phone so I can't walk you through it) Quote Link to comment Share on other sites More sharing options...
RandomSwordmaster Posted July 16, 2015 Author Share Posted July 16, 2015 All I see is a build.py file, not a compile.py. Quote Link to comment Share on other sites More sharing options...
CT075 Posted July 16, 2015 Share Posted July 16, 2015 ...so try that? Quote Link to comment Share on other sites More sharing options...
RandomSwordmaster Posted July 16, 2015 Author Share Posted July 16, 2015 Well I tried it, still the same problem...then again i don't have jdk installed. I'll try again once I install jdk. Might be a bit though. Quote Link to comment Share on other sites More sharing options...
CT075 Posted July 16, 2015 Share Posted July 16, 2015 Note that build.py creates a file named FE_Editor.jar and doesn't replace the existing file Quote Link to comment Share on other sites More sharing options...
Klokinator Posted July 16, 2015 Share Posted July 16, 2015 you actually shouldn't be running the .jar, but if the .bat isn't working the .jar is your backup(because the .bat is just opening the .jar) Oh huh, I've always run from the .jar. Quote Link to comment Share on other sites More sharing options...
RandomSwordmaster Posted July 16, 2015 Author Share Posted July 16, 2015 Apparently, build.py doesn't want to work either. Says it can't find the file path specified -_- Quote Link to comment Share on other sites More sharing options...
CT075 Posted July 16, 2015 Share Posted July 16, 2015 then open it up in a text editor and fix it for yourself Quote Link to comment Share on other sites More sharing options...
RandomSwordmaster Posted July 16, 2015 Author Share Posted July 16, 2015 (edited) but...i dun know enough python to know how to fix T_T The only thing I really need FEditor Adv for is replacing portraits. Literally everything else I have covered and doable. Edited July 16, 2015 by RandomSwordmaster Quote Link to comment Share on other sites More sharing options...
CT075 Posted July 16, 2015 Share Posted July 16, 2015 (edited) you literally need to fix a system path there is no python involved whatsoever short of knowing that .py files are plaintext which i just told you E: or, i suppose, if you really don't want to think for yourself, you can go insert with GBAGE; the pointers to the portrait tables are all in FEditor's source code and you can probably finagle GBAGE into inserting properly if you're willing to format it for yourself Edited July 16, 2015 by CT075 Quote Link to comment Share on other sites More sharing options...
RandomSwordmaster Posted July 16, 2015 Author Share Posted July 16, 2015 (edited) The error seems to be coming from this line for some reason shutil.rmtree('build') EDIT: After doing some quick research, build.py seems to be trying to remove a directory "build" then replace it with src stuff, but "build" doesn't exist, so it gives that error. EDIT2: made a empty folder with "build" in it, ran build.py, then tried running run.bat, still same java errors EDIT3: realized what it was trying to do, replacing files in FEditor Adv.jar with src files, gonna try something EDIT4: tried it, didn't work, now i'm quite frustrated. Edited July 16, 2015 by RandomSwordmaster Quote Link to comment Share on other sites More sharing options...
CT075 Posted July 16, 2015 Share Posted July 16, 2015 java jars aren't plaintext i mean you could try installing the jdk and compiling it for yourself with javac Quote Link to comment Share on other sites More sharing options...
RandomSwordmaster Posted July 16, 2015 Author Share Posted July 16, 2015 java jars aren't plaintext i mean you could try installing the jdk and compiling it for yourself with javac I opened up the java jar with winrar, replaced files with files from src folder(which is basically what build.py was trying to do), still didn't work, same error. Quote Link to comment Share on other sites More sharing options...
CT075 Posted July 17, 2015 Share Posted July 17, 2015 (edited) ...that's because that's not how it works; you haven't actually changed anything inside the executable a jar file is not just a zipfile of plaintext src files you need to compile them into class files, which are then jarred (not zipped, it uses a different compression algorithm) into the jar E: what build.py does is compile each source file with javac ("Whatever.java") individually, which creates a "Whatever.class" file. These are then moved from "src" (because that is where javac outputs class files by default) into "build" because it's good practice to keep your unjarred files. Finally, the *.class files in build are jarred to create the final "FEditor Adv.jar" executable. it's pretty much just a wrapper around standard system commands (you can do the same thing from a cmd or shell terminal/script) if you just copied the text files into the jar i'm surprised it even got far enough for the jvm to give you an error Edited July 17, 2015 by CT075 Quote Link to comment Share on other sites More sharing options...
ghast Posted July 17, 2015 Share Posted July 17, 2015 is your java updated? check if your jabba is updated sometimes feditor wont work if your jeffrey isn't updated Quote Link to comment Share on other sites More sharing options...
RandomSwordmaster Posted July 17, 2015 Author Share Posted July 17, 2015 Java is latest version. I'm just going to try running FEditor Adv on a different computer and do all the crap i have to do there. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.