jung6717 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Access is denied when starting arduino IDE #213

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Double click Arduino.exe
2.
3.

What is the expected output? What do you see instead?

First I see the splash screen, and then a windows pops upp with this 
message: "Launch4J": "An error occured while starting the application"
"Access is denied".

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?
0018

Please provide any additional information below.
Windows 7.

Original issue reported on code.google.com by halot...@gmail.com on 28 Feb 2010 at 2:25

GoogleCodeExporter commented 8 years ago
This is almost certainly a problem with the Windows 7 application 
authentication stuff.  You may have to try 
"running as" an Admin user.

Original comment by clvrm...@gmail.com on 28 Feb 2010 at 3:58

GoogleCodeExporter commented 8 years ago
i have exactly same problem and running it as admin change noting to the 
problem, arduino keep being deadly slow and crashing after few ...long...minutes

Original comment by johann.a...@gmail.com on 10 Jun 2010 at 12:29

GoogleCodeExporter commented 8 years ago
damn just by trying different stuff i end up turning off my wifi and bluetooth 
card and BIM it worked...
 ok clearly weird issue but seems to be a real conflict between the java SE binary platform and arduino compilation when wireless is on for win 7...nothing to go with authentification i can sware

Original comment by johann.a...@gmail.com on 10 Jun 2010 at 12:58

GoogleCodeExporter commented 8 years ago
I solved my problem a long time ago, and I think I had to run as administrator, 
as clvrmnky said. Thanks.
I have no wifi on that machine.

Original comment by halot...@gmail.com on 10 Jun 2010 at 7:30

GoogleCodeExporter commented 8 years ago
I have the same problem, when I turn my wireless off it starts, when it's on it 
doesnt.
Any fixes for this issue?

Original comment by barabas....@gmail.com on 11 Jun 2010 at 5:16

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
For those that have reported this problem and it is resolved by turning off 
your wireless, would you first try the latest version of if IDE along with 
updating to the latest wireless drivers/utilities? Then if the problem still 
exists report what kind of wireless you have along with versions of drivers and 
configuration utility. If it's an OEM vs generic type of wireless driver, 
report the OEM name where the drivers could be downloaded and OS version. 

Original comment by standard...@gmail.com on 28 Sep 2010 at 3:46

GoogleCodeExporter commented 8 years ago
same issue here, Launch4J error window pops up after about a minute of 
inactivity when you try to launch the application (during this time the splash 
screen is displayed). then for the next 20 seconds or so the application seems 
to have crashed, before the main window appears and all is well.

this is on an eMachines EM-350 netbook, no unusual hardware or anything else, 
stock winXP with SP3 as shipped by eMachines. no bluetooth, and the problem 
still occurs even if wireless is turned off.

is there a 'trace' build of the audino application available that will output a 
running log of what it is doing to a console window, or any log files that can 
be checked to see where it gets stuck for that minute?

would be more than happy to help the developers by running a test version of 
the application that is set up to capture required info.

cheers,
rob   :-)

Original comment by ro...@mail.com on 15 Nov 2010 at 12:40

GoogleCodeExporter commented 8 years ago
Hello

the same problem with me, I tried from 0017 to 0022 but no luck. updated JRE n 
turned off wifi still same.

still searching for a solution.

Regards

Original comment by paras...@gmail.com on 14 Apr 2011 at 12:23

GoogleCodeExporter commented 8 years ago
i have now found a solution - at least a solution that works in my case. turn 
off anti-virus software. i'm running Panda Anti-Virus, and with it enabled the 
arduino IDE causes a massive storm of file accesses from the anti-virus process 
(PSANHost.exe) for several minutes while the IDE is trying to start up. i also 
get a launch4j error popup.

if i turn off Panda Anti-Virus, then the IDE starts up normally, taking around 
40 seconds for the edit window to open, and NO launch4j popup.

please do give this a try, and report back here on your success or otherwise.

Original comment by ro...@mail.com on 14 Apr 2011 at 1:04

GoogleCodeExporter commented 8 years ago
Hi,

same problem here (arduino-0022). 

Problem started after using a Bluetooth stick. Removed stick -> Arduino works. 

Bluetooth driver is "Generic Bluetooth Radio".

Original comment by fsiebe...@gmail.com on 3 Jun 2011 at 7:01

GoogleCodeExporter commented 8 years ago
Started having this issue since update 22 on Windows Vista 64 machine.
Problem not seen on versions 17, 18, 19, 20 and 21.

"Run as admin" does not solve the problem.
Removing Bluetooth does not solve the problem.
Deleting preferences.txt does not solve the problem.

I noticed I end up with a lot of javaw.exe*32 entries in task manager, after 
several attempts at running arduino and getting the "Launch4j: An error 
occurred whilst starting the application" dialogue box popup then dismissing it.

Killing these "hung" processes and re-running does not cure the issue.

It is very inconsistent. Yesterday it was working on and off. Today it is not, 
even after a reboot. Now arduino-21 also no longer works. This one just 
disappears with no error messages, or task bar entry. Nothing in the Windows 
(Vista 64) event logs.

It takes over a minute, from launch, for the Launch4j error to popup. All COM 
ports (all two of them - COM1 phys rs232 and COM2 usb - since I removed BT) are 
fine and working normally.

