1.6.5 IDE installs fine, splash screen, and then Nothing. Win7 Pro 64- Resolved

Laptop of Windows 7 Pro and Arduino 1.6.5 - works great.
Work computer Windows 7 Pro and Arduino 1.6.5 -- problems.

The install works fine, but when I launch, the splash screen would come up (Loading Config...) and then disappear.

I read that I should try: arduino_debug.exe
I got the following....


arduino_debug.exe
Loading configuration...
java.lang.ArrayIndexOutOfBoundsException: 3
at processing.app.windows.RegQueryParser.parse(RegQueryParser.java:29)
at processing.app.windows.RegQueryParser.(RegQueryParser.java:14)
at processing.app.windows.Platform.getFolderPathFromRegistry(Platform.ja
va:71)
at processing.app.windows.Platform.recoverSettingsFolderPath(Platform.ja
va:55)
at processing.app.windows.Platform.init(Platform.java:50)
at processing.app.Base.guardedMain(Base.java:148)
at processing.app.Base.main(Base.java:132)


I watched task manager to see that javaw.exe would start and quickly die.
So, I uninstalled the IDE and reinstalled. Same result.
I uninstalled java and reinstalled (both 32 and 64 bit) - Same result both ways.

I tried uninstalling both, rebooting, reinstalling, rebooting, and trying. Also tried a couple of prior IDE versions with same result.

I removed spyware and virus protecting thinking it might be blocking javaw (even though I was able to confirm other java apps worked.

Now, arduino-debug.exe gave me the following error:


org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:147)
at processing.app.windows.Platform.getFolderPathFromRegistry(Platform.java:70)
at processing.app.windows.Platform.recoverDefaultSketchbookFolder(Platform.java:60)
at processing.app.windows.Platform.init(Platform.java:51)
at processing.app.Base.guardedMain(Base.java:153)
at processing.app.Base.main(Base.java:137)


I AM the administrator at work. So, I have admin rights; however, I did try 1.6.5 with the installer and the zip download. Same results. Keep in mind, install went perfect. It simply doesn't complete the launching as it gets stuck at Loading configuration.

Never having an issue with any other software, I was stumped.

Other testing:
(confirmed it is not the machine and the user rights)
Logged in as administrator - IDE works.
Logged in as another user - IDE works.
Logged in on another machine as my profile (profile gets created on new machine) - IDE works
So, it was specific to my machine with my profile.

Resolution:
I had to delete my profile (actually moved/renamed it in c:\users\profile ), logged into machine as me (creates same name profile), then copy everything from the old (moved) profile. Now everything works and I retained everything from my old profile.

It is working okay now ?

Windows 7 doesn't need any Java installed. The Arduino contains it own subset of Java. If Java is installed and some of those files are incompatible with Arduino then it won't work very well.
Old Java or old Arduino files can cause trouble. I try to keep my computer as clean as possible. I use JavaRa to remove every Java file and I don't even install Arduino, but use the zip file.

I read that there was a quick fix for 1.6.5. The newest version is 1.6.5-r2.

Yes, I am completely fine after I let windows rebuild my profile.

I was just explaining everything I went through without success trying to get it to work until I was finally able to do it. Explained in my post so that others might try what I did.

In the end, it didn't have anything to do with the Arduino build, or java, or virus/malware/firewall protection. I had to let windows rebuild the profile even though everything else on the computer worked fine.

PS. Yes, I tried many versions including r2 before the profile attempt (and success).

Thanks for this post. Worked for me after trying to get Arduino to launch for a while. Created new profile, installed arduino to new profile. Arduino v.1.6.5 worked as expected. I am sure a bug will be fixed to help with this but, glad to be up and running.

OS: Windows 7 pro 64bit

I have the same issue.

I'm running 1.6.5 R5 on the 32-bit Win7.
I'm also a systems admin but cbf doing what the other guy did.

Just letting you know it's still an issue.

FYI -> if you have this issue and you're thrifty with time... just install the 1.6.4 version. Whats a treat.

Usually the solution is to delete the folder C:\Users{your user name}\AppData\Roaming\Arduino15 and restart the Arduino IDE.

I had the similar issue with Arduino 1.6.7 when I installed it after uninstalling Arduino 1.05 on Windows 8. I tried all the above and it did not work. I ran Arduino debugger. I found the issue was "documents/aduino" folder which contained my old sckeches. I renamed that and everything is working well since then.