Jump to content

Error: Could not find the main class: com.hero.Launcher. Program will exit


Ferrari430

Recommended Posts

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.

Link to comment
Share on other sites

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. 

image.png

Edited by Ferrari430
Link to comment
Share on other sites

 

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 by Ferrari430
Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...