Community
Participate
Working Groups
Build Identifier: Version: Indigo Service Release 2 Build id: 20120216-1857 This event is succeed when run as.. java aplication with a class java that consume jpa entity for save data in oracle. java.io.IOException: Cannot run program "H:\Herramientas\Java\jre6\bin\javaw.exe" (in directory "H:\Proyectos\SAPLA"): CreateProcess error=206, The filename or extension is too long at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at org.eclipse.debug.core.DebugPlugin.exec(DebugPlugin.java:848) at org.eclipse.jdt.launching.AbstractVMRunner.exec(AbstractVMRunner.java:73) at org.eclipse.jdt.internal.launching.StandardVMRunner.run(StandardVMRunner.java:317) at org.eclipse.jdt.launching.JavaLaunchDelegate.launch(JavaLaunchDelegate.java:101) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703) at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937) at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.io.IOException: CreateProcess error=206, The filename or extension is too long at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 11 more Reproducible: Always Steps to Reproduce: 1. Install windows 7 64 bits, jdk 1.6u31 x64, eclipse Indigo 3.72 x86,64 bits, oracle 64 bits, jboss 6.0.1 final Take care dont install in PRogram Files, else in directory or paths without spaces. 2. Create project web dynamic project with jpa hibernate, jsf 3. Create resource of jpa entity every oracle database 4. Create class that permited save data in oracle using persistence entitymanager, entitymanagerfactory, Persistence. 5. Try run..as Java aplication
Dupe of bug 327193 *** This bug has been marked as a duplicate of bug 327193 ***
Why duplicate? Seems to be a different bug actually: #376393: CreateProcess error=206, The filename or extension is too long #327193: CreateProcess error=87, The parameter is incorrect
It is actually a duplicate, since the solution to the other bug will also resolve this one.
Use Long Path Tool, Long Path Tool can simplify and probably end your problems in unlocking, managing and renaming files that appear to have a long filename.