GWT installation issue with eclipse...? - java

I am using os x 10.9.1
I need to install google plugin for eclipse for using google web toolkit. I have eclipse juno, so I just follow link for install it. But it not work for me, not go ahead because below issue
So, I move to install latest version of eclipse kepler and follow link for install plugins. After all installation finished with some different issues and restart eclipse kepler it shows me java version error.
And same thing show me when I check through terminal
but when I check in my java preference, it show me latest version installed on my mac.
*********************Edited from here*********************
After downloading java 7 and installing it(as per one of comment in link),again check in terminal give me new version
I restart my eclipse and starting error is not there. Just go ahead and create GWT project, and now
Stuck again...!?!

Open eclipse.ini form your eclipse folder and set the following parameter as shown in image
-vm
//your java7-dir/bin/javaw.exe (use mac javaw in your case)

Related

CodeRally installation on mac osx

As there is no OSX specific version, I downloaded the Linux version. Unzipped it and launched the launchpad.app.
I see a java applet on screen, but when I click on install code rally, I get no response.
Please advise on steps to install. Thank you very much.
From CodeRally Manual Installation page:
If you want to install Code Rally but do not want to use the installer
from our downloads page or are using OSX then the following
instructions will guide you through the install process.
Basically you need to build the code manually instead of using an installer. Weird choice from IBM side that there is no installer for OSX, but that's life, I guess.
You don't need to build the code yourself - the manual steps for installation basically involves downloading the different components yourself and installing them.

Google plugin for Eclipse Luna not showing the icon

I have been around 4 hours trying to install the Google Plugin for Eclipse Luna. I followed every step of the installing guide but when i finished the Google Logo for starting a new project didnt appear as it should:
As you can see even though i have the plugins installed i cant see the icon or start a new web project.
My operating sysyem is OSx Yosemite. I tried updating to Java 8 and JDK 8 (and 7) and deleting all the files as this question recommends. Also deleted and "reinstalled" eclipse and the plugin a lot of times but didn't workout.
Anybody with the same problem? Thanks a lot.
I had the exact same problem on my new MacBook. I had to install JDK 7. I downloaded and installed the Mac OS X x64 version of 7u75 from here:
JDK 7 Downloads
After it installs make sure it's the system default by executing the following from the Terminal:
/usr/libexec/java_home
If it looks good to go then just restart eclipse and you should be good to go.
I suggest you even to delete your Eclipse_Luna:
Re-install your Eclipse and then install the GAE-plugin again.
Remember to re-start your Eclipse after you've successfully install the GAE-plugin for Eclipse_Luna.
I faced the same issue.
I installed JDK 1.7 and used 1.7 jre for eclipse as mapped and downloaded the eclpise plugin AND restarted and it worked fine.

ubuntu 14.04 failure to install or run eclipse adt and android sdk

