0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

UnityでWin32Exception..javac.exe..CommandLine='-bootclasspath..エラーが出た時の対処方法

Last updated at Posted at 2014-11-27

#エラーログ

Error building Player: Win32Exception: ApplicationName='C:\Program Files (x86)\Java\jre7\bin\javac.exe', CommandLine='-bootclasspath "C:/Users/hogehoge/Downloads/android-sdk-windows/platforms/android-18\android.jar" -d "C:\Users\hogehoge\Documents\hugahuga\Temp\StagingArea\bin\classes" -source 1.6 -target 1.6 -encoding ascii "com\google\android\gms\Manifest.java" "com\google\android\gms\R.java" "hugahuga\com\Company\ProductName\Manifest.java" "hugahuga\com\Company\ProductName\R.java"', CurrentDirectory='C:\Users\piyopiyo\Documents\hugahuga\Temp\StagingArea\gen'

#原因
「JDKがインストールされていない」もしくは「環境変数が通っていない」事が原因です。

#解決策
「JDKのインストール」及び「環境変数のパス」を通す事でこのエラーを解消出来ました。

JDKのインストールは下記サイトが参考になるかと思います。
http://www.javadrive.jp/install/jdk/index1.html

また、環境変数の通し方は下記をサイトを参考にしてください。
http://www.javadrive.jp/install/jdk/index4.html#section2

これにて解決!!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?