Eclipse cannot open java me perspective - eclipse

I'd like to learn java me. I've gone to the following site to download what is needed. My Eclipse version is Juno.
I've done the following:
Eclipse Juno
The Oracle Java ME SDK requires the MTJ toolkit, but it is not bundled with Juno and it must be installed manually. Therefore, install MTJ toolkit first.
Go to Help > Install New Software.
In the "Work with" field, enter this URL: http://download.eclipse.org/releases/indigo
Click Add. When the plugins are discovered, open the Mobile and Device Development Tools hierarchy and check Mobile Tools for Java Examples, Mobile Tools for Java SDK, and Mobile Tools for Java Examples. Click Next. On the installation screen select all plugins and click Finish.
A Juno plugin named org.eclipse.jetty.server_(version).jar conflicts with the MTJ libraries when the plugin version is higher than 6. If it is you must prevent it from loading by changing its name so the Jar file is not parsed. For example, change it to: org.eclipse.jetty.server.old
To open the device selector, select Window > Open Perspective > Other and select Java ME.
The MTJ is installed along with the 3 packages that also need to be installed:
Mobile Tools for Java Examples
Mobile Tools for Java SDK
Mobile Tools
for Java Examples
When I choose: Window > Open Perspective > Other
there is no Java ME option. Does anyone know why that option is not shown?

I do not know exactly why, but MTJ does not run with Juno. If you like Eclipse try it with Indigo.
Have you considered using NetBeans?

Related

eclipse: Java ME SDK plugin doesn't work

I'm trying to work with Java ME Platform SDK in Eclipse Juno on Windows XP.
I have followed this tutorial: I installed Java ME SDK 3.2, MTJ toolkit and plugin for Eclipse. Everything was done without errors, and of course I have restarted Eclipse, but I can't see any effect:
Say, at this step from instruction: Select Window > Open Perspective > Other and choose Java ME, then click OK.
There is actually no "Java ME" perspective in "Other" list.
Or, this one: Select Window > Preferences > Java ME and select Device Management, and click Manual Install.
The same: I go to Select Window > Preferences, and there is NO "Java ME" item.
If I go to Help -> About Eclipse -> Installation details, then I see installed plugins there: Java ME SDK Demos, Java ME SDK Tools, Mobile Tools for Java Examples, Mobile Tools for Java SDK.
I have read instruction many times, and I still can't find what did I miss.
Any help appreciated.
I had the same problem. After enough reading I realized that there are some conflicts that occur with Mobile Tools for Java in the Juno edition. It works well with Indigo.
Alternatively, you could use Eclipse Pulsar for developing for the mobile platform. It comes preloaded with all the tools required for mobile app development.
Download Eclipse Pulsar (Helios SSR2) from http://www.eclipse.org/downloads/packages/pulsar-mobile-developers/heliossr2.

Java EE perspective in eclipse

