Running Forge
by mtgrares
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Running Forge
by sky81 » 08 Nov 2022, 10:26
Hello,
Can anyone help me with the topic bellow?
I have an issue when trying to run/debug the Forge project with Intellij:
Connected to the target VM, address: '127.0.0.1:50761', transport: 'socket'
Unknown mode.
Known mode is 'sim', 'parse'
Disconnected from the target VM, address: '127.0.0.1:50761', transport: 'socket'
I cannot figure out what seems to be the problem
Thanks
Can anyone help me with the topic bellow?
I have an issue when trying to run/debug the Forge project with Intellij:
Connected to the target VM, address: '127.0.0.1:50761', transport: 'socket'
Unknown mode.
Known mode is 'sim', 'parse'
Disconnected from the target VM, address: '127.0.0.1:50761', transport: 'socket'
I cannot figure out what seems to be the problem
Thanks
- sky81
- Posts: 18
- Joined: 29 Jan 2021, 18:09
- Has thanked: 0 time
- Been thanked: 0 time
Re: Running Forge
by kevlahnota » 09 Nov 2022, 03:00
try to add configuration in intelliJ and setup it like this:sky81 wrote:Hello,
Can anyone help me with the topic bellow?
I have an issue when trying to run/debug the Forge project with Intellij:
Connected to the target VM, address: '127.0.0.1:50761', transport: 'socket'
Unknown mode.
Known mode is 'sim', 'parse'
Disconnected from the target VM, address: '127.0.0.1:50761', transport: 'socket'
I cannot figure out what seems to be the problem
Thanks
for mobile version using Java 8:
for desktop version using Java 8:
if using java 11 or higher add these options:
- Code: Select all
--add-opens
java.base/java.util=ALL-UNNAMED
--add-opens
java.base/java.lang=ALL-UNNAMED
--add-opens
java.base/java.lang.reflect=ALL-UNNAMED
--add-opens
java.base/java.text=ALL-UNNAMED
--add-opens
java.desktop/java.awt.font=ALL-UNNAMED
--add-opens
java.base/jdk.internal.misc=ALL-UNNAMED
--add-opens
java.base/sun.nio.ch=ALL-UNNAMED
--add-opens
java.base/java.nio=ALL-UNNAMED
--add-opens
java.base/java.math=ALL-UNNAMED
--add-opens
java.base/java.util.concurrent=ALL-UNNAMED
--add-opens
java.desktop/java.awt=ALL-UNNAMED
--add-opens
java.base/java.net=ALL-UNNAMED
--add-opens
java.desktop/javax.swing=ALL-UNNAMED
--add-opens
java.desktop/java.beans=ALL-UNNAMED
--add-opens
java.desktop/javax.swing.border=ALL-UNNAMED
-Dio.netty.tryReflectionSetAccessible=true
to build desktop and mobile/adventure port use this command (double click ctrl key and run this maven command):
- Code: Select all
mvn -U -B clean -P windows-linux install
-
kevlahnota - Programmer
- Posts: 825
- Joined: 19 Jul 2010, 17:45
- Location: Philippines
- Has thanked: 14 times
- Been thanked: 264 times
Re: Running Forge
by sky81 » 10 Nov 2022, 18:38
Thanks for your help. Manage to solve it with settings you sugested and downgrade to java 11 and branch project on git (before I took the project from zip file)
- sky81
- Posts: 18
- Joined: 29 Jan 2021, 18:09
- Has thanked: 0 time
- Been thanked: 0 time
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 164 guests