Unable to install JDK-7u3-windows-x64 - eclipse

I am unable to install JDK on my laptop (a 64 bit machine with Windows 7 Home Basic). Whenever I try to install JDK on it a screen flashes for permission and after that, there is no processing for installation.
I want to install eclipse and android sdk for android development.

right click the jdk or eclipse and choose the Run as administrator mode. it will install your application.

I had a similar experience on Win7 Professional (64bit) with jdk-7u21-windows-x64
Turning off Windows's User Account Control fixed it (just remember to turn it back on when you're done)

Related

android studio, installation fails while searching for java home

My OS Configuration
Windows 7 64 bit.
My android studio installation doesn't go beyond Java Se DEVELOPMENT KIT screen. It crashes and asks to either close or to search online for the solution.
Note: This is not the regular problem of it can not be run. And I have my JAVA_HOME variable set. The problem is in installation, not running...
I have solved it my self. I am not sure though if this is general or specific to my system.
What I did is.
Select the downloaded android studio installer -> Properties -> Compatibility
Check Run this program in compatibility mode for and select windows xp sp2
Check Run this program as administrator checkbox
(If it crashes, let it be) and run next time. And for me, it worked like a charm.

install4j error on Mac OS X

I am using install4j to create a Window and Mac OSX installer for a new version of my software. The only thing that has changed since my last distribution is my application. I have not changed any of the launcher or media file options in install4j. After building the installer, the Windows installer runs fine. The Mac OSX installer gives an error message on some machines. The message is "You need at least a 1.7 Java Virtual Machine to install..." However, a user reported that they already have 1.7 installed but still gets the error message. Does anyone know what is causing this error? Does install4j require 1.7 to run on a Mac?
Thanks
Edit the media file of your Mac OS X installer and go to the "JRE" step. If "Installed OpenJDK JRE" is selected, then Java 7 and higher is required. The above message indicates that no such JRE was installed. Also, make sure to update to the latest version of install4j.

Unable to launch Android emulator from Eclipse/Linux

I'm using Eclipse Juno (build 20120920-0800) on openSUSE 12.2 to code Android applications.
I have installed the SDK by uncompressing it into my home directory (if I install the SDK via YaST package I can't download stuff unless I'm root). I installed ADT from Eclipse Marketplace, configured the path of the SDK and configured a couple of emulator configurations.
I can run and debug fine on my phone, and I guess the same applies to my tablet even if I haven't tried yet.
The real problem is that I can't run the emulator. Clicking on the bacarozzo debug icon prompts me to run the application on the device but doesn't show me available emulators.
If I open the device manager I'm shown with the virtual devices I created but I can't just start any. The progress bar reaches the end, I see no emulator screen and if I try to delete the emulator I'm warned that the instance is running... (OK in the screenshot there is only one, I already managed to delete the other)
I urge to test some GUI features in an outdated version of Android. I have done all the field tests of the business logic code in my program on a JB device and I know for sure that code works on any device.
Now I only need to be backward-compatible with preferences and layouts.
How can I start the emulator in Linux?
Just by luck I managed to run the emulator from console
djechelon#RAYNOR:~/android-sdk-linux/tools> ./emulator-arm -avd Emulator_cell
It came to life and Eclipse debug is detecting it as active device

eclipse for chrome?

I use eclipse IDE for developing my GWT and android apps. I would like to transition to a chromebook for my main development computer, but I can't figure out how I would get eclipse "installed". There is no chrome app version of eclipse, at least not that I can find. I do see that there are other IDEs in the chrome store, but I don't think they would have all the nifty helper plugins that eclipse has for google developers. Anybody know if a chrome version of eclipse is coming? Do others share my desire to develop on a chrome book?
Eclipse is not coming for Chrome OS. You need a JVM to run it and one of the compatible desktops for the UI widgets. So you would have to escape from Chrome OS desktop into base Linux and somehow launch a regular Linux desktop (like GTK) to have any hope of running Eclipse. Also, a typical chromebook is far too underpowered to run a full IDE.
Here are some options to consider:
Project Orion - A web based IDE from many of the same people who develop Eclipse. One of the goals is to enable Eclipse-like capabilities for platforms like iOS, Android, Chrome OS, etc. It has quite a few base IDE capabilities already, but not a lot of plugins just yet. Probably not going to see something as sophisticated as ADT for a while if ever. Google would have to implement Android emulators in JavaScript. Not an easy task.
Run Eclipse on another machine and use a remote desktop from your chromebook.
Run Eclipse Che on another machine or cloud server and use Chrome
The most straightforward and transparent way I was able to do so was to do a combination of things (some of which was mentioned in previous answers):
install crouton (alongside an ubuntu chroot) - this is not dual booting but running Ubuntu side by side with Chrome OS just alternating between both windowing systems.
install crouton chrome extension & xiwi - this enables running the X11 windows in the ubuntu chroot as native Chrome OS windows that can be easily alternated into.
install a JDK inside the ubuntu chroot.
download, mount and execute eclipse-installer.
once the eclipse distribution of choice is installed, for ease I symlinked the main eclipse executable to /usr/local/bin/eclipse and am able to run it from Chrome OS via crouton/xiwi: sudo startxiwi eclipse
Here's a screenshot of what it looks like when done:
Eclipse requires a JVM (maybe even a full-blown JDK), so there's no way to make it into a Chrome app. You could enable developer mode and try to install a Linux JDK since Chrome seems to be running Linux under the hood.
Do others share my desire to develop on a chrome book?
The solution is to load a normal linux distribution and run IDE from there. I'm using a netbook with intel n260, 1G ram, 1.6G Hz. NetBeans runs quite well. A chromebook runs more than twice faster, I'm sure it will be good enough.
As to how to load a linux, there is the Ubuntu on Cr-48 page that explains how to do it in depth. And also this very user friendly blog on arstechnica, or this blog on liliputting. They both point you eventually to the ChrUbuntu, that is a hand-re-packaged ubuntu with some scripts to ease your work.
You can install ubuntu via crouton (for more info: https://www.youtube.com/watch?v=d_MuVwJq_XQ&list=FLFel7rdB1nWQSjsJCaepEOg&index=1) and then you can install eclipse I'm not sure if you can install the ADT from the android sdk website but you can install the plugins from the eclipse website, third party developers, or if you really want to download it from the android sdk website you can probably get it to work with a little efort.
:) Enjoy
Yes! I share your desire to program on a Chromebook! While I am still a high-schooler, I am an amateur Java and Python programmer. My school provides with a class set of about 30 Chromebooks per classroom, and I didn't know how to run my code on them. I had Eclipse on my Windows desktop at home.
When I looked around online, I found something called codenvy.io. It is basically an Eclipse Che IDE that runs online. It uses Docker images to start up a workspace, runs all in the cloud, and a free account has 3 GB of RAM.
It suited my needs, and I loved it! You should check it out.

Problem connecting real Android device to Eclipse

I just got a new computer and am trying to set up my developing environment but I'm having trouble getting eclipse to connect with my phone. I have a HTC Aria android device and I was able to use it with eclipse on my old Windows XP computer. On my new Windows 7 64bit computer though, its not working.
When I run my program, I see my HTC device in the device chooser, however, its state is "offline" and it randomly disappears then reappears. I can select it, but I cannot push "OK" to run on the device. I've tried reinstalling my driver and updating it through HTC's website, but nothing has changed.
Any ideas?
I ended up reinstalling my OS, installing Eclipse Indigo 64bit, and then installing my phone driver. Works perfectly now. Have no idea what was wrong before