You need to manually update the libraries in your Rush environment by downloading them from the ai2 sources on github.
Besides, this is not a topic for correcting faulty code. Here you can report bugs in Rush, what you show are not bugs in Rush operation.
Kindly go through this thread, you will find the solution. Set java 8 path as environment variable
I think that's happening because a newer version of java is being used?
I am using JDK 8u421
Are you using any class file that was created in a newer version of java?
No i am not using that.
java -vesion && javac -version
and show the result
What IDE are you using to write the code?
VS Code
I had the same error with VSCode and Android Studio, apparently it was due to a bad configuration that I had previously before installing Rush.
But I installed Intellij IDEA putting it in Java 8 and it worked perfectly.
I'll tell you about my experience, maybe the same thing happens.
I compiled code same code with niotron, successfully worked.
Yes, I was also racking my brain for that reason, it worked on Niotron, but not on Rush, until I did that, but your situation may be different, you could try it and see what happens.
It will obviously work on Niotron's IDE as they have configured everything for us.
Am I doing something wrong here?
Rush is not found after installation.
i have already added the line that has to be added in $HOME/.bash_profile
I don't think the java version is a problem here.
No its not java version problem
which distribution of linux you're using
Here, I am using Arch Linux (btw)