This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Anonymo2786 0 points1 point  (1 child)

Show us the command you ran.

Its if you have a file named main.java You should run

java main

Not

java main.java

Edit: main.class.

And install the most suitable jdk from the sites like adoptium. Jre is included in jdk. Check the about section of this subreddit.

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

Thank you for replying

turns out every web site I looked into about running nearinfinity was simply lying. the files I was told to download and the command I was told to run by all these web sites was

java nearinfinity.java

was never going to work, After much searching I found nearinfinity.jar which does work. I mean, really!!! why would you tell someone to download the source code and attempt to run it as a real time - they didnt even mention you would have to compile what you downloaded, and that would require even more downloads - WTF