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

Started by dkrdjdi on

Topic category: Troubleshooting, bugs, and solutions

Joined May 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[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.

 

 

 

Joined May 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.

Joined May 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.