Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

CreateProcess error=206, The filename or extension is too long

TiminOct 9 2017 — edited Nov 9 2017

Hello

I'm trying to migrate from Jdeveloper 11g to Jdeveloper 12c.

My old simple project cannot be started with the following error:

The target jpr cannot be started because an exception was thrown: java.io.IOException: Cannot run program "C:\Oracle\Middleware\Oracle_Home\oracle_common\jdk\bin\javaw.exe" CreateProcess error=206, The filename or extension is too long

I searched solutions but revealed only ant specific answers. I dont want to wrap my project into ant. Is there a simple way to fix the trouble for jpr project.

Do i need to change the required library jar-files locations to another folder with shorter length? If so, then how to do this quickly.

Thanks in advance.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 7 2017
Added on Oct 9 2017
25 comments
7,884 views