Error building Player: Win32Exception [Solved]

hi all, i have import “googleadmob.unitypackage” to include “AdMob” in my application, but when i build my app i have this proble:

Error building Player: Win32Exception: ApplicationName=‘C:\Program Files (x86)\Java\jre7\bin\javac.exe’, CommandLine=‘-bootclasspath “C:/Users/andrea/Desktop/filippo/APP/sbasbsbsba/adt-bundle-windows-x86_64-20130917/sdk/platforms/android-18\android.jar” -d “C:\Users\andrea\Desktop\filippo\file\BALLOON\Temp\StagingArea\bin\classes” -source 1.6 -target 1.6 -encoding ascii “com\FIDA\Studios\Mr\Balloon\R.java” “com\google\android\gms\R.java”’, CurrentDirectory=‘C:\Users\andrea\Desktop\filippo\file\BALLOON\Temp\StagingArea\gen’

how i can resolv it?
thnx

Found a user with the same issue at:
https://github.com/playgameservices/play-games-plugin-for-unity/issues/3

Follow his same steps and is now fixed for me!

"I had the same issue and found a fix.

The issue seems to be that when using this plugin, Unity needs to use the java compiler (javac.exe) But it’s not found in the C:\Program Files (x86)\Java\jre7\bin\ folder.
You must install the JDK and set the JAVA_HOME environment variable to C:\Program Files\Java\jdk1.7.0_45
You must also add the jdk bin folder to your PATH: C:\Program Files\Java\jdk1.7.0_45\bin
You must then reboot.
That did it for me.

I hope this helps!!!"

Probably it not found “C:\Program Files (x86)\Java\jre7\bin\javac.exe”. Check if the file exsists and you have JDK 7 installed.

Could be a similar problem to mine, maybe this solution could help?

Edit:

Just thinking it could actually be an error java sdk, do you have both 32 bit and 64 bit java sdk installed?

You could try copying the java.exe from C:/windows/system32 to C:/windows/sysWOW64 and see if that works

forget everything just go to C:\Windows\SysWOW64 and paste java.exe from C:\Windows\System32 or anywhere from your jdk path like :- C:\Program Files\Java\jdk1.8.0_20\bin