went from 6 down to 5

Ok here is a question for ya. I developed some programs in java 6 with NetBeans. I then unistalled six and installed five. I also uninstalled NetBeans and installed Studio Enterprise 8.1. Now the programs will not run.

My question is this. Is it because I went down to five and no longer have six? Or is it because I no longer have NetBeans and moved to Java Studio Enterprise.

Also, if you know. What do I need to do in order to get those programs to run?

[475 byte] By [pberardi1a] at [2007-11-27 8:29:34]
# 1

> Ok here is a question for ya. ........

> ................. Now the

> programs will not run.

You don't give us a whole lot of information to go on. "not run" covers a lot of territory.

> My question is this. Is it because I went down to

> five and no longer have six? Or is it because I no

> longer have NetBeans and moved to Java Studio

> Enterprise.

H閘l if I know.

> Also, if you know. What do I need to do in order to

> get those programs to run?

See statement above.

You might consider giving us more specific and useful information.

petes1234a at 2007-7-12 20:19:53 > top of Java-index,Java Essentials,New To Java...
# 2

When I run the project, it just builds. There is an error in main but the code doesn't show. It was a GUI project and I have pasted the error here.

java.lang.NoClassDefFoundError: javax/swing/GroupLayout$Group

Exception in thread "main"

Java Result: 1

But really quite simply. The projects do not run. I am wondering I have to go back up to Java 6 to run them or if its because I am not using NetBeans anymore.

pberardi1a at 2007-7-12 20:19:53 > top of Java-index,Java Essentials,New To Java...
# 3
If you have changed versions of Java then the safest thing to do is recompile your code with the new(replacement) version.Note: this has nothing to do with whatever IDE you use.
floundera at 2007-7-12 20:19:53 > top of Java-index,Java Essentials,New To Java...
# 4
It's because GroupLayout only exists in Java 1.6.You have been told this already. You need to use a layout manager that does exist in 1.5 of whatever version you use.Sheesh!
floundera at 2007-7-12 20:19:53 > top of Java-index,Java Essentials,New To Java...
# 5
> You have been told this already.I must apologise. It was someone else who was asking about GroupLayout yesterday.
floundera at 2007-7-12 20:19:53 > top of Java-index,Java Essentials,New To Java...
# 6
hey no problem flounder. regarding the code for group layout. is it possible that i can adjust the gui code somehow to make it compatible with java five? or would say that i need to redo the whole gui because of the fact that the code is hidden?
pberardi1a at 2007-7-12 20:19:53 > top of Java-index,Java Essentials,New To Java...
# 7
I have not used Java 1.6 and therefore have no idea what GroupLayout does. You will need to find a layout manager that best represents what you are trying to do and use that. Some rearranging of components is almost a given.
floundera at 2007-7-12 20:19:53 > top of Java-index,Java Essentials,New To Java...
# 8
thanks
pberardi1a at 2007-7-12 20:19:53 > top of Java-index,Java Essentials,New To Java...