i did not use the ide for about two weeks (was on vacation) before this time it worked all nicely.
i dont remember if i updated some software - i think Adobe had some updates. but i cant remember if i have updated java.
my System is:
Windows7 pro 64bit (Language German)
Java: Version 8 Update 25 (Build 1.8.0_25-b18)
the Arduino IDE versions 1.0.x are working.
but i need the 1.5.x IDE to compile my sketch
(other wise it is to big for the Arduino Ethernet... seems there is some compile size optimization in the newer version)
i hope someone can help me with this error?!
is there some reference what the 1536 as return value means?
i have installed all IDE versions parallel - they are all just extracted from the zips. no real installer.
today i installed (downloaded and extracted) the 1.5.8 IDE - to check if this fresh one makes a difference - but its the same error.
i hope i have included all necessary information - if i have forgotten something pleas let me know!
Of course, the example sketches do compile just fine.
You seem to have mixed things, some Arduino and/or Java mix that has gone bad.
When you make a fresh install of Windows 7 and Arduino 1.5.8 it will work.
The 1.5.x don't need Java in Windows 7.
Can you try to remove all Java ?
Can you remove all Arduino files (but not your projects folder).
Install the zip file in your home folder and run Arduino from its folder.
If that doesn't work, you have still some file(s) from Java or Arduino that is not compatible.
is there somewehre a list at which directories arduino is putting its files ?
i have no unistaller - so i have to manually uninstall....
but only deleting the 'arduino-1.5.8' directory would not change other things....
i have it installed (extracted) yesterday - so it is a 'fresh' 'install'
is there are some possibilities to check what goes wrong?
are there system things that needs to be correct so that avr-g++.exe can run?
i think that this is the problem...
for the codesize:
thanks for the link.
my sketch was working in 1.5.7 two weeks ago...
now i have tried in 1.0.6 - and there it compiles to big..
so if i get 1.5.x to working again it will be all fine!
Try running JavaRa : https://singularlabs.com/software/javara/
It needs .NET, but I think a fresh install of Windows 7 has enough to make it run.
You can remove JRE, and do the additional tasks.
I don't know how to check, you can type "java" from a command window, to see if any Java is installed.
I don't know what to think of that error message. Can you select the extra output in the settings ? Perhaps there is an error message before that one, that makes more sense.
Did you check the harddisk for errors ?
I have the same problem. Yesterday my Arduino IDE 1.5.8 worked fine and today it stops. It doesn't compile any sketch! The message error is "error compiling" and somenthing regarding avr-g++ (like above). The only different from yesterday is a windows update, I restored the system but nothing. The IDE doesn't work. I also tried to uninstall and install again with previously version but nothing. Another attempt was to uninstall the java but nothing again.
However, if I install arduino IDE 1.0.5...ok it works!! Unfortunately I need the 1.5.X version because I am using the arduino Yun.