English 中文(简体)
JAVA 1.5 in OSX 10.6.4
原标题:

I am trying to debug a j2ee application in tomcat using Intellij Idea in an OS X 10.6.4 system. I need it specifically to run over a 1.5 JVM and 1.5 JDK so that the jgroups-all component doesn t crash the application through this error:

class: java.lang.ClassNotFoundException: [Lorg.jgroups.Address; at com.opensymphony.oscache.plugins.clustersupport.JavaGroupsBroadcastingListener.initialize(JavaGroupsBroadcastingListener.java:119)

Has anyone needed to install an older version of JVM or JDK in OS X before? NOTE: I m a Mac newbie.

Thanks, everyone.

最佳回答

Try the solution here.

问题回答

Well, as far as I know you should be able to choose an older VM in the Java control panel, although I think Apple removes old JREs by default now.

Did you consider Apple s Java Deprecation before starting you project? It looks like you will be out of luck in the near future. If Apple doesn t even want to support some recent JRE anymore it is unlikely that they will offer old, unsupported ones, which even Oracle ended support for.

Even if Oracle will provide some JRE/JDK for Mac OSX it is highly unlikely that they will back-port some Java 5 to Mac OSX. Your best bet is to migrate your application to a version which is supported first, before doing any other steps.





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签