Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
0
Help us understand the problem. What is going on with this article?
@kakky0418

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

More than 5 years have passed since last update.

エラーログ

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
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
kakky0418
Golangに入門

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
0
Help us understand the problem. What is going on with this article?