S
S
superman19842016-01-29 13:16:17
IntelliJ IDEA
superman1984, 2016-01-29 13:16:17

How to fix error (does not point to a valid jvm) in Intellij IDEA when opening files via context menu?

Hello!
When trying to open .java or .class files in Intellij Idea through the context menu (through the right mouse button), an error appears 64c7279f785b44afaebb9f682fec101f.png
. The same error occurs when opening .html or .js files in PHPStorm.
Moreover, if you open the same files from the program itself - everything is correct!
Thanks for the help!
981327913b174a6696a9a7babd220c85.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
superman1984, 2016-01-29
@superman1984

Who needs it, the solution is described here

S
Sergey Novikov, 2016-01-29
@BOOMER_74

I will assume that the matter is in the working directory (when opening through the environment, the path of the environment is used, when opening a file - the folder of the file). At the same time, Intellij and all derivatives come with Java version 7, and the transition to 8 occurred in the latest EAP builds. If you had Java 7, then most likely you would not notice the error.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question