Eclipse Photon server view not showing - java

I am using eclipse photon.
I am not getting servers view. I tried in Window -> show view -> other -> servers. But it's not coming.
Any solution for this?

Did you try resetting the perspective?
window -> Perspective -> Reset Perspective
After the reset, you may want to reconfigure all that is required, since it resets to the default perspective.

Photon is the name for a version, it has little bearing on what's actually installed as it represents a simultaneous release of 50+ projects that you can install in any combination you want. It sounds like you want the Web Tools Platform. Instructions for installing that are at https://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F .

If you do already have Eclipse up and running, Kepler and later versions can install WTP through the Marketplace.
Otherwise, within Eclipse, go to the Help menu, choose Install New Software, and while Working With All Available Sites, choose the features you want from the Web, XML, Java EE and OSGi Enterprise Development category. If unsure, select the Eclipse Java EE Developer Tools, JST Server Adapters, and JST Server Adapters Extensions features and proceed, allowing it to select dependencies for you. For more complete steps on installing software, consult the Workbench User Guide Task:Updating and Installing Software.

Related

Java Enterprise doesn't appear in IntelliJ

I have problem about importing Java EE glassfish server to my IntelliJ.
I have searched nothing on the web.
When I want to create a new glassfish project, I don't have option for it.
I can't add image cause I don't have reputation for it. I add direct link to image below text.
Screenshots:
It appears you have a community version of IntelliJ. Tools to support enterprise frameworks, like JavaEE or Grails, are only available in paid version. If need a free JavaEE IDE, I recommend Netbeans,which is similar to IntelliJ but free, or Eclipse, which is also great, but more different
If you have the Ultimate version, the accepted answer provides no value.
To enable these project templates to show up you have to enable the Java EE: EJB, JPA, Servlets plugin
This is bundled with IntelliJ but chances are when you first installed it, this was not selected as one of the resources you wanted, or it was deselected for not knowing what it does.
All you have to do is go to your plugins, click on the 'Installed Tab' and re-enable it. IntelliJ will prompt you to restart

The "Installed Software" vs "Features" vs "Plug-ins" in eclipse

When I click the Installation Details in eclipse,
I got this tab for Installed software
and a tab for Features
and a tab for plug-ins.
What are the relationships between eclipse software, eclipse features, and eclipse plugin as is shown in this window?
I guess Help -> Install New Software ... to install software, and software is comprised of a bunch of related plugins. Those two tabs are just the same contents (software names/plugin names) that is installed from Install New Software ... menu?
In his answer https://stackoverflow.com/a/12863077/260127, Bananeweizen says Eclipse "features" are the smallest installable pieces of Eclipse applications for users (e.g. the Java development toolkit). They consist of multiple plugins, where plugins are the smallest pieces that make sense from the developers point of view (e.g. org.eclipse.jdt.core, org.eclipse.jdt.ui, org.eclipse.jdt.somethingelse)., but to me it seems like eclipse feature is almost the same as eclipse software, and eclipse application is a set of eclipse software(feature) on top of eclipse platform.
"Installed software" is that subset of features, which you as a user actively choose to install in this Eclipse instance.
The features list on the other hand contains all features installed in this Eclipse instance. It includes all items from "installed software" and it contains the dependencies of the items from "installed software". Those are the features which you did not choose to install by yourself, but the Eclipse P2 update manager decided that, to be able to satisfy your installation request.
So again, an Eclipse installation process installs features, some of them on request of the user, some of them on request of the system to be able to install those from the user.
To make this all more complicated, Eclipse features are often referred to as "plugins" by Eclipse users, although that is not correct. So if you read about something like "installing the PHP plugin", that really refers to installing the PHP feature, which again consists of multiple plugins (but you don't see those as an Eclipse user, only as an Eclipse developer).
You can double click one of the features in that dialog to see the list of plugins it contains.
A plugin is that adds specific abilities to a larger software application.
Each plug-in
1)Contributes to 1 or more extension points(Means it can increase his property by just connecting it to any extension point)
2.)Small set of prog which generally require JRE and add some small feature to your Eclipse SDK..
While eclipse software is a set of plugins(Generally called RCP-Rich Client Platform )which provide a complete functionality to eclipse SDK.
Yep, software may consists of multiple plugins. "Installed" not only means that you have installed them via update site, but also this software were included in that package of eclipse.

NetBeans Java to JavaEE

I have downloaded the Netbeans version of Java (and not JavaEE). Now I need to create a web application using the IDE. Can you please confirm the website to download the plugin and get the JavaEE features in the IDE.
PS: I am looking for URL where I can download the .nbm file because proxy settings may not allow automatic updates.
Try using the plugin manager
Tools -> Plugins -> Available Plugins
If you're having proxy issues then
Tools -> General -> Proxy Settings
and set your proxy settings.
If you do fin the URL for the nbms you can either use the plugin manager mentioned above, or use the update folder as mentioned in Geertjans' blog.
The website that holds the numerous plugins that implement the Java EE features of NetBeans 7 is here: http://dlc.sun.com.edgesuite.net/netbeans/updates/7.0/uc/final/distribution/modules/enterprise/
You may need to get some other plugins from http://dlc.sun.com.edgesuite.net/netbeans/updates/7.0/uc/final/distribution/modules/websvccommon/, too.
I would encourage you to ask questions about the proxy issues that you are running into with the Update Center. Doing the update manually will be a frustrating experience.
My Netbeans is the version from the Ubuntu 12.04 Software Center repository (7.0). I solved this by checking the options "Certified Plugins","Netbeans Distribution" and "Plugins Portal", which, by default, were unchecked for active. You can find this on
Tools -> Plugins -> Available Plugins
In the "Settings" (last) tab.
By making this, reload the "Avaible Plugins" (that was empty for me) and, after some seconds, lots of categories will appear. Look for Java Web and EE and install them (I found only the Java Web plugin).

