JPA-QL problem

Answered

Hi, I'm using IntelliJ 15 community version with jre 1.8.0_51, and I'm trying to use the jpa console, but I have this problem:

jpa-ql> select a from Employee a
[2016-03-30 11:02:24] Cannot run program "C:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0\jre\jre\bin\java" (in directory "C:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0\bin"): CreateProcess error=206, Nome del file o estensione troppo lunga (file name too long).

 

Possible solutions ?

Thanks you so much.

6 comments

Do you have "C:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0\jre\jre\bin\java.exe" file? If not, try reinstalling IDEA from http://confluence.jetbrains.com/display/IntelliJIDEA/Previous+IntelliJ+IDEA+Releases.

0

Hi Serge,

yes i i have java.exe file in that path.

 

0

It appears that the full command path becomes too long and exceeds the OS limit. Does it help if you install IDEA into C:\idea?

0

Ok, i'll try it, thanks you.

Good work.

0

Sorry Serge,

i have installed a new istance of IntelliJ under E:\IDEA\ and now i have the same error:    :(((

[2016-03-30 12:12:50] Cannot run program "E:\IDEA\jre\jre\bin\java" (in directory "E:\IDEA\bin"): CreateProcess error=206, Nome del file o estensione troppo lunga

why is this happening?

0

Please sign in to leave a comment.