How to get Window Builder's SWT designer in 64-bit Eclipse - java

I am trying to create a SWT WindowBuilder application in 64-bit Eclipse running on Windows 7.
I removed both the 32-bit and 64-bit JRE on my computer along with the old Eclipse and old JDK, rebooted, downloaded the latest version yesterday evening, and then installed the latest 32/64 versions of the JRE and the JDK. Yes, I used a "professional" unzip utility, 7-zip, to unzip the "Eclipse IDE for Java Developers" and then copied the contents to the "C:\Program Files\Development\Tools\Eclipse", which I created.
I launched Eclipse this morning and tried to create a SWT application and SWT was MIA.
I went to the "Menu > Help > Install New Software..." dialog to find that SWT was already installed.
Here is an image of of the new project dialog "Menu > File > New > Other".
As you can see Eclipse came bundled with SWT, I did read the installation note about the fact that only Eclipse does not support the Windows built-in zip compression tool, and used 7-zip.
How do I get SWT to install properly? I am using a freshly downloaded version and did not do anything other than go into Eclipse.
Why would SWT not show?

I figured out this problem and another one.
Installation Instructions
Download 'Eclipse IDE for Java Developers', not the EE version.
Extract the files using WinZip, 7-Zip, or whatever, just not Windows built-in tool. See installation notes on Eclipse download page for this requirement.
DO NOT place files in the "C:\Program Files" folder on Windows 7. See here for note.
BEFORE starting eclipse.exe, go to the environment settings and define the HOME variable and set that to %USERPROFILE%. You will need to log out and then log back in. Windows will not read the environment settings without doing this set and as such Eclipse.
Install PortableGit-1.8.4-preview20130916 and add the path in the PATH variable.
Start Eclipse.
Go to "Menu > Help > Install New Software..." and type in kepler. Select the SWT and WindowBuilder from the list. It was supposed to come prebundled, but did not, better this way. You will need to restart Eclipse.
Turn on the error log, "Menu > Windows > Show View > Error Log" to see any other errors that might exist.
I am still working on the EGit warning, but SWT exists.
I tried these steps repeatedly (deleting Eclipse folder and trying again) and the steps worked each of the times that I tried it. Yay!

select install new software
there will be download.eclispse.org/releases/(Your eclipse version)
Select
SWT Designer
SWT Designer Documentation
SWT Designer Core

Related

Eclipse and Java Runtime Environment Portable

I want to run eclipse and java portable, for this i did the following steps:
Download and install Eclipse Portable
Download and install the Portable Java Runtime Environment
Open the Eclipse settings file ../EclipsePortable/App/Eclipse/eclipse.ini
Set the -vm as your portable Java installation at the beginning
Eclipse is running now, but when i want to add a new project, there is no Java Project.
Does anyone know how to fix this?
Taken from this answer, you need to do below steps
Go to "Help" -> "Install new software"
Select your eclipse version by clicking the small arrow next to "Add"
search for "java" in the search bar
Tick "Eclipse Java Development Tools" and hit finished.
after installation click on "restart eclipse"

Adding JAVA to Eclipse Oxygen

