ZK Project Creation on Eclipse Juno using ZK studio - java

I installed Eclipse Juno and added ZK Studio plugin. My Java JDK is 1.5.
However, when I tried to create a new project, I get an error like this:
The selected wizard could not be started. Plug-in
org.zkoss.eclipse.zks was unable to load class
org.zkoss.eclipse.zks.ui.wizards.ZKProjectWizard. Bad version number
in .class file.
I am not able to proceed forward. Please help

Looks like ZK Studio needs a newer JDK that 1.5

Related

intellij run button is greyed out any fix

I have been having issues when i'm trying to run a skew t plotting project i downloaded from github but when i opened the project in intellij i can't run anything and i have tried to edit the configuration but no luck and i keep getting this error when i open the fxml file that is in the project and the error shows the javafx runtime is not configured either use a JDK that has javafx built in or add a javafx library to the path and i tried javafx sdk version 18 but it kept giving me a not a valid home error
I believe JSF was removed from the JDK in version 11 and newer
You should add it as a JAR dependency to your project. Should be easy to do if you use Maven.

Is there any way to use GWT 2.9 with Java 11 using Eclipse GWT plugin?

We have a huge GWT project (GWT 2.7, JDK 1.7, Eclipse) everything works perfect. We are planning to upgrade to Java 11 and GWT 2.9 which has been recently released. However Java 1.7 is retiring and getting obsolete we have to move on and upgrade. Since last week we are trying to create a development environment like the existing one but there is no success. I was wondering whether anyone out there is struggling with the same issue, any hint, solution or hacking the eclipse plugin would be greatly appreciated.
Eclipse plugin comes with GWT (2.7 and 2.8.1)
Yes, you can.
download gwt-2.9.0.zip from gwtproject.org
unzip it
start Eclipse
open the preference panel
choose GWT -> GWT Settings
add gwt 2.9.0 by pressing the add button on the right

Eclipse gluon new project does not finish

I use Eclipse 4.7 (Oxygen), portable version
Android Development Tools (no version ?), with SDK Manager => SDK Tools 25.5, Android 6 and 7 (API 23, 25), Android Support Repository, SDK Platform, SDK Platform-tools
Gluon plugin 2.4.0
E(fx)clipse 2.4.0
Gradle IdePack 3.8.x +1.0.x
SceneBuilder installed and configured in Eclipse
and (MarketPlace, Enide 2015)
new Gluon project begins well:
name and location (default)
Gluon Application Settings (default)
Name of view (default)
=> button finish appears active, but when pressing it, nothing happens. This window blocks here and no message. Only back button, close and cancel work.
I'v tried any combination of projects (Desktop, Mobile, single view, multiple, Fxml), and checkbox, but it doesnt change anything.
Have anyone encounter the same problem ?
Or is there any log to search for anywhere ?
thanks
The plugin has been updated (version 2.5) to work with Eclipse Oxygen and Gradle 2+. Install the new plugin (it will uninstall the old one) and it'll work again. See here for details.
i had the same error with Neon and it all boiled down to an exception i saw in the .log File of eclipse ({yourWorkspace}.metadata).
java.lang.ClassNotFoundException: org.eclipse.buildship.core.workspace.SynchronizeGradleProjectJob cannot be found by com.gluonhq.eclipse.plugin_2.4.0
It seems version 2.x of Buildships Gradle has rearranged its packages and contents making the finish button unclickable.
I downloaded the latest 1.x version from an updatesite which can be found on github and everything runs just fine.
Hope this helps,
Bests!
Firstly, sorry for my english.
I was having the same problem as the guillaume girod-vitouchkina. I could not create a new Gluon project. I was using Eclipse Neon.2 and update for Eclipse Neon.3 and the problem persisted. So I did what uBreckner recommended and it worked! I uinstall version 2.x of Buildships Gradle and install latest 1.x version.
Thanks guys,
Regards!

How do I properly setup JavaFX for Eclipse Mars?

My Java specifications: JRE: 1.8_u60, JDK: 1.8_u60
JAVA_HOME is set-up correctly.
I´ve downloaded and installed the latest Eclipse Mars Java SDK (Eclipse Mars.1 / 4.5.1) from the official Eclipse download page and used the installer.
I used the Eclipse update site from e(fx)clipse to install the JavaFX IDE.
As described in the site´s tutorial I should now be able to create FX projects with File > New > Other > JavaFX ...
But unfortunatelly I don´t have any option to create an FX project. There is no sub-section called JavaFX.
How do I set up JFX for Eclipse Mars properly (if my setup does not work at all)? here is one more similar Question asked.
Remove the installed plugin and try installing it through Marketplace.
Edit after the answer was accepted:
Just for clarification, it should also work in the way OP has tried it. Before one tries to troubleshoot why it's not working, it is very convenient to verify that the installation is not working from marketplace either.
Since JavaFX is now on default classpath, you do not need any extra plugin to create a JavaFX application. You can just create a simple Java Project in Eclispe and get started.
But, e(fx)clipse is recommended to install on Eclipse because of the extra features it adds to the IDE.
I just finished installing the e(fx)clipse plugin on my Eclipse Mars to check if your scenario can be reproduced, but unfortunately after installing the plugin & restarting Eclipse, I can create JavaFX projects.
You can either try restarting Eclipse or re-install the plugin again.
As mentioned in previous Question by tomsontom, you can check your status of e(fx)clips bundles. Or you can use All-In-One Download.

beginner at vaadin- getting error when I try to create a vaadin app

I am trying to create a UI for a java web app using Vaadin.
I am using Eclipse for this purpose, and I have installed the Google Plugin for Eclipse (which includes GWT SDK) as well as the Vaadin plugin for eclipse.
I created a new project using New Project-> New Vaadin Project... but I am seeing an error message in Eclipse console "GWT SDK not installed."
How do I resolve this error? I have already installed Google Plugin for Eclipse which includes GWT SDK.
Thanks...
Check in 'Preferences->Google->Web Toolkit' if you have existing SDK marked as default. Sometimes, after installing or unistalling other plug-ins, this may get reset to some older, not anymore existing, SDK version.
Also, make sure you have the default (or any other existing SDK) selected in project properties under 'your project->properties->Google->Web Toolkit->GWT SDK'.
Today I resolved this issue (which cropped up after a GWT SDK update on a perfectly working setup) by going to project Properties/Builders and moving the GWT "Google Web Toolkit Project Validator" up to just below Java Builder. I'd tried everything I could think of before that, including uninstalling and re-downloading the SDK, checking default and specific SDK's, trying older ones, editing .classpath entry manually.
Just in case poor some soul follows the path I went through. Using Eclipse Indigo.
help->check for updates
Update all libraries
then:
right-click the project, choose Project Properties->Java Build Path->Libraries
remove invalid GWT library, if any
choose Add Library, choose Google Web Toolkit
If an unknown version of the sdk is selected, click the Configure SDKs link and remove old versions or at least select the current, valid version.
Then, do a Project->clean just to be on the safe side, and your project should now build.
This worked for me using Eclipse Helios.

Categories

Resources