Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

I cant run minecraft from eclipse, gradle help me plssssss


NastyStuffy
 Share

Recommended Posts

When I clicked "Run Start" in eclipse, the program asked me to select Main class, I tried to select:
https://imgur.com/a/q5ioiwo Run configurations screenshot

I will leave the console output under each item

1.LaunchTesting net.minecraftforge.userdev

2021-08-11 16:36:22,592 main WARN Advanced terminal features are not available in this environment
Exception in thread "main" java.lang.IllegalArgumentException: Environment variable target must be set.
    at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:55)
Picked up _JAVA_OPTIONS: -Xmx3072M

2. Main net.minecraft.client.main

2021-08-11 16:33:47,281 main WARN Advanced terminal features are not available in this environment
Exception in thread "main" joptsimple.MissingRequiredOptionsException: Missing required option(s) [accessToken, version]
    at joptsimple.OptionParser.ensureRequiredOptions(OptionParser.java:426)
    at joptsimple.OptionParser.parse(OptionParser.java:400)
    at net.minecraft.client.main.Main.main(Main.java:77)
Picked up _JAVA_OPTIONS: -Xmx3072M

3. Start mcp.client

2021-08-11 16:35:47,137 main WARN Advanced terminal features are not available in this environment
Exception in thread "main" java.lang.NullPointerException
    at net.minecraftforge.fml.loading.BackgroundWaiter.runAndTick(BackgroundWaiter.java:33)
    at net.minecraft.client.main.Main.main(Main.java:123)
    at mcp.client.Start.main(Start.java:17)

BUT
  if I do not use gradle, everything started fine for me, but I decided to use it, because I, I think, did not load assets.

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
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.