Portable eclipse without java editor - eclipse

I need to work with eclipse Oxygen (or at least neon), and I do not have administrator rights on my pc.
I downloaded a 64bits portable version of eclipe oxygen (photon) :
https://sourceforge.net/projects/eclipse-neon-portable/
I'm using OpenJdk8 (JDK1.8) also in 64bits.
Here is my problem:
I start eclipse with the path of the 1.8 JDK, but I don't have Java editor.
Indeed I can't open Java view or create a Java project, even the Syntax highlighting colors for .java..
Does the problem come from the Eclipse editor? From the Jdk? From the Eclipse configuration?
I'm open to any new solution!
Thanks in advance.
EDIT: I'm working with the EMF editor and I need the Java one to edit compile the generated java code.

Related

Parsing smv files in eclipse

I download nusmv-tools(https://code.google.com/a/eclipselabs.org/p/nusmv-tools/) which is a model checker.
I installed it and its dependencies(such as xtext)on eclipse successfully and restart eclipse.
Now, I expect eclipse recognize the nusmv files (which extensions are '.smv'), however it cannot.
My question is, what should I do in order to make parse nusmv files in eclipse, so that eclipse will recognize and highlight the nusmv file(.smv).
(Should I create an xtext project or java project or general project?
Which libraries or external jars should I add to the project?)
Any help?
Thanks
Actually, for nusmv, the problem was: I was using eclipse 64 bit, but it seems the nusmv-tools require to use 32 bits eclipse and xtext 2.5 version...
After downgrading the eclipse and xtext it worked for me...

Eclipse 4.3 Kepler missing JRE system library

I am extremely new to java (about one week of experience at the moment). I have made a fair amount of simple programs in an older version of eclipse Juno on a PC. I copied all of the files onto a flash drive and put them into the workspace of eclipse kepler on my mac laptop. Now every single line of code is unrecognized and the JRE system library folder is gone from all of the projects. I am not sure how to fix this and I would love if someone will help my noob self at this. Thanks!
You have to configure the jre from your mac in eclipse. You find it under window preferences and search for jre.
After that, in your eclipse project you can use the new configured jre (project properties - Java Build Path)
Hope this helps.

Eclipse Juno cannot make new project after update

I'm using Ubuntu 12.04, and to install Eclipse Juno I downloaded it from the official site (I don't use apt-get nor software center)
After updating it from help > check for updates menu, my Eclipse cannot make new project. When I hover File > New, there isn't any menu to select (as the usual Java Project, C++ Project etc.), only an unselectable text like this:
< No Applicable Items >
Anyone know what causes this?
nitind's answer above helped solve my problem. I was using eclipse java ide juno on windows and i could not see any items under File -> New or under Window -> Show View. I noticed eclipse had defaulted to using the Java-EE perspective. Following nitind's suggestion I changed it to the Java perspective and can now see all the menu items. thank you!
I had the same error when i first started the program, but i looked into it, and I saw that the workspace already had .cpp and compiled files in it which i had compiled earlier with a different program. To fix the error, I just changed the workspace to the default, and it worked fine.
I was using eclipse CDT Kepler with java 1.6.0_27. I then tried it with java 1.7.0_25 and eclipse Juno and this method resolved the error in any of these instances.
Try using the default workspace and it should work.
Regards,
Nikita

eclipse indigo java perspective not visible

I installed Eclipse Platform Version: 3.7.2 on Ubuntu 12.04 LTS. My Ubuntu Software Center shows that Eclipse Extensible Tool Platform and Java IDE (eclipse 3.7.2-1) is installed. Also Eclipse Integrated Development is also installed (eclipse-platform 3.7.2-1). However when I launch Eclipse, I am not able to get a Java perspective and not able to create a Java project. When I click on Open Perspective: I see CVS Repository Exploring, Debug, Resource (default) and Team Synchronizing. Thanks in advance.
You can click open perspective > others and find Java perspective. please refer this picture:
First, you should not install Eclipse from any Linux repository or package manager; just download it directly from the Eclipse web site. Also make sure you're using the Oracle JDK, not gcj. There are many problem reported with running Eclipse under gcj. To specify the JVM for Eclipse to run in, use eclipse.ini
Second, what you have is the Eclipse Platform, which does not include any IDE features; it's just the base platform on which Eclipse is built (another problem with getting Eclipse from a linux repo is that you don't really know what they've packaged and delivered to you). For Java development, you probably want the Eclipse IDE for Java Developers or Eclipse IDE for Java EE Developers packages from the downloads page.
Close Eclipse and rename the .eclipse directory in your home directory with another name, for example .eclipseSAVE.
Restart Eclipse and in perspective you should find Java.

No Jsp Editor with Eclipse Galileo 3.3

I just installed Eclipse Galileo, but have no JSP editor.
In file associations, on the Preferences page, *.jsp was not even mentioned.
When I added it and went to associate with the built-in Jsp Editor, there was none in the list.
Note: I have WTP 3.1.1 installed.
Any ideas?
What JVM are you using? 1.5 or 6 is necessary for WTP to run properly.
Can you activate a Java EE perspective, which would then give you access to all those features (JSP editor, JSP file association, and so on)
If all that fails, you can always try a parallel clean installation of the Java EE edition of Galileo eclipse 3.5.1, which should have everything running out of the box.
This can easily be resolved by installing Eclipse Java EE version. Else you need to install the following tool to get jsp context menu under New.
Go to Help->Install New Software and install the item "Web Page Editor (Optional)" under Web,XML, and Java EE Development