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

ELAN 2.5.1 / ELAN 3.0 on MacBook Pro

Up one level

ELAN 2.5.1 / ELAN 3.0 on MacBook Pro

Posted by researcher at 2007-02-17 05:50  

I was one of the ones using a MacBook Pro which had trouble with Elan 2.5.1 getting stuck on the initializing stage. I downloaded ELAN 3, hoping that would fix the problems I had with 2.5.1. I now have a different problem. All of my tiers are gone. I have opened multiple .EAF files and none of them have a tiers.

Thinking that perhaps I had a old version of Java installed, I downloaded all of the system updates but to no avail. I manually downoaded the latest version of Java "Java for Mac OS X.4, Release 5. When I try to install it I get a message to check and make sure that I have run software update to downoad all of the previous Java updates. Software Update tells me that I have nothing more to download.

Looking in Applications: Utilities: Java: I have the following Java 1.3.1 Plugin Settings.app, Java 1.4.2 Plugin Settings.App and a J2SE 5.0 folder which has Java Cache Viewer.app and Java Preferences.app.

Please give e advice on what I can do to get ELAN workign again.

Researcher :-{)

Re: ELAN 2.5.1 / ELAN 3.0 on MacBook Pro

Posted by kaneb at 2007-02-17 18:22  

I'm another MBP user (with Intel) and have downloaded the lastest Java updates from Apple. I can't install the new Elan at all and can only start the webstart version from Safari (not Firefox). Anyone else have this issue and anyone know the reason?

Re: ELAN 2.5.1 / ELAN 3.0 on MacBook Pro

Posted by hasloe at 2007-02-19 17:03  

On MacBook Pro the use of Java 1.5 (a.k.a. 5.0) is required (because QuickTime for Java requires J1.5 on that platform).
If you launch the Java Preferences app in the J2SE 5.0 folder there is a setting called 'Java Application Runtime Settings'. Make sure J2SE 5.0 is the first item in the list (drag it to the top). Then it should work (although on some machines it doesn't, for unknown reasons).

Also read the latest News post about this matter. The download page recently has been updated. There are now two installer versions and 2 Web Start versions for Mac OS. Which one to use has been made more explicit.

Han
-MPI-

Re: ELAN 2.5.1 / ELAN 3.0 on MacBook Pro

Posted by researcher at 2007-02-20 08:52  

Thanks for the advice, Han.

I had already set the Java preferences to use J2SE 5.0 first. I just checked to make sure that my preferences are still in that order. They are. The order is -

J2SE 5.0
J2SE 1.4.2

The Note says, "Runtime settings are used when a Java application or applet is launched using the Network Launching Protocol (JNLP)"

Just to make sure I had also changed Java Applet Runtime Settings to use version J2SE 5.0.

The version of ELAN 3.0 I downloaded and installed is "ELAN_3-0_mac_10_4_install.zip".

Unzipping the file produced "ELAN_3-0_mac_install.app" - a PowerPC application.

Installing that produced "ELAN 3.0.app" - a PowerPC application (146,665 bytes).

As a temporary fix I will try installing ELAN 3.0 under Windows using Parallels.

While that is downloading I also installed the Mac webstart version of ELAN 3.0. It has similar problems to the regular version of ELAN 3.0 I had already installed. I opened Java Console and noted the following which may be of interest.

WARNING: WARNING: your java environment contains unknown files that can effect proper functioning of the MPI-tools.
Directory is: /Users/harryharm/Library/Java/Extensions
files are:
EPPxAPI.jar
jnet.jar
jsse.jar
xerces.jar

I saved the whole Java Console report in case it might assist in debugging.

Researcher :-{)

Re: ELAN 2.5.1 / ELAN 3.0 on MacBook Pro

Posted by hasloe at 2007-02-20 15:42  
So, the settings seem to be alright then. Just to be sure you could test by opening a Terminal window and type
 java -version 
The output should contain something like 1.5.x.

The presence of a xerces.jar in /Library/Java/Extensions in your home folder might be the problem. ELAN uses a Xerces library for parsing the eaf files and if your xerces is an older version then needed, reading the file might fail. You can check by (temporarily) moving this jar file to another folder and launch any of the ELAN 3.0 versions you have (installed or Web Start) and open a file.
If this does not help then please send the complete Console report to me by email. Or if you tested the installed version instead, open a Terminal window and do:
cd .elan_data
ls -al
locate the most recent elan.log (elan0.log or elan1.log) and then:
cat elan(x).log

Copy the complete output and mail it to me for inspection.
Han

Re: Re: ELAN 2.5.1 / ELAN 3.0 on MacBook Pro

Posted by researcher at 2007-02-21 12:33  

When I ran the terminal command to check the version of Java I got the following -

Harrys-17:~ harryharm$ java -version
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-239)
Java HotSpot(TM) Client VM (build 1.4.2-66, mixed mode)

I have tried deleting the Java preferences files in the two libraries and then ran Java preferences again to make sure that I had the right order. Terminal still returns 1.4.2_09.

However, I have some good news. I removed the xerces.jar file from the /users/harryharm/library/java/extensions/ folder and started ELAN 3.0. All of my tiers are back again.

Thank you, Han, for this advice.

BTW, here is the information on my xerces.jar file -

Created: Thursday, October 23, 2003 5:21 pm

If I open an EAF file, close it but leave ELAN 3.0 running and then try to open the same or another EAF file I get the "initializing" error I got in 2.5.1. The same "initializing" error happens if I try to try to open a second EAF file without closing the first one.

I just checked ELAN 2.5.1 and it still has the "initializing" error.

The webstart version of ELAN 3.0 exhibits the same behavior as the regular ELAN 3.0.

I tried removing the other .JAR files in the extensions folder which were marked by Java Console as possible problems to see whether that would help but it didn't.

However, I am happy that I can at least use ELAN again.

Researcher :-{)

Re: Re: Re: ELAN 2.5.1 / ELAN 3.0 on MacBook Pro

Posted by hasloe at 2007-02-22 08:57  

Well then, it will now be necessary to have a look at the complete output in the Java console (Webstart version) and/or the log file (regular ELAN) as it is after you get the 'initializing' error. To view the contents of the log file you'll probably have to quit ELAN first. In an earlier post I have described where to find the log file and how to view it's contents.

Han

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: