Eclipse Mars 4.5.1 cannot access internet after first update/plugin install - eclipse

I recently installed Eclipse Mars 4.5.1 (for Java Developers) using the Oomph installer. It is installed in my User directory in Windows 7. I was able to start it up, create a hello world app, and it all ran fine.
So far so good....
Then, I go to the "install software" feature under Help and download the C/C++ developer plugin. It downloads and installs fine. When I restart, I am able to build and run C++ binaries.
Again, no problem, yet....
Then, I wanted to install another plugin, PHP Developer. However, when I have Eclipse search the available sites for the package, it cannot find any sites. I tried to do a software update, and it claims it cannot find any of the hosts.
When I try to check my network preferences, I get a "null pointer exception" error report when I try to look at the Network preferences. The error report details indicate this has something to do with ".ssh\known_hosts" file not being found. Therefore, I cannot see what proxies it is using, and the list of known hosts is blank.
Bottom line: after updating itself fine for the first plugin, it appears to be unable to get to any repository for further updates. This happens regardless of what I choose as the first plugin to get.

Related

Can't sign into Google using Google plugin for Eclipse

I am using Eclipse Luna and I recently installed the Google plugin for Eclipse to deploy apps to the Google app engine.
I tried signing into Google services and was able to get past the password prompt and 2-step verification screen successfully. After that I get the permissions screen where I click 'Accept'.
After I click 'Accept' however nothing happens and the window goes blank. I've waited for like an hour and yet it just stays like that.
I have tried using a different Eclipse workspace, a different Eclipse installation (Luna), a different Google account which doesn't have 2-step authentication but I get the same result.
I have even checked the Eclipse log file and there are no entries made at time I tried signing in.
I've searched around but couldn't find anything related to this. Thanks in advance.
Right click, choose another encoding. Worked for me!
I faced the same issue with next configuration
Windows 8.1
JDK 7 and 8
Eclipse Luna
Google Plugin for Eclipse 4.4
GWT SDK 2.6
App Engine SDK 1.9
I think that something wrong with Google plugin, so here my Windows command line workaround:
Download and install external tools: App Engine SDK, Apache
Ant. At moment of writing this text Google App Engine doesn't
support Java 8, so you need install Java 7 and configure JAVA_HOME
environment variable accordingly.
Add to PATH environment variable paths to bin folders of App Engine and Ant.
Run command line and go to folder of your Eclipse project. Note that your project must be configured with Ant and build.xml file must be inside your project's folder.
Type ant build command and wait until successful compilation.
Configure your application ID via Eclipse or edit file war\WEB-INF\appengine-web.xml and set appropriate value into <application> tag.
Type app cfg update war It may run your browser, ask you credentials and ask to paste generated key.
After successful deploy navigate to your_application_id.appspot.com
Enjoy.
Read this article for details.
There were some bugs in the oAuth flow when you encountered this. We fixed all the ones we knew about last year. GPE login should be working now, but if not you can also try the newer Google Cloud Tools for Eclipse.
I had exactly the same problem ( Ubuntu 16.04 LTS )
To solve it I went to Eclipse Market Place and installed Google Cloud Tools for Eclipse 1.1.0
I accepted all the items to be installed
When I finished the installation, I restarted Eclipse, reopened it, clicked the Google icon in the bottom right corner, and logged in to the Chrome browser (It opens Chrome automatically).
This way I managed to make the connection.
I hope this can help !

Eclipse EGit and GWT/GAE

I have a central GIT repository, so that i can work on the project from different computers.
However when i pull the project on the other computer i get the error "Unbound classpath container: 'GWT SDK [missing]' in project 'Test Project'" (I also get a similar error for GAE).
So my question is: How do i setup my project so the same version of GAE/GWT is used on all computers.
I suspect the problem could be caused by the different versions of GAE and GWT on the machines. For example: GWT (1) is not the same version on the machines as it depends on when you updated GWT.
I ran into this problem too, and solved it by installing the GAE and GWT sdks under specific names, manually. That is, instead of relying on eclipse's software update tools, I downloaded the specific SDK version I wanted from the googlecode sites, and then added them manually to eclipse. This way their names include the numbers, and your git repository can store information about which versions it's using.
I do have to install the sdks manually on each developer machine, which is a drag.
To install an sdk manually:
Download it
Right-click on the sdk container in eclipse (in project explorer, it probably says GWT SDK [missing])
Choose properties
Click configure SDKs
follow the path to install a new sdk
You don't have to set the new sdk as default or anything - your project will pick it up immediately after you install it.
Note to any GPE developers: it'd be nice if the sdks were installed automatically with a version-specific name for the benefit of source control!
You can Change the project's SDK target.
In eclipse go to Marker [it is a tab next on the extreme left of the tabs including Console and Development] --> Left Click problem indication --> Click Quick fixes and choose the option which re-configures the project. This should fix the problem. Note that if your code uses features that changed between SDK versions you will have to make changes.
Combined with Rilev Lark's answer This is a chance to Update your projects or your environments whenever the problem occurs.

EclipseFP on Indigo, issues with Maven?