Any logs I should be looking at, or debugging trace options?

Original comment by jdw1...@gmail.com on 12 Jun 2011 at 2:28

GoogleCodeExporter commented 8 years ago
Hi, i was having the same issue with a Dell E1505, and it fixed by disabling 
Dell 355 Bluetooth 2.1 Dongle from Device Manager.

Original comment by neoe...@gmail.com on 7 Jul 2011 at 7:18

GoogleCodeExporter commented 8 years ago
The solution to this problem, for me, was given here: 
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1237179908

Basically, it involves replacing the rxtxSerial.dll in the Arduino folder with 
the version in the aforementioned linked thread. Windows serial port 
enumeration is the issue. Seems Windows has a habit of not recycling serial 
port device designators and you might have as many as 70 or more (as I did) 
defunct COMxxs. This happens with things like repeated Bluetooth driver 
reinstalls, etc.

Original comment by jdw1...@gmail.com on 28 Jul 2011 at 8:08

GoogleCodeExporter commented 8 years ago
I ran into the same problem on my Acer Aspire 1810 TZ. Disabling Bluetooth with 
the hardware switches solved it.

Original comment by wonkoder...@gmail.com on 4 Sep 2011 at 9:38

GoogleCodeExporter commented 8 years ago
Another possible cause:
If you've built the IDE from source then extracted the resulting .zip with 
cygwin's unzip, the .exe and .dll files won't have "execute" permissions.

You can fix the permissions with:
find . -iname \*.exe -o -iname \*.dll -exec chmod +x {} \;

Original comment by ajd4...@gmail.com on 23 Mar 2012 at 8:46

GoogleCodeExporter commented 8 years ago
I'm facing the same problem on Win 7 (64-bit) with Arduino 1.0.1

When I click on arduino.exe the application takes ages to load up and then just 
freezes up. I've disabled bluetooth as advised, but thats not helped. 

Any other suggestions?

Original comment by RSutaria on 31 May 2012 at 8:37

GoogleCodeExporter commented 8 years ago
quick update:
Comment #14 - http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1237179908

This fix worked for me!! Whew, after several days I'm again able to use my 
Arduino IDE. Thank you for providing the rxtxSerial.dll fix. 

Original comment by RSutaria on 31 May 2012 at 9:02

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
After upgrading to 1.0.1 I'm getting "Launch4J": "An error occured while 
starting the application" message. 

Replacing DLL from http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1237179908 
does not solve the problem. 

Running as Administrator does not solve the problem. 

Changing all files rights to All does not solve the problem. 

Fresh install of 1.0 starts OK as expected. 

Original comment by bartosz....@gmail.com on 21 Jun 2012 at 11:42

GoogleCodeExporter commented 8 years ago
bartosz: any chance your computer is in Polish?  There's a bug in the Polish 
translation that causes 1.0.1 to crash.  See issue 942 for details.

Original comment by dmel...@gmail.com on 23 Jun 2012 at 3:17

GoogleCodeExporter commented 8 years ago
I'm sorry so many people are having trouble getting the Arduino software to 
run.  Unfortunately, because this can be caused by a bunch of different things, 
it doesn't really make sense as an issue here.  If you're having trouble 
getting the software to run, please post on the troubleshooting forum 
(http://arduino.cc/forum/index.php/board,2.0.html).  As you identify specific 
bugs that are causing the problem, please open new issues for them so we can 
fix them.  Thanks!

Original comment by dmel...@gmail.com on 23 Jun 2012 at 3:19

GoogleCodeExporter commented 8 years ago
The error mentioned here has probably to do with the inability to access data 
in the appdata folder. Have any of you recently had a Ransomware problem by any 
chance?

This should fix the starting problem for most people with Win7 and Vista(XP 
same but different paths):

- Go to C:\Users\(your username)\AppData
- Right-click the Roaming folder => Properties => make all files and folders 
hidden => Apply (this will take 15 seconds) => OK
- Now reverse the process: Right-click the "Roaming" folder => Properties => 
make all files and folders NOT hidden => Apply (this will take 15 seconds) => OK

Now arduino should start, if it doesn't:
- Repeat the process for the "LocalLow" and "Local" folder in AppData
- Make sure the 3 folders in "AppData" are not read only.

Hope this works for you to.

Original comment by proandro...@gmail.com on 12 Sep 2012 at 11:46

GoogleCodeExporter commented 8 years ago
This worked for me.
http://forum.arduino.cc/index.php/topic,46977.0.html

Original comment by mukuntha...@gmail.com on 2 Nov 2013 at 10:48

GoogleCodeExporter commented 8 years ago
hi , just had the same problem with this message:
message: "Launch4J": "An error occured while starting the application"
the solution was to delete this file:
C:\Users\<user name>\AppData\Roaming\Arduino\preferences.txt
works like a charm !

Original comment by sharonr2...@gmail.com on 2 Dec 2013 at 11:30

GoogleCodeExporter commented 8 years ago
Disabling the bluetooth from the device manager works!! Took me 1 year to solve 
this launch4j shit. Im an arduino rockstar baby!!!!

Original comment by dynamic....@gmail.com on 18 Apr 2015 at 11:47