8 comments
Comment actions Permalink

I'm also wondering the same thing. Thinking about doing the upgrade but IDEA is a critical application and I need to know if it's going to work or not.

One thing you should know is that Lion does not ship with Java, but Apple has ported 1.6.0_26 to it and is available as a separate download from http://support.apple.com/kb/DL1421

One of the other questions should be what happens to the existing JDKs after an upgrade from Snow Leopard to Lion? Do they fail to work? Will this remove the ability to use previous JDKs compatable with Leopard/SnowLeopard?

0
Comment actions Permalink

I just completed the installation of Lion on my home machine not wanting to risk my production development environment. I didn't give Ideal 10.5.1 a complete workout, but it looks like it will work just fine.

After installing Lion, my Java SDKs were gone. I keep around a copy of Java 1.4.2 and Java 1.5.0 for some old projects I support. Post Lion installation I opened terminal and typed 'java -version' and that prompted Lion to download Java 1.6. Prior to the install of Lion, I backed up my copies of 1.4.2 and 1.5.0 using tar (found in /System/Library/Frameworks/JavaVM.framework/Versions/). I replaced these and the relevant symlinks and then was able to configure each SDK with IntelliJ.

I also tested IntelliJ in 32 bit mode. No problems.

I didn't test much beyond hello world (with 1.6, 1.5, 1.4.2 each) once I had Idea up, but all of these worked. Before I update my production development environment, I will test build a production project under Lion. But, this is as far as I got this evening.

Andrew

0
Comment actions Permalink

Thanks or the heads up on the SDK's Andrew. I also have some legacy projects that I'll have to continue to support, so I'll make sure I tar up the exising JDK's before I upgrade.

Any idea what this 'versions' feature of Lion actually does? I know it automatically saves files and all, but do the applications need to be specially written to support it, or does it function at the kernel or filesystem level. The last thing I want is for it to make 'versions' of source files I'm working on or even worse, .svn revision files. The last thing I need is for the OS to corrupt my subversion working copy because it thinks it's helping me out by doing so.

0
Comment actions Permalink

Sorry, I found this thread too late and opened a new thread. Charles gave a good answer:

http://devnet.jetbrains.net/thread/307995?tstart=0

@JB: Is it possible to merge threads?

0
Comment actions Permalink

My understanding is that applications have to be written against the 'versions' API to take advantage of this feature.

0
Comment actions Permalink

I was using IntelliJ Idea successfully on Lion for 3 days and then started to get the following error on launch. Has anyone else seen anything like this?

Andrew
--

Process:         idea [1329]
Path:            /Applications/IntelliJ IDEA 10.app/Contents/MacOS/idea
Identifier:      com.jetbrains.intellij.ce
Version:         10.5.1 (IU-107.322)
Code Type:       X86-64 (Native)
Parent Process:  launchd [237]

Date/Time:       2011-07-25 11:00:17.488 -0700
OS Version:      Mac OS X 10.7 (11A511)
Report Version:  9

Interval Since Last Report:          216798 sec
Crashes Since Last Report:           38
Per-App Crashes Since Last Report:   9
Anonymous UUID:                      24CAE9BE-42E3-4597-BD0E-59BF0A7E3EB2

Crashed Thread:  4

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
objc[1329]: garbage collection is OFF

Java information:
Exception type: Internal Error (/SourceCache/JavaJDK16/JavaJDK16-383/hotspot/src/share/vm/utilities/exceptions.cpp, line 400)

#  fatal error: ExceptionMark destructor expects no pending exceptions
Java VM: Java HotSpot(TM) 64-Bit Server VM (20.1-b02-383 mixed mode macosx-amd64)

Current thread (7fe0de001000):  JavaThread "main" [_thread_in_vm, id=190410752, stack(10ad97000,10b597000)]
Stack: [10ad97000,10b597000]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  java.lang.ClassLoader.findBootstrapClass(Ljava/lang/String;)Ljava/lang/Class;+0
j  java.lang.ClassLoader.findBootstrapClassOrNull(Ljava/lang/String;)Ljava/lang/Class;+12
j  java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+32
j  java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+23
j  sun.misc.Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+41
j  java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3
v  ~StubRoutines::call_stub

0
Comment actions Permalink

Doing some trouble shooting I determined this was a general Java problem (Cyberduck a Java FTP application generated a similar exception). Doing some web searching, I found someone else had a similar problem and corrected it by re-installing Lion over Lion. It turns out this fixed my issue as well.

The next question is what in Lion is corrupting the JDK? Could it be my requirment to run bot 1.6.0 and 1.5.0 at the same time?

0

Please sign in to leave a comment.