Skip to content

Language Archiving Technology

Sections
Personal tools
You are here: Home » Tools » Elan » ELAN Forum » ELAN 2.5.1 / ELAN 3.0 on MacBook Pro » Re: ELAN 2.5.1 / ELAN 3.0 on MacBook (not Pro)

Re: ELAN 2.5.1 / ELAN 3.0 on MacBook (not Pro)

Up one level

Re: ELAN 2.5.1 / ELAN 3.0 on MacBook (not Pro)

Posted by sotarokita at 2007-02-22 22:54  

I use MacBook (not Pro)with Mac OS 10.4.8. I had no problem using ELAN 2.6.3 until I installed "J2SE 5.0 Release 4". With J2SE 5.0, ELAN 2.6.3 got stuck in the "initializing" stage. So, I downloaded ELAN 3.0. It works but with a problem. It can open one previously created eaf file. But, when I try to open a second eaf file, it gets stuck in the initializing" stage and the whole program crashes.

Is there any way to get back to the old Java and keep using ELAN 2.6.3. for now?

I tried to change the JAVA Runtime settings in "Java Preferences" in a such a way that J2SE 1.4.2 is on top of J2SE 5.0 (and saved the setting). But, ELAN 2.6.3 still does not work.

Then, I checked the Java version in the Terminal (after switching the runtime settings to J2SE 1.4.2) with "java -version" I got the following:

java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)

Does that mean that the runtime settings did not really switched to 1.4.2?

I would appreciate your help.

Best regards,
Kita

Re: Re: ELAN 2.5.1 / ELAN 3.0 on MacBook (not Pro)

Posted by hasloe at 2007-02-26 13:52  
The "Java Preferences" settings apply to Applets and Applications that are launch through the JNLP protocol, such as the ELAN Webstart variant. The "J2SE 5.0 Release 4" makes Java 1.5 the default on the "system" level.
With all settings set to 1.4.x, you could try the Webstart version for 10.3 (and 10.4 without Java 1.5) (http://www.mpi.nl/tg/j2se/jnlp/elan/elan3.0.0.jnlp).

If this does not work either, try the following with the installer version of ELAN: in the install folder right-click (or ctrl-click) the ELAN 3.0.app. Select "Show Package Contents" and double click the Contents folder. There should be a Info.plist file, open it in Property List Editor or TextEdit. Locate the JVMVersion key-value pair:
JVMVersion
1.4+  (or 1.5+)
change this into:
JVMVersion
1.4*
Save the file, launch ELAN and try to open multiple files.

Han

Re: Re: Re: ELAN 2.5.1 / ELAN 3.0 on MacBook (not Pro)

Posted by sotarokita at 2007-03-04 18:46  

Hans,
thanks for the tips. I tried all the possibilities you mentioned, but was not successful in opening a second file without quiting ELAN 3.0. If you have any other suggestions, I would appreciate it...

For your record, here's what I tried.

Best
Kita

1) First, in Java Preference, I changed "Java Applet Runtime Settings" to J2SE 1.4.2. In "Java Application Runtime Settings", I put J2SE1.4.2 on top of J2SE5.0.

2) I used the webstart version you recommend. It opened the first file successful. But, I could not open the next file.

3) After trying (2), I moved on to the next possibility you suggested. I edited the info.plist file in the install folder in the way you suggested, and then installed ELAN 3.0. This did not help. (I tried this method for both ELAN_3-0_mac_10_3_install and ELAN_3-0_mac_10_4_install.)

Re: Re: Re: Re: ELAN 2.5.1 / ELAN 3.0 on MacBook (not Pro)

Posted by hasloe at 2007-03-07 17:07  

If changing the Java Preferences settings does not help I don't really have other suggestions.

Just to be sure: with editing the Info.plist in the install folder, I was referring to the folder where ELAN resides after installation. So after running ELAN_3-0_mac_10_3_install or ELAN_3-0_mac_10_4_install there will be a folder for ELAN 3.0 and within that folder there is a ELAN 3.0.app folder, containing the Info.plist to edit.

If this is what you did and it still does not work, as a last resort you could edit (in e.g. TextEdit) the ElanMac_3-0.sh file in the folder where ELAN is installed. The last line in that file starts with 'java -Xdock:name='.... Replace the word java by the absolute path to a Java 1.4.2 version, e.g. /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Commands/java .
Then run this file from a Terminal window.
All just to make sure that Java 1.4 is used, like before (and assuming that it is then again possible to open multiple eaf files).

Han

 

Powered by Plone

This site conforms to the following standards: