Java 9 plugin from marketplace stuck at requirements calculation - java

When I try to install Java 9 support plugin for latest Eclipse Oxygen from Eclipse Marketplace it stops on "Calculating requirements and dependencies" step. I have completely fresh instance of Eclipse (JEE package) and both, Java 8 and 9 installed.
When I revealed "sleeping" taks in progress area I found that it stops on this step (marked with red rectangle):
I tried few suggestions found over internet:
Disable firewall (windows built in and on the router side) and windows defender
Disable "Contact all update sites... option from "Install new Software" window"
run eclipse with vm parameter -Djava.net.preferIPv4Stack=true
even tried to install this while running at Windows Safe Mode
Changed Preferences -> General -> Network connections settings
Install packages manually by "Install new software" window instead directly from MarketPlace
None of them helped so far. Furthermore, when entered given url into web browser window, I was able to download content.jar. This entry comes as software source only when I try to install Java 9 support. It was not present on the software sources list and enables automatically every time I retry plugin installation.
Has anyone faced similar problem and knows how to solve it? Am I missing something?

A partial solution to my problem was to disable apache http client, described here: Disable Apache HttpClient.
It allowed me to go forward and install any plugin from Marketplace (actually Java9 plugin was only just one of many due to that "corrupted" URL.
I would not treat that as a permanent solution, cause I still don't know why default configuration is not working properly, but I can move on.

Related

Unity hub cannot install open JDK

I am worried about this little problem: I am creating a mobile game in unity and I need java openJDK, but I cannot install it via unity hub, I have already installed open JDK on oracle website (but version 14, which is not compatible with unity - error message says), where can I download the right version winhout singing to oracle or paying it?
Or does anyone has a tip how to fix the hub installing issue?
I faced the same issue. Later I noticed that my antivirus is blocking installation. What you could do is, temporarily disable your antivirus and add Open JDK module from Unity hub. It will work. Don't forget to enable your antivirus after your installation completes.
On windows - right click your unity version folder (in my case C:\Program Files\Unity\Hub\Editor\2022.1.0f1\Editor) and uncheck read only then click apply. If this doesnt work,right click again ,go to security tab select ALL APPLICATION PACKAGES user and check Full control.

Install e(fx)eclipse in Eclipse Mars

I tried to install e(fx)eclipse tools in Eclipse Mars but it not successful and show that message when I start Eclipse:
You are not running your eclipse instance with Java8. The JavaFX tooling is disabled because of this.Make Java8 the default system java or adjust your eclipse.ini to pass -vm pointing to your Java8 install.
In case you want to turn off this check open your preferences and go to General > Startup and Shutdown and uncheck 'JavaFX Tooling Java Check"
Could anyone help me about this?
As stated an update might be everything you need. I had a similar issue under Linux once, where there were two JVMs installed and the older one was in the projects build path.
You can check under the projects properties -> java build path if Java 1.8 is shown there.
Regarding tools: I don't think you'll need any. Try and get familiar with the JavaFX Scene Builder. It makes building a simple GUI super easy.

How to configure Glassfish Server in Eclipse manually

I have GlassFish server3.1.2.2 pre installed on my machine. Which I want to use in my Eclipse Luna
How do I manually configure it to use in Eclipse?
When I tried using Eclipse Market Place i got an error
No repository found at http://download.oracle.com/otn_software/oepe/luna.
I tried searching through net for which I get pointed to the Oracle Enterprise Pack for Eclipse (OEPE) which is of about 485MB.
Is there an another way round for this?
You must use Eclipse WTP (Web Tool Platform), and should use the lastest version is Luna 4.4.
Link download: Eclipse IDE for Java EE Developers
http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/lunar
Menu Windows\Show view\Other, choose folder Server, click on Servers.
Right click on blank area to use context menu, choose New\Server
Press link "Download additional server adapters"
Choose "GlassFish Tools" from Oracle vendor.
Then, restart Eclipse.
Or you download GlassFish tools (Supports GlassFish 4.0 and 3.1) from: https://marketplace.eclipse.org/content/glassfish-tools and install manually.
Read more about creating a server: http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.wst.server.ui.doc.user%2Ftopics%2Ftwcrtins.html
I could fix it using below steps.(GlassFish server3.1.2.2 and eclipse Luna 4.4.1)
Help > Eclipse Marketplace > Search GlassFish > you will see
GlassFish Tools > Select appropriate one and install it.
Restart eclipse
Windows > Open Views > Other > Server > Servers > GlassFish 3.1
You will need jdk1.7.0 added to Installed JRE. Close the previous window to take effect of new default jdk1.7.0.
This questions seems a little bit outdated but here is my solution.
I assume that you have already downloaded GlassFish on your hard drive and unzipped the files on a directory.
A - Eclipse MarketPlace / Installing GlassFish Tools
The first thing as it is said on previous answers, you have to downloaded GlassFish Tools from eclipse marketplace;
Help -> EclipseMarket Place
And install GlassFish on the screen below;
B - Adding GlassFish Server
Open Server View, if it is not visible on the bottom of the eclipse, then;
Window -> Show View -> Servers
As the server view is visible, simply click "No servers are available. Click this link to create a new server..." as shown below;
C - Adding GlassFish Server
On the New Server window, select GlassFish as shown below. On my experience, there is only one GlassFish option that I can select, instead of several GlassFish options with versions as you can see down below;
D - Configuring GlassFish & Java Locations
Enter the exact GlassFish location and also Java location as you can see below;
E - Last Step
On the last step of this configuration, just leave everything as it is. For simplicity, I don't define an admin password;
Now everything is all set, hope that this helps!
To use Glassfish tools with Eclipse Luna you need Java 8. I also faced this problem because I had Java 7. If you have Java 7 in your environment then download eclipse Kepler. It will work fine.
I had the same issue.
Not able to install neither using Marketplace nor Servers tab.
Following is the alternative.
1) Help -> Install New Software
2) Use url : http://download.oracle.com/otn_software/oepe/12.1.3.6/luna/repository
Above is the OEPE tool provided by oracle for EE development.
3) From all the suggestions, select glassfish tools.
4) Install it.
5) Restart eclipse.
Eclipse 4.4.2 Luna
JDK : 1.8
I had the same problem, to resolve it, go windows -> preferences -> servers and select runtime environment, and now you will see a new window, in the
upper right you will see a option: Download additional server adapter, click and install the glassfish server.
For Eclipse Mars use the similar approach as harshit.
1) Help -> Install New Software
2) Use url: http://download.oracle.com/otn_software/oepe/mars repository Above is the OEPE tool provided by oracle for EE development.
3) From all the suggestions, select Glassfish Tools, (Oracle Weblogic Server Tools, Oracle Weblogic Scripting Tools, Oracle patches, Oracle Maven Tools).
4) Install it.
5) Restart eclipse
In point 3) are 4 tools are in braces, I don't know minimal combination, but only install Glassfish Tools has no effect.
During restart Oepe ask for Java 8 JDK if Eclipse run on on older version.
Eclipse 4.5.0 Mars JDK : 1.8
For Eclipse Luna
Go to Help>Eclipse MarketPlace> Search for GlassFish Tools and install it.
Restart Eclipse.
Now go to servers>new>server and you will find Glassfish server.
You should use eclipse official website and official oracle links.
https://www.eclipse.org/setups/marketplace/?id=2318313
http://download.oracle.com/otn_software/oepe/neon
Use the relevant link for the new version eclipse .
It took me 4 hours to resolve this. Hope this helps others.

Eclipse Luna (4.4.0) and Subclipse not working

I know there are tons of Eclipse/Subclipse questions out there regarding issues with javahl. I've been using Eclipse/Subclipse together for a long time without the javahl issues.
I'm now running into the same issue though.
I just recently upgraded to Java 7:
$ java -version
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
I also upgraded to Eclipse Luna 4.4.0 and installed Subclipse. But after creating a remote repository and trying to browse it in the SVN Repository Exploring perspective I see this in the Eclipse .log error log file:
java.lang.NoClassDefFoundError: Could not initialize class org.apache.subversion.javahl.SVNClient
at org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapter.<init>(JhlClientAdapter.java:57)
at org.tigris.subversion.clientadapter.javahl.Activator.getAdapter(Activator.java:64)
at org.tigris.subversion.clientadapter.Activator.getClientAdapter(Activator.java:70)
at org.tigris.subversion.subclipse.core.SVNClientManager.getAdapter(SVNClientManager.java:127)
at org.tigris.subversion.subclipse.core.SVNClientManager.getSVNClient(SVNClientManager.java:94)
at org.tigris.subversion.subclipse.core.SVNProviderPlugin.getSVNClient(SVNProviderPlugin.java:462)
at org.tigris.subversion.subclipse.core.repo.SVNRepositoryLocation.getSVNClient(SVNRepositoryLocation.java:257)
at org.tigris.subversion.subclipse.core.resources.RemoteFolder.getMembers(RemoteFolder.java:164)
at org.tigris.subversion.subclipse.core.resources.RemoteFolder.members(RemoteFolder.java:260)
at org.tigris.subversion.subclipse.ui.operations.FetchMembersOperation.execute(FetchMembersOperation.java:41)
at org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperation.java:90)
at org.tigris.subversion.subclipse.ui.repository.model.SVNRepositoryRootElement.fetchDeferredChildren(SVNRepositoryRootElement.java:73)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
See pic below to see the components I installed with Subclipse:
Regarding the SVNKit Client Adapter (Not required), I have installed Subclipse both with and without this component selected and in both cases I see the same javahl.SVNClient error.
How do I solve this?
As an aside, I figured maybe I'd give Subversive a go. Subversive is not available in the Eclipse 4.4 udpates software site (http://download.eclipse.org/eclipse/updates/4.4) so I tried the Eclipse Marketplace Client. Installing via Marketplace I get the following error:
The following solutions are not available: Subversive: SVN Team Provider 2.0
Does anyone have Eclipse and Subclipse or Subversive working? What steps do I need to take to get this working?
UPDATE attached is a screenshot of the empty SVN interface client dropdown.
Thanks!
I think that a solution can be found at Polarion website (developers of SVN connectors used by Subversive plugins)
http://www.polarion.com/products/svn/subversive/download.php?utm_source=eclipse.org&utm_medium=link&utm_campaign=subversive.
It says
The Subversive Update Site is a part of Luna Update Site.
To install:
On main menu, choose Help > Install New Software. The available Software dialog appears.
In the Work with list, select Luna - http://download.eclipse.org/releases/luna/. A list of software
packages appears.
Expand the Collaboration node, scroll the list and select Subversive features
Check other options in the dialog as desired and click the Next button. The Install Details screen appears in the dialog.
Click the Next button, accept the license and click Finish. Subversive will download and install.
It is recommended to accept the option to restart Eclipse.
http://community.polarion.com/projects/subversive/download/eclipse/4.0/luna-site/
– [required] Subversive SVN Connectors
http://community.polarion.com/projects/subversive/download/integrations/luna-site/
– [optional] Subversive Integrations
I suppose You don't have some library needed by jaha-hl. It depends on Your OS. Why don't You try SVN Kit instead of JavaHL? You can change provider in window -> preferences -> team -> subversion.
I am running Eclipse 4.4 (Luna) on OSX Mavericks using the same Subclipse version you are using. In my case, the JavaHL library is installed via Homebrew.
I do not think it is related to your problem, but a difference in my environment is that I am using Java 8. In hindsight it does not make sense but I have this recollection that Eclipse 4.4 said I had to upgrade Java for it to launch. Maybe it said I needed at least Java 7 and I simply chose to install Java 8. Do not remember.
I am a bit stumped ATM by your error because of the NoClassDef found. That does not feel like the usual error you see when the problem is with your libraries.
What do you see in the preferences when you do Team > SVN? The drop-down is empty? That would imply the Eclipse plugins did not even load, because normally you would see the entry in the list with a message about (Not installed). That you do not even see this seems like a bigger error is involved.
Not sure what to check, but I'd poke around the log and the Eclipse Installation Details screens to see if there is some problem with one or more of the plugins not being activated. No explanation why that would happen though.
The best way I found to install subversive and its connector is as below:
Go to Help->Install New software.
From the drop down list select "Luna - http://download.eclipse.org/releases/luna". Now some list should be populated.
In the populated list go to Collaborator->Subversive SVN Team Provider.
Click Finish.
This is will install Subversive SVN Team Provider after restart of eclipse.
Then right click on empty are of Project Explorer and select import and then other. From the new menu select SVN-Project from SVN , this will ask for connector installation. Select desired connector and install it.
HTH
I was getting the same problem: "unable to load default svn client"
empty combo in 'preferences / team / svn'
I did like this to make works:
window > install new software > http://subclipse.tigris.org/update_1.10.x/
re-check all checkboxes, and go.
After restart, it was ok
I don't know if this is a new link or not, but you can just drag n drop the install icon from the Eclipse Marketplace Subclipse site to your Eclipse Luna workspace to install it.