I'm trying to install EclipseFP, using the usual Eclipse "Install new software" approach. However, at the "Installation Details" window, it says "This operation cannot be completed", giving me the following details:
Cannot complete the install because one or more required items could not be found.
Software currently installed: Shared profile 1.0.0.1316138547364
(SharedProfile_epp.package.java 1.0.0.1316138547364)
Missing requirement: Shared profile 1.0.0.1316138547364
(SharedProfile_epp.package.java 1.0.0.1316138547364)
requires 'org.maven.ide.eclipse [1.0.100.20110804-1717]'
but it could not be found
I just barely downloaded a fresh Eclipse:
Eclipse IDE for Java Developers
Version: Indigo Service Release 1
Build id: 20110916-0149
Does EclipseFP actually work on Indigo? Do I need to download an older Eclipse? Or perhaps there are additional steps I need to take to install Maven? (I don't want to download/install Maven if I don't have to.)
Since Kane neglected to turn his comment into an answer, I may as well state it plainly here:
This issue arises when you put the Eclipse folder in a location where Windows will have issues with access control (e.g. the Program Files folder). By moving the folder to my personal user's folder, I was able to use Eclipse normally without this issue.

How can I get an SVN Connector installed and working with the Subversive Eclipse plugin without an internet connection?

My workplace uses a closed network, so all software tools have to be manually transferred. I've installed Subversive (version 0.7.9) successfully, and brought in the latest archive for the connectors from here: Polarion SVN Connector download site. I was able to install the connectors in Helios Eclipse by going to Help | Install New Software... | Add... | Archive..., and choosing the connectors zip file. The installation appeared to complete successfully, then it asked me to restart Eclipse. Now, when Eclipse starts up, it pops up the discovery dialog, but then pops up an error dialog with 'Unexpected exception'. When I close that, it pops up another dialog that says something like 'Could not find any connectors. Check your internet connection and try again.'. When I look at the error in the error log, the stack trace starts out like this:
java.lang.IllegalStateException
at org.eclipse.team.svn.core.discovery.model.DiscoveryRegistryStrategy.processBundles(DiscoveryRegistryStrategy.java:89)...
After I close the dialog, Subversive acts as though I have no connectors installed (the connector drop-down is blank in the SVN preferences), even though by inspecting the installed software list and plugins directory, it looks like they're all present. It seems as though the discovery module insists upon trying to find the connectors on the internet, and won't recognize local update sites.
Any help is very much appreciated!
Patrick
According to this (original german, translated), the Helios version is not compatible with the Polarion connectors you're using. Try using the ones from the update site. Watch out that your javaHL matches your JAVA/machine architecture (32/64 bit) if you use it, otherwise will cause serious issues.

Configuring Blackberry Eclipse plugin for 4.70 or 5.0 components

I am looking for help in configuring the Blackberry development environment. In fact, it is quite a frustrating process. The blackberry site is pretty useless. Between links that have been moved, details that are assumed and documents that are out of date it is proving very difficult to get anywhere with blackberry development.
Pheww, now that my rant is done. Here is my problem:
I have finally got the JDE for Eclipse working (that is a story in itself). However, my blackberry workspace is only giving me the option of targeting the 4.5 JDE components. How do I update it to use the 4.7 components?
It would be preferable to have step-by-step instructions but I would appreciate any help that can be provided.
Here are the details:
I have Java jdk1.6.0_14
Eclipse version 3.4.1
I have installed the Blackberry JDE 4.7
I have installed the Blackberry JDE Component Package 4.7
I have installed the Blackberry Smartphone simulators 4.7
Totally agreed - it's not at all obvious what to do. I've never had luck using their update site, so I just download and install the component packs manually:
Download the "Eclipse Software Update for the BlackBerry JDE v4.7 Component Pack" from the BlackBerry developer zone (it's a zip file)
From Eclipse open the Help menu and choose Software Updates
Click on the Available Software tab
Click Add Site
Choose Archive and select your zip file
Make sure everything under the JDE 4.7 tree is checked
Click Install and continue through the wizard
You are a life saver!!!!!!!!!!! This worked perfectly. I understand the frustration. If this. If this doesn't work I would recommend deleteing the entire directory and reinstalling eclipse.
You should already have JDK installed:
This is what I downloaded for 64bit windows:jdk-6u16-windows-x64.exe get one that matches your OS. Should be jdk version 6.
I installed this version: Should work for windows x86 and 64bit:
eclipse-java-ganymede-SR2-win32.zip
Other versions shouldn't work. has to be 3.4 but not 3.5 (gallileo) and it has to be for java.
Then I installed the plugin. Then I followed the instructions above and it worked.
eclipse-java-ganymede-SR2-win32.zip does not work with the 64-bit JDK.
You have to use eclipse-SDK-3.4.1-win32-x86_64 with the 64-bit JDK. Once you use these two things together and install the Eclipse Plugin, the installation works fine, but I always get "Cannot find RIMIDEWin32Util.dll. This is a required component of the IDE." and then "Cannot find RIMUsbJni.dll. Without this dll the IDE cannot connect to USB enabled handhelds. Add RIMUsbJni to java.library.path". Both of the supposedly missing files are located in my workspace path under .metadata.plugins\net.rim.eide.bootstrapper\installDlls. I have placed those two files pretty much everywhere I could think of, even c:\windows\system32, and it still claims to not be able to find these files.
Now for the fix....
You can use eclipse-java-ganymede-SR2-win32.zip with the 32-bit JDK. Make sure you add the JDK\bin to your %PATH% environment variable. You can then install the Blackberry JDK Plugin and Component Pack and everything will work!
Note: In order to "Configure Blackberry Workspace" from the Blackberry menu, you must first create a Blackberry project. Found this out the hard way.