Android Studio doesn't launch - Java for Android App Development

I have problem with Android Studio. I have java jdk 7 installed and program doesn't launch . Any ideas?
Osx 10.6.8 with jdk 7.
Bad installation of java ? What can I do now?
Btw where is the java installed? Should be in : /Library/Java
but I have not any folder java;/

jkb91 said:
I have problem with Android Studio. I have java jdk 7 installed and program doesn't launch . Any ideas?
Osx 10.6.8 with jdk 7.
Bad installation of java ? What can I do now?
Btw where is the java installed? Should be in : /Library/Java
but I have not any folder java;/
Click to expand...
Click to collapse
Not sure if its required till now .
When i installed studio it expected an envirounment variable named JAVA_HOME pointing to your java installation root dir . Try doing that
Sent from my GT-S5302 using Tapatalk 2

Related

Android SDK for Linux?

I installed linux just to help with the android development, now what?
same basic process as with windows, download the Android SDK from the dev site, and follow the directions on the site. If you have Ubuntu just use the software explore to get/install Java JDK, and Eclipse. From eclipse install android plugin, and then android components
you can add the Android/tools folder to Path if you so desire as well (for ADB), I believe that is also on the dev site.

run exe files on android (run linux ubuntu )

how can we run exe files or ubuntu when we installed android on hd2????????????????????????
majidmajd said:
how can we run exe files or ubuntu when we installed android on hd2????????????????????????
Click to expand...
Click to collapse
We can't, exe files are Windows only files. And we can't compile wine for ubuntu, so emulation is also out of the question.
ubuntu installation
Hootyhoo2 here! Man I sure hope I can download and run this properly...wanna install "ubuntu for linux" on my stratosphereso as I canget " chrome for Android" I'm running 2.3.5. W/ linux kernel. Any suggestions or alt upgrades would be greatly appreciated...self taught so far with all the smartphone hoopla!!!!

JDK driving me mad!! please help

Ok so i ran into some problems today after updating eclipse and JDK.
when opening sdk manager i get told java not found in your path then it finds it in program files and tells me to reflect this in user variables path which i already have. what is going someone please helpme before i put my fist through the comp screen!!
I am running win7 home premium 32bit
I also tried the zip sdk revision 8 and still get the same message seem ok going into sdk manager but on exit it gives me this message
cyberpedz said:
Ok so i ran into some problems today after updating eclipse and JDK.
when opening sdk manager i get told java not found in your path then it finds it in program files and tells me to reflect this in user variables path which i already have. what is going someone please helpme before i put my fist through the comp screen!!
I am running win7 home premium 32bit
I also tried the zip sdk revision 8 and still get the same message seem ok going into sdk manager but on exit it gives me this message
Click to expand...
Click to collapse
Control Panel -> System -> Advanced -> Environment Variables
Make sure your Path= has the JDK directory in it.... odds are your old one is still there and its not pointing to the new JDKs folder. (Just saying it again even though you said you already did).
Remove all traces of old java installs and try again -- including adding it to the path..... Sometimes the JDK can be a real PITA, but usually most of the issues occur in 64bit versions.
Did you uninstall Java JREs you had installed before the JDK as well?

[Q]Trouble with Java JDK 5 for Ubuntu

Hi guys. I have trouble with installing Java JDK 5 on Ubuntu 11.04. It's necessary for custom ROM development, so I really need it. I've had it installed before, but I had to format my Ubuntu partition and I lost it. I've followed all the steps, but there's an error telling that the sources are missing. Any ideas guys? It's very important, so please help!
Thanks in advance!
Did you add Path variables?
PATH=$PATH:/path/to/executables
Are you using OpenJDK or Oracle JDK.
Ubuntu comes with OpenJDK by default so if you want the Oracle version go to their website. Download JDK 5 extract the JDK then add the Path variables to the executable folder.
Also make sure you get the self-extracting download and not the rpm download.
en4bz said:
Did you add Path variables?
PATH=$PATH:/path/to/executables
Are you using OpenJDK or Oracle JDK.
Ubuntu comes with OpenJDK by default so if you want the Oracle version go to their website. Download JDK 5 extract the JDK then add the Path variables to the executable folder.
Also make sure you get the self-extracting download and not the rpm download.
Click to expand...
Click to collapse
Thanks for the info! Will definitely try this.
en4bz said:
Did you add Path variables?
PATH=$PATH:/path/to/executables
Are you using OpenJDK or Oracle JDK.
Ubuntu comes with OpenJDK by default so if you want the Oracle version go to their website. Download JDK 5 extract the JDK then add the Path variables to the executable folder.
Also make sure you get the self-extracting download and not the rpm download.
Click to expand...
Click to collapse
Where's JDK 5? I can't see it.
Sent from my GT540 using XDA App
I just had to install an Ubuntu machine for the same reason: to build AOSP from source and I couldn't do in in my preferred environment, Gentoo (JDK5 is officially dropped from Gentoo due to security issues).
Ubuntu didn't have any qualms about installing JDK5. Just ran:
sudo apt-get install sun-java5-jdk
then followed the instructions here:
http://source.android.com/source/initializing.html
Gene Poole said:
I just had to install an Ubuntu machine for the same reason: to build AOSP from source and I couldn't do in in my preferred environment, Gentoo (JDK5 is officially dropped from Gentoo due to security issues).
Ubuntu didn't have any qualms about installing JDK5. Just ran:
sudo apt-get install sun-java5-jdk
then followed the instructions here:
http://source.android.com/source/initializing.html
Click to expand...
Click to collapse
Thanks a lot! I successfully installed Java JDK5 on my Ubuntu!

SDK Manager won't start

Hi, i'm having troubles to open the SDK manager. I have Windows 7 64-bit and i Installed de jdk 1.7.0_25 64-bit. This are the solutiones i've tried but with no success:
Installing SDK in c:\
Adding JAVA_HOME enviroment variable to the system pointing to jdk1.7.0_25
Adding JDK_HOME pointing the same place...
adding c:\program files.....jdk...\bin; to Path in enviroment variables
Editing few lines of android.bat file like:
Code:
set java_exe=
call lib\find_java.bat
if not defined java_exe goto :EOF
to
Code:
set java_exe="c:\Program Files\Java\jdk1.7.0_25\bin\java.exe"
Downloading the version that comes with eclipse... same results..
Finally i tried with Android Studio but when i try to open SDK Manager inside this program it comes an error that say:
ERROR: No suitable Java found. In order to properly use the Android Developer
Tools, you need a suitable version of Java JDK installed on your system.
We recommend that you install the JDK version of JavaSE, available here:
http://www.oracle.com/technetwork/java/javase/downloads
If you already have Java installed, you can define the JAVA_HOME environment
variable in Control Panel / System / Avanced System Settings to point to the
JDK folder.
You can find the complete Android SDK requirements here:
http://developer.android.com/sdk/requirements.html
As it writes you this
ERROR: No suitable Java found. In order to properly use the Android Developer
Click to expand...
Click to collapse
maybe it wants 32-bit Java for you 64-bit system anyway?
Like an obvious hint: Try 32-bit Eclipse 32-bit Java and 32-bit ADT plugin in you system. It should work.

Categories

Resources