I have Standard version of eclipse Galileo. Now I want to develop enterprise applications on it. Any idea how can I get Java EE perspective? How to install Java EE tools in the standard version?
I had the same problem. I installed the latest Eclipse platform, Indigo, first using the Ubuntu Software Center, and when I didn't see the JavaEE perspective, I though I'd gotten the wrong one. I deleted that and installed the Java EE version downloadable from eclipse.org -- but still no Java EE perspective available. Then I read the advice above (and elsewhere) about installing the WTP plugins.
I decided to blow away the previous installation of Eclipse, because I prefer installing everything through the normal package management system. Then, after having installed Eclipse again, through the Ubuntu Software Center (and not seeing the Java EE perspective)... but I'll tell the rest of the story as a set of instructions:
Install Eclipse. In Ubuntu, you can do it at least in these two ways:
Go to the Ubuntu Software Center, search for eclipse, and install "Extensible Tool Platform and Java IDE"; or
Give the command sudo apt-get install eclipse eclipse-cdt eclipse-emf eclipse-emf-examples eclipse-emf-sdk eclipse-jdt eclipse-pde eclipse-platform eclipse-platform-data eclipse-rcp eclipse-rse eclipse-xsd eclipse-xsd-sdk (those are what I have after doing all these steps; they might not all be necessary, but can't hurt)
Open Eclipse, and give a directory to use as a workspace.
Go to "Help" -> "Install New Software...".
In the new dialog, in the "Work with:" pull-down list, select "Indigo - http://download.eclipse.org/releases/indigoIndigo - http://download.eclipse.org/releases/indigo".
Click the checkbox to the left of "Web, XML, Java EE and OSGI Enterprise Development".
Click the "Next >" button. The installation will start.
The dialog will now list the items to be installed, and ask you to confirm the installation. Click the "Next >" button. The installation will complete.
Now, back in the main window, in "Window" -> "Perspective", I still could not see "Java EE" -- but it might have been under the "Other" selection; I didn't check, and that's where it can be found now that I've done everything described here.
Click on "File" -> "New" -> "Dynamic Web Project". The existence of this selection means that you've successfully installed the web development tools.
Configure the project. After you've pressed "Finish", Eclipse should ask you whether you want to open the Java EE perspective.
By the way, some of those Eclipse packages that I give for installing through apt-get might have been installed during the Eclipse software update phase, as I didn't install all of them by myself. The most important ones are eclipse, eclipse-platform, eclipse-platform-data, eclipse-pde, and eclipse-rcp. The descriptions of all of them are:
eclipse - Extensible Tool Platform and Java IDE
eclipse-cdt - C/C++ Development Tools for Eclipse
eclipse-emf - Eclipse Modeling Framework (EMF)
eclipse-emf-examples - Eclipse EMF/XSD examples
eclipse-emf-sdk - Eclipse Modeling Framework (EMF) - (Source/Documentation)
eclipse-jdt - Eclipse Java Development Tools (JDT)
eclipse-pde - Eclipse Plug-in Development Environment (PDE)
eclipse-platform - Eclipse platform without plug-ins to develop any language
eclipse-platform-data - Eclipse platform without plug-ins to develop any language (data)
eclipse-rcp - Eclipse Rich Client Platform (RCP)
eclipse-rse - Eclipse Remote System Explorer (RSE)
eclipse-xsd - XML Schema Definition (XSD) for Eclipse
eclipse-xsd-sdk -
The standard edition can be upgraded to J2EE edition by installing the different plug-ins like WTP and so on.
Did you try to look at the update site for Galileo?
It's better to download newest version of eclipse "for Java EE Developers".
It also includes standard version.

I don't have "Dynamic Web Project" option in Eclipse new Project wizard

I have download the Eclipse IDE for Java developer, HELIOS. I click 'File -> New -> Project...', but I only have "General, CVS, Java project, Examples". I would like to be able to create "dynamic web project", why do I not have this option?
I searched from internet, and the reason is probably I don't have Eclipse Web Development Tools, but how can I get it?
-----------EDIT-----------
I know by install Eclipse IDE for Java EE developer can solve the problem. But, I am working under Linux Ubuntu, how to get Eclipse Java EE version for Ubuntu Linux machine?
Not all of them are required (I think), but after installing the components listed below I got the "Dynamic Web Project" template added to my Eclipse (Indigo). The list is:
Eclipse Java EE Developer Tools
Eclipse Java Web Developer Tools
Eclipse Web Developer Tools
Eclipse XML Editors and Tools
You can install those packages by clicking on "Help" > "Install New Software", selecting the repository that corresponds to your Eclipse build (i.e http://download.eclipse.org/releases/indigo for Indigo). The packages are grouped under "Web, XML, Java EE and OSGi Enterprise Development".
I think you need the Web Tools Platform package for this. Not very sure though. You can add it to your current eclipse through Help > install new software.
Then add the software repository site location for WTP for your version of eclipse. This is how you can install plugins in eclipse.
"http://download.eclipse.org/releases/kepler"(If you have Eclipse Kepler)
Based on your eclipse choose above link and copy in
help>Install new software
paste in "work with" click add
give any name you want - plugin
In the list select>"Web, XML, Java EE and OSGi Enterprise Development">Eclipse Java EE
Developer Tools. select and install it.
After restart you will have your Dyanmic web project option.
Thank You.
Like me if it worked please
You only need to install
Eclipse Java EE Developer Tools
and you will be able to see "Dynamic web project" wizard.
Download Eclipse IDE for Java EE Developers, everything you need should be included inside. This is the most painless way of obtaining Web Development Tools.
If you want to leave your existing Eclipse IDE, you can go to 'Help -> Install New Software' and find WDT to install them, although I haven't personally tried to go this route, so I can't guarantee everything will work out of the box.
Edit: not sure if it's included in Ubuntu's repository. One other way to do it is to download Linux 32-bit (or 64-bit, depending on your machine) version of Eclipse EE, but you'll have to check if it's the source you have to compile yourself, or an already compiled binary.
Fwiw, I downloaded the standard Java EE version of the Mars version of Eclipse, and ran into the same deal -- didn't see a Web option if I tried File >>> New >>> Project wizard.
The good news: Probably no extra installation needed.
It looks like what I wanted was to select the Other option rather than the Project item (strangely this is what comes up when you hit Ctrl-N, but that also lets us know we're probably on the right track):
After you select "Other", you'll see the "Select a wizard" screen, where you can select "Dynamic Web Project" and profit.
HELP
Install New Software
In Work With input box paste this url: http://download.eclipse.org/releases/{version}/
Replace version with your eclipse's version (eg: LUNA)
Hit enter
Underneath box will have different options, select package of your need.
Maybe Eclipse WTP plugin has been accidently removed. Have you tried re-installing WTP using this location ? If I were you I would have reinstall Eclipse from strach or even better try Spring ToolSuite which integrates with Google Plugin for Eclipse seamlessly (usign Extenstions tab on STS Dashboard)
Just download any eclipse with "EE" letters
I had a similar problem, you may find that going to the top right corner of your page in Eclipse and click "Java EE" instead of "Java" will solve your problem. I had EE installed correctly like you, and this solved the issue for me. Hope I helped :)
Go to Eclipse --> Help
and click--->Install new software
then you can see a window ...There a click add
Then put below url in url box: http://download.eclipse.org/webtools/repository/juno/
i am having juno
if u have any other means put that name .
then click ok.
Make sure to check dynamic web app in "other section" i.e File>New>Other>Web or type in "dynamic web app" in your wizard filter. If dynamic web app is not there then follow following steps:
On Eclipse Menu Select HELP > INSTALL NEW SOFTWARE
In work with test box simply type in your eclipse version, which is oxygen in my case
Once you type in yur version something like this "Oxygen - http://download.eclipse.org/releases/oxygen"will be recommended to you in drop down
If you do not get any recommendation then simply copy " http://download.eclipse.org/releases/your-version" and paste it. Make sure to edit your-version.
After you Enter the address and press enter bunch of new softwares will be listed just ubderneath work with text box.
Scroll, find and Expand WEB, XML, Java EE .... tab
Select only these three options: Eclipse Java EE Developer Tools, Eclipse Java Web Developer Tools,Eclipse Web Developer Tools
Next, next and finish!
The easiest way to handle this is to install the full package installer with all weblogic add ons from the oracle site. This will install eclipse with all the features/plug ins you need.
http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/oepe-network-installer-2371168.html
This helped me find the "Dynamic web project" in Eclipse 2020-12 version. Restart the eclipse and go to file->new->other->web and you will see
project will be available.
This option might be missing because more than one and other than Tomcat runtime is selected. At the marked spot I was shown that I have selected Java JDK runtime. After unselecting it Dynamic Web Module reappeared.

Problems in Installation of Blackberry JDE Plugin for Eclipse

I am having issues installing the BlackBerry JDE plugin. I have downloaded and installed the plugin from the BlackBerry site. The installation ran smoothly and completed. However when I open Eclipse the option for BlackBerry is not showing.
I don't know what the problem is exactly. I tried many things but I am heading nowhere. I want to know how to add the plugin and get started on BlackBerry development.
The default download of the BlackBerry Java Plug-in for Eclipse is a combination of Eclipse and the BlackBerry Eclipse plugin. For version 1.3 and 1.5, the install directory will contain a full Eclipse Helios installation, along with the BlackBerry plugin. You should start eclipse from that directory.
From the download page, one of the new features for version 1.5 is:
Ability to download and install the BlackBerry Plug-in into an existing Eclipse environment by providing the BlackBerry Plug-in through an Eclipse update site.
So to take advantage of that, follow the instructions on "BlackBerry Java Plug-in for Eclipse Update Site" which explain how to add the site to your existing Eclipse setup, and then install the plugin from the site.
There are 2 options, as noted above.
The blackberry way: you download the full plugin (the name is misleading, since it's a full eclipse install including the plugin) from here.
The eclipse way: you install a 32-bit Java 6 SDK (64-bit is not supported and Java 7 has known problems with the code signing tool), then download the 32-bit Eclipse (I use version 3.7 "Indigo"), and install the plugin from Eclipse (Menu Help->Install new software, type the url "http://www.blackberry.com/go/eclipseupdate/3.6/java" inside the "Work with" box, then you need to select the plugin and at least a Blackberry SDK from the list)
If everything works, you should see the blackberry icon in the "About" box.
You should also see a Blackberry perspective (under Window->Open Perspective), a Blackberry menu item under "Project"), and a Blackberry section if you create a new project.
There is no such thing as a "Blackberry tab". The Blackberry development tools are integrated with the environment.
you could have done some mistakes while the installation. I am also using in windows 7 only. Its working perfectly for me. Please delete the current eclipse and try to install as shown in this tutorial.
I have installed it on my new laptop just yesterday. Simple, follow the steps and you will be done. Note that the latest eclipse is Indigo and not Helios; I am using Indigo and I advocate it.
Go grab your Indigo
Unzip into ANY dammed directory. You must see a folder with "eclipse" created.
Double click the Violet eclipse Icon. You must now be seeing eclipse smiling at you.
Select the menu Help->Install New Software
Select a hyperlink present at label "Find more software by working with the "Available Software Sites" preferences"
Now select Preferences and the select the button "Add".
Fill up Name and Location values with the following
Name:BlackBerry Java Plug-in Update Site, Value: "http://www.blackberry.com/go/eclipseUpdate/3.6/java"
Select OK.
That's it!

Eclipse Java EE plugin

I want an Eclipse Java EE plugin which I can install directly from Eclipse.
I searched about it on Google and found some ones but couldn't figure out how to download them directly from Eclipse.
One plugin I found was WTP but couldn't find the location of the WTP repository that I can enter in the Eclipse's Software Update tool.
I am using Eclipse 3.4.2 (Ganymede)
I warmly suggest to install Eclipse IDE for Java EE developers which already includes the Web Tools Platform (WTP) and much more (see this page for a full comparison).
As an alternative, you can download a zip of the Web Tools from here or install it via Update Manager using this URL:
http://download.eclipse.org/webtools/updates/
If you have Eclipse Galileo you should go to Help > Install New Software. Then the list of available sites to install updates will appear. You should add the WTP plug-in to this list, for example.
To do this, click on Add and enter the name and location (you can get this from the WTP site). Then, select this plug-in and click on Finish. That's it and it's valid to all plug-ins.
when you are searching do a comprehensive search http:// in eclipse
Google search the repository containing Java EE WTP
Install the new software in your IDE, restart your IDE, right click under the project explorer view, select new, the option for creating a dynamic web project should now be available. I did it using the luna version of eclipse which dose not have the default and now have the option.
Use
help---install new software--type http://findbugs.cs.umd.edu/eclipse
And go from there