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

Java 6 and Mac?


TheGreyGhost
 Share

Recommended Posts

You can target java 6 even when developing with JDK 7, or 8.

You should probably recompile for it.

Anyways, minecraft natively targets java 6, only really old macs are locked into java 6, but it can be updated.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Patreon: http://www.patreon.com/lexmanos
Paypal: http://paypal.me/LexManos

BitCoin: 1Q8rWvUNMM2T1ZfDaFeeYQyVXtYoeT6tTn

Link to comment
Share on other sites

I am using the latest java 8 version on my mac and although everyone always told me that minecraft is not compatible with java 8 it works better than 7 or 6.

EDIT: ok, i am not using the latest version. Java just popped up and told me to update. NOW i am using the latest version. Still works great.

Here could be your advertisement!

Link to comment
Share on other sites

This only happens on certain Macs, since the Mac MC Launcher ships Java 6 and it forces the user to use it (like Lex said).

 

So either recompile it targeting v6 or, like I do, point them to this link: http://www.minecraftforum.net/forums/minecraft-discussion/discussion/2247090-tutorial-how-to-use-java-7-on-mac

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Link to comment
Share on other sites

Thanks guys.

 

I recompiled for V6 and a whole stack of code to do with Path needs rewriting, which is just a bit too much work for little return

 

@SanAndreasP - thx for link.  After a bit more googling to understand it, I found another similar one which goes into a little bit more detail

http://gaming.stackexchange.com/questions/178178/making-minecraft-run-with-java-8-on-os-x-10-10

The second one (from "Teilo") looks simpler...

 

-TGG

 

 

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • What do you mean "not working"? Your code (if it were logical) does nothing. Additionally, you have the following issues: You are using a client-only class (Minecraft) from common code (ClientSyncPacket). Your packet does not tell the client which player this is about. It needs to do so using the player's ID. Currently your packet just uses Minecraft#player, which is not necessarily the correct player.
    • when i tried joining a world my mc crashed exit code -805306369
    • Hello There! In the 73rd episode of Bed Wars we get into a lobby with a guy who had a cool name and for some reason Ben is very impressed with the name and thus the title!  
    • I have been trying to install forge, but I can't even get the installer to run. I'm really not sure what the issue is, first let me make sure I am even using the installer right, I downloaded the forge installer matching my minecraft version (1.19.2), if I double click the .jar from the download then I see a flash of a black window that immediately disappears. If I use a command prompt, I receive the following output: C:\Users\austi> java -jar forge-1.19.2-43.0.19-installer.jar Error: Unable to access jarfile forge-1.19.2-43.0.19-installer.jar   I feel like this is more likely a java issue than a forge issue but I was hoping that people here might be able to help. I've tried a couple versions of java, at first I was using 8 I believe because all of the install guides for forge were a bit older so they linked to the java website rather than oracle. I tried version 18 from the oracle site and received the same result from command prompt. It is also entirely possible that I am doing something else wrong that is blatantly obvious to everyone else.
    • Here is my configuration: % java -version java version "18.0.2" 2022-07-19 Java(TM) SE Runtime Environment (build 18.0.2+9-61) Java HotSpot(TM) 64-Bit Server VM (build 18.0.2+9-61, mixed mode, sharing) forge-1.19-41.1.0-mdk on macOS Monterey 12.5 I ran the command: ./gradlew genEclipseRuns and was hoping it will generate the Eclipse project files for me. The run log is at https://gist.github.com/arun-gupta/06b983a6976b4c0a0f510d0dc225ddd3 and the generated directory structure is at https://gist.github.com/arun-gupta/3f5bfc70ec5d3d903b0f97d42840abda. In previous versions (1.12-ish), it used to generate an eclipse directory but 1.19 does not seem to have it. I tried opening the top-level forge directory but Eclipse does not recognize it as a project as well. How do I open this project in Eclipse now?  
  • Topics

×
×
  • Create New...

Important Information

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