[Tutorial]2024.4 When the client does not run after an update.

Started by dkrdjdi on

Topic category: Troubleshooting, bugs, and solutions

Active 2 days ago
Joined May 2013
Points:
904

User statistics:

  • Modifications: 0
  • Forum topics: 25
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 109
[Tutorial]2024.4 When the client does not run after an update.

java.exe finished with non-zero exit value -1

https://imgur.com/gXMHN0k

This error occurs when you run the client after the update.

 

 

[Solution]

1) Run the CMD(Command Prompt, cmd.exe)

 

2) Enter the following command.

netstat -ano | findstr :1099

https://imgur.com/cgDAfrO

Remember the port number located at the end.

 

3) Enter the following command.

taskkill /PID (ID) /F

https://imgur.com/vnognVI

 

4) It will now build normally.

 

 

 

Active 2 days ago
Joined May 2013
Points:
904

User statistics:

  • Modifications: 0
  • Forum topics: 25
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 109
If you have a program that…
Tue, 12/17/2024 - 06:44

If you have a program that is using the same port, that error occurs.
In my case, java.exe and MCreator used the same port (1099), so the error occurred.

Active 2 days ago
Joined May 2013
Points:
904

User statistics:

  • Modifications: 0
  • Forum topics: 25
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 109
Picked up JAVA_TOOL_OPTIONS:…
Tue, 12/17/2024 - 07:16

Picked up JAVA_TOOL_OPTIONS: -Dcom.sun.management.jmxremote.port=1099


The port contents of the message may differ above the build error message.
You can enter the command according to the port value.

It could also be due to…
Tue, 12/17/2024 - 16:44

It could also be due to firewall preventing MCreator from accessing the port

Active 2 days ago
Joined May 2013
Points:
904

User statistics:

  • Modifications: 0
  • Forum topics: 25
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 109
My method has a high…
Wed, 12/18/2024 - 04:32

My method has a high probability of recurrence
I'll try the method you told me.
:)