Running in java 1.5 gets class error

Asked by NeilF

I am trying to use the ScrolledLabel widgets but I get a class error. I am running java 1.5. does it require java 1.6?

Question information

Language:
English Edit question
Status:
Answered
For:
RCP Toolbox Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Herman Lintvelt (herman-richclientgui) said :
#1

It is suppose to work under Java 1.5 as well. Can you please provide more detail, like a stacktrace?

Revision history for this message
Andre Aragao (aragao) said :
#2

I took a look at the compiled classes of the jar available for download and the problem is that this has been compiled for Java 1.6 only. Could you guys please compile this with Java 1.5 and make it available for download again?

Thanks

Revision history for this message
Andre Aragao (aragao) said :
#3

I tried using the validators and I can't get it to work - the exception is below:

ERROR [24 Feb 2010 20:54:30,567] (OneXUncaughtExceptionHandler.java:19) - Uncaugh exception:
java.lang.NoClassDefFoundError: org/eclipse/core/runtime/ListenerList
 at org.eclipse.jface.fieldassist.ControlDecoration.<init>(ControlDecoration.java:135)
 at org.eclipse.jface.fieldassist.ControlDecoration.<init>(ControlDecoration.java:414)
 at com.richclientgui.toolbox.validation.ValidationToolkit.createTextField(Unknown Source)
 at com.richclientgui.toolbox.validation.ValidationToolkit.createTextField(Unknown Source)
 at com.richclientgui.toolbox.validation.ValidationToolkit.createTextField(Unknown Source)
       (...)

I though this was not tied to anything eclipse... what additional jar does it need?

Revision history for this message
Herman Lintvelt (herman-richclientgui) said :
#4

Andre

Sorry for replying so late, we are a small team and very busy at the moment (which is not a good excuse, I know).

Yes, the binary versions of the toolbox is compiled with JDK 6, I will make a plan to upload a version compiled with JDK 5.
However, you are welcome to also download the source code and run the ant script "build.xml" in the "/build" sub-folder of the project.
This build file builds the library jar and plugin jar versions of the product.

On the dependencies: the toolkit is dependent on SWT and JFace, as well as the org.eclipse.jface.fieldassist package, which in turn is dependent on some other eclipse plugins.

Are you using the library jar of the plugin version of the toolkit?

Regards,
Herman

Can you help with this problem?

Provide an answer of your own, or ask NeilF for more information if necessary.

To post a message you must log in.