I am trying to set up eclipse and i keep getting the error saying that JRE or JDK must be available... I have downloaded ADT, JDK, Eclipse (32 bit) and Java several times all to no avail. This is geting frustrating. I have followed the directions to a "T" and i am still getting this error.... Can anyone please help me edit the path that eclipse is looking in to find Java? The exact file it is looking for exists on my PC. I can go to it myself, only issue being is eclipse is looking in the wrong folder and i dont know how to make it look elsewhere, and even moving Java folder to the location it is looking does not make it see it.... AAAAHHHHHH!!!!!!!
OK so I squared it away... I deleted EVERYTHING again and reinstalled EVERYTHING again but downloaded java from the oracle site thus time instead of the DL manager site I had used the previous times and the install process let me choose the destination folder this time. Installed EVERYTHING in the same folder that eclipse was using and FINALLY eclipse opened up and started working... I posted a solution in case anyone else was having the same problem. No one had posted a viable solution in the recommended links when i posted this originally. Thanks xda
Sent from my DROID RAZR using xda app-developers app
Related
Hello.
This is my first post so first off I would like to say thank you to the members of XDA because I have been helped a great deal in the past by simply reading some of the posts on this forum.
That being said, I have a problem that I could not find the answer to after hours of searching.
I am trying to Debrand/Root my Rogers X10a using the Exploid method
forum.xda-developers.com/showthread.php?p=7490733#post7490733
After I enter my Device ID into the appropriate file, I ran RootX10a_v2.cmd as instructed. However, once I try to run step 1 i get the following message:
"unable to access jarfile X10flash.jar"
Ive tried connecting the phone in flash mode to different USB ports and using different Device IDs however nothing has worked.
Any ideas?
Any help will be greatly appreciated.
Thanks!
I have just the thing for you matey. I can't post a link sorry but google search for Universal Androot and download and install it on your phone.
It allows to you 1 click root or unroot your device without any fuss and should allow you to root it when 2.1 is released as it contains the superuser files for 1.5 / 1.6 and 2.0 - 2.2.
I am using it and it works brilliantly. Hope this helps
Sent from my rooted .26 x10i using the XDA app
Welcome to xda! the answer is in the forum but i can't remember where.
Set up the path to the sdk tools in your environment variables.
Cheers
Gav
Thanks for the responses.
steve- are you sure that the universal androot works with the x10? another concern is that i also wanted to debrand my phone to get rid of rogers bloatware so how would I solve that issue if I can't access the x10flash.jar?
gavriel- sorry. could you explain in a little more detail what you said? i don't quite understand what you mean.
Thanks!
The one click root seems simple enough.
My problem now is with debranding.
Ive tried the method where you switch the files in SEUS (ive also tried PC Companion) just before it installs onto your phone and that has not worked. It says every time that the installation has failed.
Does anyone have any other ideas as to how I can debrand my phone?
Thanks!
For sure. I may be wrong but ill explain it as I understand it.
Basically when your PC is trying to use a jar file it looks in a particular area. I'm not sure where it looks though. Obviously your jar file isn't in that directory or you wouldn't get that error. So, by adding it as an environment variable it will look in the directory u added for that file.
The environment variables is found somewhere in the system settings. I can't remember where. Once you have found it you should find the path to the jar you are trying to access. Copy that path and paste it and the end of the environment variables. Don't erase anything that's in there. If need be seperate that path from the one before with a ; (semicolon). Save it and try running the jar again. It should work.
Good luck and hopefully it helps.
bmalaklou said:
After I enter my Device ID into the appropriate file, I ran RootX10a_v2.cmd as instructed. However, once I try to run step 1 i get the following message:
"unable to access jarfile X10flash.jar"
Click to expand...
Click to collapse
It means that Java can't find the X10flash.jar file. Do you have that file in the same directory as DeviceID.txt? Also, do you have the latest version of 32-bit Java installed?
To solve my debranding problems I had to use the 32 bit update 20, not 21 (which is the latest) and you need the jdk and the jre, hope that helps
Sent from my X10a using XDA App
Ok, I'm sure this is been asked before and I'm sure there's references somewhere...I've looked for a couple of days and found what should be answers, but nothing is working like the instructions I've seen...
Here's the simple question; How do I get the Android SDK and Java JDK setup in Ubuntu? I've tried the sudo commands to get the JDK to install, not working for me (as Ubuntu tells me it can't find the files I'm looking for). I've tried moving the SDK into the Root Folder (in the File System area itself), don't have permissions even though I'm logged in as the administrator. I've tried getting the SDK Manager to run through Terminal (home/android-sdk-xxxxx_xxxx/tools/android), can't find the file in terminal, but it's there in the file system exactly where I'm pointing it to.
I'm very new to Linux, but if I'm going to do things that I want to do, I'm going to have to learn. For the most part, I'm prepared to read whatever I need to in order to learn from this, but I also know when I need to ask for some help here. It seems like every command shown to get this started is just not working in the partition I have setup for this. If anyone can help get me started, I'm sure I can pick the rest up along the way!
Thanks in advance!
Macrodroid said:
Ok, I'm sure this is been asked before and I'm sure there's references somewhere...I've looked for a couple of days and found what should be answers, but nothing is working like the instructions I've seen...
Here's the simple question; How do I get the Android SDK and Java JDK setup in Ubuntu? I've tried the sudo commands to get the JDK to install, not working for me (as Ubuntu tells me it can't find the files I'm looking for). I've tried moving the SDK into the Root Folder (in the File System area itself), don't have permissions even though I'm logged in as the administrator. I've tried getting the SDK Manager to run through Terminal (home/android-sdk-xxxxx_xxxx/tools/android), can't find the file in terminal, but it's there in the file system exactly where I'm pointing it to.
I'm very new to Linux, but if I'm going to do things that I want to do, I'm going to have to learn. For the most part, I'm prepared to read whatever I need to in order to learn from this, but I also know when I need to ask for some help here. It seems like every command shown to get this started is just not working in the partition I have setup for this. If anyone can help get me started, I'm sure I can pick the rest up along the way!
Thanks in advance!
Click to expand...
Click to collapse
I think you could possibly use part of the EasyDev-v6 script in the Development and just cut out everything after installing prerequesites. It probably installs the JDK and the SDK among everything else, and it probably wouldn't hurt with the other things that installs, too. Just cut out everything after the prerequesites (it's just a regular text file but it'll be easier to edit in Ubuntu with OpenOffice).
Also check out http://maketecheasier.com/install-android-sdk-in-ubuntu-karmic/2010/01/11. As far as I know it worked when I tried it.
roirraW "edor" ehT said:
I think you could possibly use part of the EasyDev-v6 script in the Development and just cut out everything after installing prerequesites. It probably installs the JDK and the SDK among everything else, and it probably wouldn't hurt with the other things that installs, too. Just cut out everything after the prerequesites (it's just a regular text file but it'll be easier to edit in Ubuntu with OpenOffice).
Also check out http://maketecheasier.com/install-android-sdk-in-ubuntu-karmic/2010/01/11. As far as I know it worked when I tried it.
Click to expand...
Click to collapse
Dude, thanks so much! That worked perfectly. Thanks!
Sent from my Froyo Tazz using XDA App
You're welcome!
hi and happy newyear to all,
I im trying to make an firsdt attempt into the world of android development. I went to the site and followed the instructions of what i need to develop for android.
But i made an mistake. i did not follow it to the letter. (i know its dumb but i was so enthousiastic)
1.I downloaded the recommended windows installer being
installer_r16-windows.exe (Recommended)
2. i followed the steps in the install sdk guide provided bij the official site
3. I downloaded JDK and installed it
4.i downloaded and installed the recommended eclipse classic
5 NOW things went bad for me because i did not read and do the step as was written
i put the plugin in the wrong folder so when i noticed my fail. i tried to fix it by deleting the map all togehter. Thinking i could simply retrace my steps and start over.Wrong when i tried to follow the instructions again i got a message saying that it was already installed.
So my question is can i either delete eclipse allthogether and start from skratch or is there an easier way
I just went through this process this weekend. It is so much easier to delete Eclipse and start all over from scratch than to try to fix the mess that is ADT and XML configuration hacking.
Just stick to the Android "installing the SDK" steps and you'll be up and running in no time.
but can you tell me how to install eclipse it doest show in configuration screen under delete software.
im running it on a windows 7 64 bit os
Thanks in advance
mstroud said:
I just went through this process this weekend. It is so much easier to delete Eclipse and start all over from scratch than to try to fix the mess that is ADT and XML configuration hacking.
Just stick to the Android "installing the SDK" steps and you'll be up and running in no time.
Click to expand...
Click to collapse
Thanks but can you please tell me how to uninstall eclipse because it doesnt show up in the configuration screen under delete software. Im running it on a windows 7 64-bit OS
*RESOLVED*
ive searched to no prevail. id like to start developing apps but am having issues getting the environment set up. i have the jdk properly installed.
issue 1 (main \ major ):
ive installed the android sdk from multiple sources, but when i try to start sdk tools, the command prompt flashes/ opens briefly and i get this message:
"Failed to execute tools\android.bat:
The system cannot find the file specified."
do i need to change a PATH variable or something...
issue 2:
i cannot get eclipse to run. when i try to open the exe file ( because there is no short cut icon...?) it gives a message about not finding a companion library... ive try to change the properties in the file that is supposed to fix it, but it was already set the way its supposed to be. this is not major as i can use a different IDE.
so im completely lost as to th sdk tool. any help would be appreciated!
edit:
i just tried adding the file path to the android sdk ( PATH variable) and it still did not work... :/
i also just tried start the android,bat file and the cmd promt flashes briefly saying somthing about xcopy is not an operable command...etc couldnt read all of it...
btw im on windows 7 home premium
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Check if this can help you.
Actually, you don't need to configure environment variables. You only need to install Java SE, and Eclipse and Android SDK should work fine.
RoberGalarga said:
Check if this can help you.
Actually, you don't need to configure environment variables. You only need to install Java SE, and Eclipse and Android SDK should work fine.
Click to expand...
Click to collapse
well eclipse wont install either, it cant find some companion library.all i curently have is the java jdk and an IDE called intelliJ idea or something like that, nothing else will install...i had to add an environmental variable to get the java jdk to work on cmd. if you could give links to any files your using that would be of help. , that is if your on windows 7
Sure...
Eclipse
Android SDK
Follow the indications of my previous link
Word of caution
I hate to discourage anyone from following their hearts desires especially when it comes to software development. But I wanted to share some advice with you coming from an experienced software engineer. I've been developing software for over 15 years. My experience comes mainly from developing Windows desktop applications in C/C++. I've also been developing software using Java for several years so I'm by no means new to Java technology or development tools.
I've only recently started to develop for the Android platform. It didn't take me long to get started (i.e. get the development environment setup and start developing using the AVD manager) but as I dig into it I'm finding that the Android platform has become very much like developing Windows applications which is interesting to find because I really haven't done a lot of user interface development using Java. In the past my Java development projects have always been more back end server integration related to App Servers and database integration (i.e. Apache/Tomcat, JSP, Oracle, etc.).
I have seen user interface development libraries in Java such as Swing in the past but haven't had a real need for them. So to tell you the truth I can't say how much better or worse the Android SDK user interface libraries are than the traditional JDK 1.4 libraries.
All of this is to say that when I say this you know it's coming from someone that isn't just learning how to program. My advice to you is that if you haven't done much Java development in the past that Android development is not the place to start. You might want to start with the basics first like just setting up a simple Java program and learning the technology first before you jump head long into something.
I've done that more times than I can count in my long career and I can tell you from experience it's the surest way to fail before you get started.
thanks but...
RoberGalarga said:
Sure...
Eclipse
Android SDK
Follow the indications of my previous link
Click to expand...
Click to collapse
i tried to use those files, but still the same problem, they wont launch/ install...in your post it says to launch them from the folder, correct...? the problem is, THEY WONT LAUNCH AT ALL...no UI for anything, just a quick flash of the cmd window for both of them and a pop up window for eclipse...
***i wasnt yelling, just frustrated...
First. DELETE EVERYTHING FROM DOWNLOADED FILES TO EXTRACTED FILE GET RID OF ALL OF IT then clear trash can.
THen ensure the JDK is successfully installed by opening command prompt and typing "java -version" you should have build 1.7 or higher. If not, you may download it here http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u4-downloads-1591156.html
Download this http://developer.android.com/sdk/index.html and pick the one that has "Recommended" next to it.
after you have that downloaded. FOLLOW THE STEPS BELOW TO A T! NO SHORTCUTS WHAT SO EVER!
Then once everything is downloaded. simply FOLLOW ME again TO A T! and if you follow that you should get everything working. And seriously, FOLLOW IT TO A T! do not take shortcuts do not try to do more than one thing at a time just take it step by step. I had no problems getting it up and running by following that last link.
Hope that helps and BE PATIENT you will get to play around soon enough
elesbb said:
...Then once everything is downloaded. simply FOLLOW ME again TO A T! and if you follow that you should get everything working. And seriously, FOLLOW IT TO A T! do not take shortcuts do not try to do more than one thing at a time just take it step by step. I had no problems getting it up and running by following that last link.
Hope that helps and BE PATIENT you will get to play around soon enough
Click to expand...
Click to collapse
thank you very much. i have what i need now, although i think i figured out my problem...stupid me was viewing the archive for eclipse instead of extracting the files to a separate folder, where the shortcut appeared!. thank you as it was your instructions that led me to my problem.
tripartist1 said:
thank you very much. i have what i need now, although i think i figured out my problem...stupid me was viewing the archive for eclipse instead of extracting the files to a separate folder, where the shortcut appeared!. thank you as it was your instructions that led me to my problem.
Click to expand...
Click to collapse
hahaha!! Sometimes all we need to do is slow down and look at whats infront of us xD glad you got it figured out!
Samsung Galaxy S II not recognized on PC
I want to sync my PC with my Samsung Galaxy Skyrocket and put music on it, but the PC won't recognized the phone.
I have tried downloading and installing the driver, Kies, etc and still get the same error.
Can someone help me??
android.bat still not present
I went to the sdk site to download. I ran the exe file, says that it couldn't find the tool\android.bat file. Please help
IF POSTED IN WING AREA JUST TELL ME AND BE NICE DON'T BE A DOUCHE.NOWHERE ELSE HAVE I GOTTEN HELP been trying to install over a month now. i want to try to get started looking at things and learn Android and then to start working on unlocking bootloader or work around to glass ics and diff kernals to my motorola electrify(photon)
Sent from my Motorola Electrify using XDA
What, seems to be the problem? You can't get eclipse, or the sdk to install..? Or is linking eclipse to sdk the problem? Or environment path variable? Need a tad more information :]
That's easy:
Download the latest versions of Eclipse Classic (don't download the Java Dev version!!!) and Android SDK. Don't use installers, ALWAYS use the zipped binaries.
Unzip the binaries in any folder, it doesn't mater. Open SDK Manager (at Android SDK folder) and download the packets for the version that you desire to develop. I recommend you download the packets for Froyo, since your apps will be compatible with Froyo or any upper version.
Open Eclipse, and install ADT Plugin, as described here.
Go to Window >Preferences >Android, and type the location of Android SDK folder.
And... that's all, dude. You're ready to rock
thank you. i will try again in the morning when i have to get ready four work. i keep getting where you have to install or whatever the android sdk to eclipse (classic 3.7.2)...
Sent from my Motorola Electrify using XDA
Hmm... the key thing is to have the latest version of SDK Tools (a packet that can be downloaded from SDK Manager).