Is it possible to build a Linux/Motif Eclipse RCP application?

I am trying to build an Eclipse application that would work with a linux/motif installation target. However, this seems not to be possible even though the export option is available in the product export wizard.
I've checked the content of the delta pack and indeed, the packages for linux/motif are missing. After checking the downloads page for eclipse 3.4 at:
http://download.eclipse.org/eclipse/downloads/drops/R-3.4-200806172000/index.php
I see that even though there is an Eclipse version marked for Linux/motif, it is marked as Testing only. Additionally, there is no delta pack for this target.
Has anyone been successful building an RCP application targeting linux/motif? Would it work if I download this testing only version of eclipse and copy the missing plugins?
We have a similar issue. We are building Eclipse applications and one of our platforms is Solaris 10 x86 which was supported for a short time as an early access build in 3.2 and dropped. I believe 3.2 and 3.3 supported motif so your best bet may be to revert to an older version of Eclipse. I develop in 3.4 and when we do the Solaris specific release we switch back to 3.2, it is usually about 10 minutes of changes to fix everything for the prior version. Usually it is removing #overides in a few locations and changing a function or two that Eclipse no longer uses.
The other thing you can do is get the Linux/Motif package for Eclipse, and install it on a Linux box running Motif. Check out your project on that Eclipse machine and export it there. I tried out VirtualBox (a free Virtual Machine from Sun Microsystems) it should make this easy for you.

Categories