I have feeling that I messed up something badly, I am new Linux user, so I was trying to install java..
So basically the command that I run in terminal is following:
Error which I get
-bash: /usr/local/java/jdk-16/bin/java: cannot execute binary file: Exec format error
I was basically following this tutorial, and I might know where’s problem, but now I can’t find out which one tutorial I followed up, because after I did everything it didn’t worked, so I treid another one… And I can’t really recall the exact path where I was creating those changes(in which directory). I just know that I was going into /exec/ and there was some other files that I made changes to with nano, I remember that I added something like $JAVA_HOME = …. and then something
If someone can help, I’d be grateful