Ferrari430 Posted March 5, 2023 Report Share Posted March 5, 2023 I just bought Hero Designer, followed the installation guide, used jarfix, but I have an error when launching it: "Could not find the main class: com.hero.Launcher. Program will exit". Please, help Quote Link to comment Share on other sites More sharing options...
Simon Posted March 5, 2023 Report Share Posted March 5, 2023 How are you attempting to run HD when you get that error? Quote Link to comment Share on other sites More sharing options...
Ferrari430 Posted March 5, 2023 Author Report Share Posted March 5, 2023 Yes Quote Link to comment Share on other sites More sharing options...
Simon Posted March 5, 2023 Report Share Posted March 5, 2023 It wasn't a yes or no question. Quote Link to comment Share on other sites More sharing options...
Ferrari430 Posted March 5, 2023 Author Report Share Posted March 5, 2023 8 minutes ago, Simon said: How are you attempting to run HD when you get that error? I am just clicking on HD6 Quote Link to comment Share on other sites More sharing options...
Simon Posted March 5, 2023 Report Share Posted March 5, 2023 List the full contents of the directory that you're running HD from. Also, have you changed how your system runs a .jar file (beyond running jarfix)? The error you're reporting would only happen if Java couldn't find the referenced class file, which is included in HD6.jar...so something in your process has either modified HD6.jar or removed it from the locations that Java will search for files. Quote Link to comment Share on other sites More sharing options...
Ferrari430 Posted March 5, 2023 Author Report Share Posted March 5, 2023 (edited) 27 minutes ago, Simon said: List the full contents of the directory that you're running HD from. Also, have you changed how your system runs a .jar file (beyond running jarfix)? The error you're reporting would only happen if Java couldn't find the referenced class file, which is included in HD6.jar...so something in your process has either modified HD6.jar or removed it from the locations that Java will search for files. I attached a screenshot of my folder. I have never dealt with .jar files before. I tried to reinstall it multiple times. Edited March 5, 2023 by Ferrari430 Quote Link to comment Share on other sites More sharing options...
Simon Posted March 5, 2023 Report Share Posted March 5, 2023 Open a command prompt and cd to that directory. Run the following and let me know the results: java -jar HD6.jar Quote Link to comment Share on other sites More sharing options...
Ferrari430 Posted March 5, 2023 Author Report Share Posted March 5, 2023 (edited) 1 hour ago, Simon said: Open a command prompt and cd to that directory. Run the following and let me know the results: java -jar HD6.jar I had an error while running this command. I deleted and re-downloaded Java and now everything works. Thanks If you don't mind me asking here, is there a way to make all text larger in the programme? Edited March 5, 2023 by Ferrari430 Quote Link to comment Share on other sites More sharing options...
Simon Posted March 5, 2023 Report Share Posted March 5, 2023 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.
Note: Your post will require moderator approval before it will be visible.