I already installed java jdk 9 and Eclipse Oxygen on my pc. I've also added jdk url in environment variable path and created JAVA_HOME variable. I ran cmd and entered javac command, everything went fine.
1. Now, when I right click on a project > then go to Properties, I am redirected to Builders tab. I don't know where to add the JRE_SYSTEM_LIBRARY on my Eclipse Oxygen.
2. Also, when I want to create new project, by going to File > New, there's no suggestion to add a Java Project
3. When I go to Window > Preferences, there's no Java tab added below Install/Update tab.
Did I miss any step? Any help from you guys are much appreciated.
It looks like you have the Eclipse for Testers (Jubula) IDE package without Java support or at least you're not in the Java perspective (depending on the perspective, there are different menus). If there is no File > New > Project...: Java > Java Project, do one of the following:
Download, install and use an Eclipse Java IDE package, e. g. the Eclipse IDE for Java Developers or the Eclipse IDE for Java EE Developers
Install the Java Development Tools (JDT) into your Eclipse for Testers IDE:
Help > Install New Software...
Work with: --All Available Sites-- (or Oxygen - http://download.eclipse.org/releases/oxygen)
In the list choose Programming Languages > Eclipse Java Development Tools and click Next >
After finishing the installation and restarting, switch to the Java perspective: Window > Perspective > Open Perspective > Others...: Java

How to install .tar.gz plugin in Eclipse

I try to install eclipse CDT with java support.
I've downloaded 2 files:
eclipse-cpp-luna-SR2-linux-gtk-x86_64.tar.gz
eclipse-java-luna-SR2-linux-gtk-x86_64.tar.gz
And after taring the first file I can start eclipse, but I don't understand how to install the second file (java support). I tried also to untar first the second file(and install eclipse Java), but still don't see option how to add the other file as plug-in.
Thanks for any suggestion,
Ran
It probably is easier to add the Java support from within Eclipse CDT. Goto Help > Install New software, select the eclipse update site and select Eclipse Java Development Tools.

Adding Java ME platform in netbeans 8.0

I am having trouble installing the ME platform for Netbeans 8.0 - I have:
Installed Netbeans IDE 8.0
Installed jmesdk-3.4
Installed the jmesdk-3.4 plugin & activated it in Netbeans
When I try to create a New Java ME > Mobile application project
I get a warning saying
No Java ME Platform found. Please add at least one
When i try to add the java platform by locating the jmesdk-3.4 folder, it tells me no platform was detected automatically(failed) and it requires me to add manually.But adding it manually just creates more confusion.
need help please.
How to install JAVA ME SDK 3.4
Go to the Java ME SDK Download page javame-sdk/downloads/index.html.
Click the Accept License Agreement option.
Create an Account or login
Download the Java ME SDK installer file and save it to any location on your computer.
Double-click the installer file to run the installer, and follow the instructions.
Remember the installations directory. e.g. -> U:\Java_ME_platform_SDK_3.4
When the installation is complete,
the Java (TM) ME Platform SDK Device Manager icon appears in the Windows system tray.
Unzip the downloaded oracle-jmesdk-3-4-rr-nb-plugins.zip to a folder
e.g. oracle-jmesdk-3-4-rr-nb-plugins
How to activate Java ME support in NetBeans IDE?
Choose Tools > Plugins from the main IDE's toolbar.
In the Plugins dialog box, click the Installed tab and select Java ME in the list of available features.
Click Activate.
At the Welcome panel of the Installer dialog box, click Activate.
When the activation is successfully completed, click Finish.
Click Close to close the Plugins dialog box.
How to register Java ME SDK as a platform in NetBeans IDE?
Choose Tools > Java Platforms in the IDE.
In the Java Platform Manager dialog box, click Add Platforms.
In the Add Java Platform dialog box, select Java ME CLDC Platform Emulator and click Next.
Select the folder where Java ME SDK is installed in the Choose directory to search for platforms dialog box and click Open.
Ensure the Java ME SDK platform is chosen in the Add Java Platform dialog box and click Next.
After the IDE detects the platform, click Finish. Java ME SDK should now be registered in the IDE.
In the Java Platform Manager dialog box, click Close.
How to install the downloaded plugin
Go to Tools -- Plugins -- Downloaded
Click Add Plugins
Navigate to the Plugin folder e.g. oracle-jmesdk-3-4-rr-nb-plugins
Select all .nbm
Restart Netbeans
enjoy the new program examples
Done
More Information wiki.netbeans
I heve readed that that can be being caused by the new serialization filter feature in the JDK(Serialization Filtering. Seems that it was added to JDK 8 after the 112 update so on this update of the JDK it shall work but it certainly is possibly to use the Java ME SDK on JDKs with this feature. I did it at least on JDK 1.8.0_192. To this I had to make some changes on the java.security file.
The chages were:
Remove the # on front of jdk.serialFilter
Replace the texto after
jdk.serialFilter to *
Romove the # on front of
sun.rmi.registry.registryFilter property and of it parametres and
remove the whitespaces and / from the same.
Do the same on the
sun.rmi.transport.dgcFilter property.
Append ;* at the last parameter
of sun.rmi.registry.registryFilter
It seems to be importante to not corrupt the parameters because I do this and the emulator wasn't starting.
I tried on JDK 11.0.1 and it don't work.
I did what the other answer recommends, which worked, but only when using Netbeans IDE 7.4 and JDK 1.7 for a 32-bit system (https://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html). Currently using a Windows 10 64-bit system. Note that I did not accept any updates for the required Java ME plugins, as I hear that might make things crash.

GWT installation issue with eclipse...?

I am using os x 10.9.1
I need to install google plugin for eclipse for using google web toolkit. I have eclipse juno, so I just follow link for install it. But it not work for me, not go ahead because below issue
So, I move to install latest version of eclipse kepler and follow link for install plugins. After all installation finished with some different issues and restart eclipse kepler it shows me java version error.
And same thing show me when I check through terminal
but when I check in my java preference, it show me latest version installed on my mac.
*********************Edited from here*********************
After downloading java 7 and installing it(as per one of comment in link),again check in terminal give me new version
I restart my eclipse and starting error is not there. Just go ahead and create GWT project, and now
Stuck again...!?!
Open eclipse.ini form your eclipse folder and set the following parameter as shown in image
-vm
//your java7-dir/bin/javaw.exe (use mac javaw in your case)

Categories