Apache Tomcat Not Showing in Eclipse Server Runtime Environments [duplicate]

This question already has answers here:
How do I import the javax.servlet / jakarta.servlet API in my Eclipse project?
(16 answers)
Closed 1 year ago.
I have tomcat 5.5 installed, running and verifiable at http://localhost:8080/. The Tomcat menu option appears in the Eclipse menu bar and I can start and stop Tomcat from there. In Eclipse, it does not show as a Server Runtime Environment in Window - Preferences - Server - Runtime Environments, nor does it appear in the list of environments that can be added when I click the "Add" button. All I see is the J2EE Runtime Library.
Edit:
Running on Windows XP.
Eclipse version is 3.5.1
In my case I needed to install "JST Server Adapters". I am running Eclipse 3.6 Helios RCP Edition.
Here are the steps I followed:
Help -> Install New Software
Choose "Helios - http://download.eclipse.org/releases/helios" site or kepler - http://download.ecliplse.org/releases/kepler
Expand "Web, XML, and Java EE Development"
Check JST Server Adapters (version 3.2.2)
After that I could define new Server Runtime Environments.
EDIT: With Eclipse 3.7 Indigo Classic, Eclipse Kepler and Luna, the steps are the same (with appropriate update site) but you need both JST Server Adapters and JST Server Adapters Extentions to get the Server Runtime Environment options.
You need to go to Help>Eclipse Marketplace . Then type server in the search box it will display Eclipse JST Server Adapters (Apache Tomcat,...) .Select that one and install it .Then go back to Window>Preferences>Server>Runtime Environnement, click add choose Apache tomcat version then add the installation directory .
I had the same problem and I solved it with the following steps
Help > Install New Software...
Select "Eclipse Web Tools Platform Repository (http://download.eclipse.org/webtools/updates)" from the "Work with" drop-down.
Select "Web Tools Platform (WTP)" and "Project Provided Components".
Complete all the installation steps and restart Eclipse. You'll see a bunch of servers when you try to add a server runtime environment.
Window > Preferences > Server > Runtime Environments (as you said)
Add
Apache > Apache Tomcat 5.5
That has worked for the past 3 versions of Eclipse at least. If there is not such an option on your eclipse, get a fresh installation (for Java EE developers).
nor does it appear in the list of environments that can be added when I click the "Add" button. All I see is the J2EE Runtime Library.
Go get "Eclipse for Java EE developers". Note the extra "EE". This includes among others the Web Tools Platform with among others a lot of server plugins with among others the one for Apache Tomcat 5.x. It's also logically; JSP/Servlet is part of the Java EE API.
You may get more success if you do a "search" for the runtime env from the preferences screen instead of hitting "add" - see this demo on youtube. http://www.youtube.com/watch?v=EOkN5IPoJVs&playnext_from=TL&videos=rVnITzSU2Z8 - When you hit search, you are prompted to point to the tomcat directory and then it SHOULD add it as a server runtime environment. Unfortunately for me, that is not the case (I get "no new server runtime environments were found") But you might have more success.
Scenario 1:
You had Eclipse showing server and now after removing the particular version you want to configure at Eclipse a new local server instance. But you can not move further.
This happens due to reason Eclipse still looks for configured version of Tomcat directory, which directory is no longer there.
There is no need till LUNA to make fresh installation!
All we need is to REPLACE the new server run time environment into eclipse after removing old one, which is non-existent. Eclipse will
Help -> check for updates upon Eclipse update solved the issue

How to install Web Platform Tools in Eclipse?

Which URL do I install this and any pre-reqs from, and how can I install them? Been struggling with this for the last 1 hour with no luck.
new 2013 answer: it seems to depend on what version of eclipse you're running.
click "help" -> "about eclipse sdk" to find the version (e.g. 4.2.2).
optionally, from the version number you can know the codename (e.g. Juno) from wikipedia: http://en.wikipedia.org/wiki/Eclipse_%28software%29#Releases
go here: http://wiki.eclipse.org/WTP_FAQ#How_do_I_install_WTP.3F
right click on the correct WTP link copy the link address (e.g. WTP 3.4) (they should be listed by version and codename)
now in eclipse, click "help" -> "install new software..." and paste the link location in the "work with" field (e.g. "http://download.eclipse.org/webtools/repository/juno/").
choose "Web Tools Platform (WTP #.#.#)" and click next and install everything.
restart eclipse, close all open files and re-open them for web tools to start working.
If you can use a clean install of Eclipse. Download Enterprise Java version. WTP its included in this Eclipse distribution. When you need updates for WTP, you can get updates via "Eclipse Software Updates" tool.
Regards
You can download WTP from Eclipse Help Menu. Following is the link to download the WTP into Eclipse.
http://download.eclipse.org/webtools/updates
Install Software Menu in Eclipse
Following image show the Install New Software Window.
Install New Software window
I try my best to stick to Pulse, which handles a lot of the configuration of Eclipse plugins for you. I'm not associated with them by the way, but am very happy with the service. WTP is one of the features they provide.

Categories

Resources