This question is very similar to this question except the environment and the way I am getting this error. I also tried solution provided in the answer but no luck.
I am using Eclipse for developing a Spring Boot Application on Computer1. The JDK/JRE version on Computer1 and Eclipse is JDK 13.0.1.
Now, I created a fat-JAR using eclipse mvn install and copied fat-JAR to Computer2. When I run the JAR file on Computer2 then I get the following error
On Computer2 I have JDK 13.0.1 installed and environment variable set. I removed the path "C:\Program Files (x86)\Common Files\Oracle\Java\javapath" from my Environment path as suggested by this similar question.
Any idea/suggestion how to resolve this issue.