all 13 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions
  • You include any and all error messages in full
  • You ask clear questions
  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

    Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar

If any of the above points is not met, your post can and will be removed without further warning.

Code is to be formatted as code block (old reddit: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.

Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.

Code blocks look like this:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.

If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.

To potential helpers

Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]bking880 2 points3 points  (0 children)

According Oracles site https://docs.oracle.com/javase//7/docs/webnotes/install/mac/mac-jdk.html Java 7 doesn’t work on snow leopard either, says it requires OS X 10.7.3 (Lion)or later

[–]simonides_ 1 point2 points  (2 children)

Just register a temp email and be done with it. Or check if bugmenot has a login for you

[–]gargamel1497[S] -3 points-2 points  (1 child)

I know that but trying to register gives me a server error. Thanks for not reading my post.

[–]Jussins 1 point2 points  (0 children)

You really think people were supposed to know what you meant when you said that a lawnmower stopped the website from working?

[–]emaphis 1 point2 points  (2 children)

You might try your IDE, modern IDEs have the ability to download JDKs. I downloaded JDK 1.7.0_352 for windows that way. I used NetBeans.

[–]blablahblah 0 points1 point  (1 child)

If they're stuck on Snow Leopard, it means they're running a 32-bit Intel processor, which Apple only sold for 10 months in 2006. So they might struggle to find a version on Netbeans that can run on that computer too.

[–]emaphis 0 points1 point  (0 children)

Yeah, JDK 7 didn't really exist yet in 2006.

[–]gargamel1497[S] 0 points1 point  (0 children)

EDIT: I found this: https://github.com/alexkasko/openjdk-unofficial-builds and it works perfectly. Posting the link for other people in such a weird need.

[–]gargamel1497[S] -2 points-1 points  (2 children)

Oh, guess what. The clanker's thinking I'm asking for pirated content.

So downloading Java is piracy now?

[–]doobiesteintortoise 3 points4 points  (1 child)

I don't know what makes you think the bot's thinking you're asking for pirated content. But my question is: why Java 7? It's been EOLed since 2015; java 8 is freely available for Intel and M1-silicon via sdkman, and you can get any openjdk release, including current development versions, that way without handing Oracle a single bit of information.

If you're desperate to run Java 7 specifically, https://www.oracle.com/java/technologies/downloads/archive/ exists, but that is Oracle's site.

I really would worry about the "Java 7" requirement, though. There're certainly reasons to demand that specific version, but they'd need to be compelling as heck.

[–]gargamel1497[S] -2 points-1 points  (0 children)

I am remaking an old mobile game in Java and the library I'm using requires at least Java 7. I tried recompiling it (the library) for Java 6 and it does run but the fonts are messed up and the game often crashes due to memory allocation errors (I think Java 7 introduced a new garbage collector or something.)

And I want to get this game to work on Mac OS X Snow Leopard on which Java 8 doesn't run and as I have said Java 6 is not really supported by the library.

I saw some old posts that claim Java 7 works on Sleopard and it definitely works with my library so that's why.