Fresh Ubuntu 14.04 install alongside windows 8.1 on brand new system and HDD *UEFI partition.
First steps I took on Ubuntu 14.04 was installing open-jdk-7 and Eclipse with ADT and everything worked correctly.
I wanted Oracle-JDK-7 and to remove open-jdk-7.
I first removed eclipse adt, removed all updates/installs from ADT Package manager then removed open-jdk-7
I installed the Oracle-JDK-7 via the terminal then I reinstalled eclipse adt. eclipse adt will not run correctly or at all now.
the errors I am getting (Not exact word for word)
*This program will not run, cannot locate adb ddms tools
*Android-sdk-linux/ directory does not exist or cannot locate file or no such archive
when I point eclipse (from within eclipse) to the android-sdk it then switches the error to "cannot run program missing adb ddms tools"
my own troubleshooting so far
re-installed open-jdk-7 alongside oracle-jdk-7 and set default version and default javac to both open-jdk-7 *which I decided I want.
Installed android-sdk standalone (with eclipse removed from system) and extracted to the home directory
From the terminal I entered the directory and bash does not recognize android-sdk-linux claiming there is no such file or directory even though it is clearly there.
I believe I narrowed the problem down to just the Android-sdk which includes the platform tools, not being found for some reason...
I am new to Linux...
I do not know how to set JAVA_HOME in linux/ubuntu 14.04 (not sure if that is relevant to this issue)
I know in windows you must delete metadata. folder before installing eclipse adt again.
In my experience, Eclipse Adt always runs perfect on first time install on new system
In my experience all errors and unstable behavior from eclipse adt show up after I replace original install (on both windows and linux platforms Eclipse ADT never runs the same as first install)
I hope someone may be able to point out something I did or am doing wrong in the current situation and overall as I am stumped as to why Eclipse-ADT will not run after remove and new install.
Is there a specific way to completely remove every trace of eclipse ADT?
Do I have to create a directory from the terminal for eclipse, eclipse adt, android sdk any combination?
Being new to linux I am not even sure if I set up both JDK's correctly or if I caused damage to my overall install.
Please go easy on me guys... I checked things out before resorting to asking, in fact this is my very first question as I usually always figure things out on my own... I am really stumped and not quite comfortable enough with linux Ubuntu 14.04 to mess around with my particular situation any further. I humbly ask for precise instruction on how to get eclipse adt to run and behave the way it did on first install... and also if necessary how to set JAVA_HOME (I want open-jdk for building android aosp and oracle jdk for building apps)
Is it possible in ubuntu 14.04 to install eclipse adt and have it use open-jdk and install android studio and have it use oracle jdk all on the same ubuntu install... how would I go about creating the directories?
I know this is a very lengthy question with alot of details... I must get my Ubuntu 14.04 install production ready asap
I use Eclipse ADT along with Oracle JDK 7 in my ubuntu 14.04.
This is how I have done the setup,
Ubuntu comes with Open JDK. No need to remove it. Once you install Oracle JDK , it will become your default JAVA_HOME. So no need to worry much about the configurations.
To Install Oracle JDK 7:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
After installing check with "javac -version" command.
Now just get a fresh Eclipse ADT for Linux from here
Unzip it , Get into Eclipse directory and open the eclipse executable.
You will be all set to start your android development with Eclipse ADT and Oracle JDK 7.
For Studio, Just get the studio from developer site and execute the studio.sh file which is present inside the bin directory of Studio. Thats it.
Hope it helps :)

Installing Eclipse/Java on Ubuntu

I'd like to install Eclipse on Ubuntu for Java development. I'm happy to trade having the newest version for steady updates via package management.
I've done the usual sudo apt-get install eclipse eclipse-jdt (java-7-openjdk-i386 is installed and working)
However, when I start Eclipse, there seems to be almost nothing available - no Java editing (not even 'Installed JREs' is present under Window/Preferences). I've tried adding various update sites, installing Marketplace client, WTP, Java EE etc. but just can't get a working install. Oddly, I have it running fine on another machine I set up about a year ago (with the help of How do I install Eclipse Marketplace in Eclipse Classic?)
I've given up and reverted to a manual install (along the lines of Eclipse 3.6 Helios for Ubuntu 10.10) but wanted to ask:
Am I missing something obvious?
I strongly recommend you not to install Eclipse in that way, it is not really useful and you will get just the Eclipse with the Java Standard Perspective. What I recommend you is to download the tar.gz file from the page (including the Java EE perspective). Copy the tar file in a directory where you want all your development tools, like /home/user/dev/eclipse and start from there. You can create a launcher in your desktop to get a faster access to the IDE. When I started with Ubuntu, I used to install the way you had installed (sudo apt-get...) but I can tell you that the best way to do is to install it manually. If the JDK is well installed, you will not have any problem launching your Eclipse. Best regards.

Problem in setting up eclim on ubuntu

I downloaded eclim, and according to the installation guide
it requires Eclipse Helios 3.6.x.
So, I went and installed that version of Eclispe manually because it is not at Ubuntu's repositories.
What happened next was that, when I tried installing eclim, it said that it cannot recognize the eclipse version that I have.
Do you have any suggestions of how to resolve this issue?
The Eclipse that you install manually is not usually on the path that Eclipse is installed to when using the software center. I had this problem too while trying to install eclim.
There are two ways to fix it.
You can specify where the new Eclipse is installed to from your manual installation. For example, I manually installed Helios to $HOME/eclipse. When the installer gets to the point where it asks for eclipse's path, I specified it as /home/username/eclipse, replacing username with my name of course. That should find the helios installation, and not the installation in /usr/lib/eclipse.
The second way to do it is to manually make and install eclim from the repositories. The guide for this is here, http://eclim.org/guides/development.html#development-build. That will work you through building eclim from the development build, which may be better anyway as there may be new features not in the release version. Be sure to specify the eclipse home files in the Ant command, like so, ant -Declipse.home=/where/you/installed/eclipseto
Hope this helped, and merry days using eclim. It's really great.

Categories