简体   繁体   中英

Windows 10- In eclipse (Oxygen version), createProcess error=206, The filename or extension is too long

Operating system - Windows 10

Error as soon as the application is launched in eclipse(Oxygen version)

Exception occurred executing command line. Cannot run program "C:\\Program Files\\Java\\jre1.8.0_171\\bin\\javaw.exe" (in directory "C:\\PPM\\PPML10_41A"): CreateProcess error=206, The filename or extension is too long.

Have tried JDK instead of JRE. Have tried different version of jre 1.8 too. Have tried placing it in other directory like "D:\\Java\\jre1.8.0_171\\bin\\javaw.exe".

If you made your own build file rather than the [Proj] -> [Gen Javadocs] thing, you can add useexternalfile=“yes” to the javadoc tags; I'm pretty sure this should help but I'm still in bed in my phone, so I'll check up later to see if it didn't.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM