I have an issue with Eclipse,
Eclipse macOS High Sierra version 10.13.6
I keep getting JVM terminated exit code=1
I have tried too many times but the response is same after launching it.
I have downloaded it from Stanford's SEE section and still unable to launch. The error message is here.
I downloaded your course material, and it does indeed contain a really old version of Eclipse - as greg-449 pointed out, there's no way this is going to work on macOS High Sierra. Really surprised instructions from 2007 haven't been updated, but that's another matter.
It would seem that your course just requires Java, so you can use the automated Installer that you find on this page: https://www.eclipse.org/downloads/ and then choose the Eclipse IDE for Java Developers in the wizard. Or you can download that package directly here, and install it.
Looking at your course material, it does appear that they have a custom plugin that makes regular Eclipse actions easier to execute, by adding a number of buttons to the Eclipse toolbar, you won't find these in a vanilla install. If you can find that plugin, you could try to install it into this version of Eclipse too, it might still work. If not, you can perform those steps manually - this video will help, as he shows you how to import and run these projects without those plugins, it's not hard!
It's not possible to say if the plugin adds functionality beyond what is normally possible in general Eclipse distributions, but I doubt it does. Good luck!
Related
Is it just me or the documentation for PhoneGap installation is ridiculous? The steps are all over the place and no clear path to installing and using it. I found a couple of decent guides for use on MAC but nothing that is clear for Windows.
Got frustrated and uninstalled everything, eclipse, cordova, ant, android.
I want to just restart fresh with a clean install. Can anyone show me to a guide which has a step by step guide to windows. Or maybe you could guide me to exactly which are the stuff I need to install for phoneGap to work? For example is ant(apache) even needed? Not every guide mentions it.
I believe over all, the steps includes 2 parts. 1 is installing the various components such as eclipse and so on. 2nd is to interlink all these various components.
Not exaggerating but I've been at this for a week plus now and have looked around for a clear instruction and found nothing. Please help.
PS: If PhoneGap can be installed and linked with NetBeans, it would be great to know exactly how. Tnks.
You have only java, javafx in netbeans because you installed netbeans java edition.
Cordova is in the HTML5 package which is included in other editions like java EE edition or php edition.
In your netbeans version, you have to install the plugin:
Tools->Plugins-Available plugins, check HTML5 and click install.
Then you should be able to use the New project->HTML5->Cordova application.
You will still need cordova, android, ant... but the difference is that netbeans should setup everything for you.
Sorry I can't confirm as I have installed everything before netbeans.
I am not an Eclipse/RAP developer, but over a year ago I was tasked with getting a particular application to run. The development environment was Eclipse/RAP using Java. The application was already almost done -- I just needed to make a few changes to get it to work the way we wanted it to work. I made the changes, stuck it into the Jboss app, and it worked. I saved away my source code.
Since then they upgraded my PC, so I no longer have access to my old development environment. We need to move the RAP application to another server, and for some reason it has quit working. Either I don't understand why it ever worked or I don't understand why it doesn't work -- it's all a bit baffling.
So now I'm trying to get this thing working again.
The basic problem I haven't been able to resolve is dependencies. Eclipse reports that the following three bundles can't be found:
org.eclipse.rap.draw2d
org.eclipse.rap.zest.core
org.eclipse.rap.zest.layouts
All three should be in the GEF package.
I have tried installing Eclipse Indigo. When I do that, Eclipse can't find GEF to install it, even though it's given the same URL as I give to Kepler. I've installed Eclipse Kepler. I can install GEF, but while Eclipse reports a valid install, and reports that it is installed, I'm still seeing the same missing dependencies.
Any ideas? It's baffled an Eclipse developer here, but then we don't really use RAP except for this one application.
Any help at all would be greatly appreciated.
Sean.
This is a dependency-related issue, and has nothing to do with RAP. Nevertheless, be careful that the notion of GEF has changed a bit. GEF4 includes: GEF, Zest, Draw2D. Rather than installing the whole thing, I suggest you download your dependencies (i.e. go to GIT and pull the GEF4 project), and then include those projects (or build them as JARs) and include them to be available at runtime, and of course as dependencies.
I am starting a java SWT project with creme 4.12 jvm for a windows mobile 6.5 pocket pc.
I really dont know where to start. could not google out any good documentation or example, just a few questions in forums.
I would like to know:
Is there any good docs around that i was unable to find?
Do i have to put any extra configuration on eclipse or i can create and build a simple java project, with sdk 1.3.
I have included the swt-32.dll as native library in swt.jar
i have tried to run it on the device but it crashes before running.
Sorry for the long question, but i really dont know what to do.
I have not that much experience with CrEme although I know that some large WM installs use that.
I can do an AWT app in netbeans and run it successfully on a device.
Look for the netbeans mobility pack to start with CrEme and netbeans.
OTOH you can go on with eclipse. Where did you get the swt files from? I found one source here http://davy.preuveneers.be/phoneme/?q=node/15.
Here is one source I found for an intro to SWT on WM: http://www.eclipse.org/articles/Article-small-cup-of-swt/pocket-PC.html
My eclipse runs horribly slow because I have thousands of plugins installed on it. I spoke with another friend who uses eclipse but he has none. I feel like none of these are necessary and I didn't even install so many. I have thousands of plugins and I tried reinstaling eclipse but I need to find a way to remove every single eclipse plugin.
Attempting to delete a plugin manually takes up to 5 minutes per plugin, so it could take me months or years before actually deleting all of these by hand.
Is there a feature in eclipse to delete all the plugins? Also I'm using WINDOWS XP
First, you need to understand that virtually everything in Eclipse is a plugin. Eclipse has a very small core runtime (Equinox) that loads all features from plugins. You can't just "delete every plugin" as doing so would leave you with nothing.
Also, just because a plugin is installed does not mean that it is always loaded or taking up resources. Eclipse uses a "lazy loading" architecture that will only load a plugin when some feature that it provides is actually invoked. Some plugins are probably written poorly in such a way that they are loaded too aggressively, but that would be the rare exception. So, in general, having lots of plugins is not a problem for performance.
If you do have a plugin that you want to remove, you can not just delete it from the plugins folder - as you've seen that will screw up your Eclipse installation. Don't do that.
One way to manage the features that you have installed, including installing ones that are able to be uninstalled, is to open the About dialog, then click the Installation Details button. There you'll be presented with a list of features that have been installed; you can select a feature and if it's possible to uninstall it the Uninstall... button will be enabled.
Often it's one bad third-party plugin/feature (not something from eclipse.org) that causes an Eclipse installation to have problems; try to find what it might be by process of elimination (uninstall all third-party plugins that you might have installed since your Eclipse was fresh).
Finally, as a last resort, it is trivial to remove Eclipse completely (just delete it from your file system) and re-install it fresh.
Having said all that, performance problems are usually due to an underpowered machine. What kind of processort do you have? How much RAM does your system have available after Windows boots up? Have you specified memory settings in eclipse.ini?
Eclipese crashes on one (and only it appears) intellensense.
typing "Display.getW" (towards the Display.GetWidth() function) as I type W eclipse reproduceably crashes. Trying random other functions and classes yield no problems.
Any ideas as to what this might be?
Eclipse Info: Eclipse Java EE IDE for Web Developers.
Build id: 20100218-1602
Eclipse Galileo
Edit: Using windowsXP
The only bugs related to a crash on auto-completion all mention Linux platform and an issue with xulrunner library.
See for instance bug 236724:
You don't need to download an older version of xulrunner since the problem is merely that the 64bit version of the library is being loaded rather than the 32bit library.
To rectify this, just add the following line to your eclipse.ini file which points to the 32bit version of the xulrunner library:
-Dorg.eclipse.swt.browser.XULRunnerPath=<path_to_32bit_xulrunner_lib>
On RHEL5 for example, the path would be /usr/lib/xulrunner-1.9.
So you would in this case either need an older version of xulrunner, or fixing its path.
On Windows, on the other hand, that may be a good opportunity to fill in a new bug report.
Update February 2012, Raedwald mentions in the comments:
The relevant Eclipse FAQ "Can I specify which XULRunner installation gets used?"
This can also fix the problem if you provide as the XULRunnerPath a path-name that does not point to an xulrunner library directory.
What happens is that Eclipse instead falls back to using an internal renderer.
I believe this is the only solution if your O/S (such as RedHat 5.8) upgrades you to a FireFox version that uses xulrunner-2 but does not provide webkitgtk.
This, and related problems, are caused by incompatibilities between Eclipse and xulrunner, which is a component of Fire Fox. I came across this problem today, after updating Fire Fox on my RHEL 5 development computer.
The "intellisense" (content assist) feature, and other features of Eclipse, are a rendering of HTML. Eclipse tries to hand-off this rendering work to a system component. If your web browser is Fire Fox, Eclipse traditionally uses xulrunner, which is intimately associated with Fire Fox. It does so by calling a C API through a native library. However, that API is subject to change by the Mozilla developers, and different versions of xulrunner have had incompatible APIs. In particular, Eclipse can not use "xulrunner 2", which is the version in recent versions of Fire Fox.
Newer versions of Eclipse try not to use xulrunner at all, but instead try to use webkitgtk. However, if that is not present, or Eclipse is configured not to use it, Eclipse will fall back to using xulrunner. Which can then crash, because Eclipse does not detect that the available xulrunner is incompatible. The Eclipse developers recognize this as a Bad Thing (it is Bug 262929), but it no yet fixed (still in Eclipse 3.7).
Therefore, if webkitgtk is present on your computer, it might be better to tell Eclipse to use it. The Eclipse FAQ says how to do this: set the Java property org.eclipse.swt.browser.UseWebKitGTK to true. You can do so in your eclipse.ini file (as told elsewhere) by adding the line -Dorg.eclipse.swt.browser.UseWebKitGTK=true at the end of the file.