Macosx 10.5 Java Update 4 on intel

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Macosx 10.5 Java Update 4 on intel

karo03
I have some Problems with ImageJ64. It will not start anymore after  
the Java Update 4!
Konsole messages are
16.06.09 10:18:48 [0x0-0x1d39d38].gov.nih.info.rsb.ImageJ[18842]  
[JavaAppLauncher Warning] Java application launched from PPC or bad  
stub. Relaunching in 32-bit, and tagging sub-processes to prefer 32-
bit with $JAVA_ARCH=i386.
16.06.09 10:18:48 [0x0-0x1d39d38].gov.nih.info.rsb.ImageJ[18842]  
[JavaAppLauncher Error] This process is [i386] and was re-exec'd from  
[i386], but for some reason we are trying re-exec to [].
16.06.09 10:18:48 [0x0-0x1d39d38].gov.nih.info.rsb.ImageJ[18842]  
[JavaAppLauncher Error] unable to find a version of Java to launch
16.06.09 10:18:48 com.apple.launchd[193]  
([0x0-0x1d39d38].gov.nih.info.rsb.ImageJ[18842]) Exited with exit  
code: 1

32bit Version starts with Java 1.5 without problem up to now!

Any hints are appreciated
Regards
Karsten
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Macosx 10.5 Java Update 4 on intel

dscho
Hi,

On Tue, 16 Jun 2009, Karsten Rodenacker wrote:

> I have some Problems with ImageJ64. It will not start anymore after the Java
> Update 4!
> Konsole messages are
> 16.06.09 10:18:48 [0x0-0x1d39d38].gov.nih.info.rsb.ImageJ[18842]
> [JavaAppLauncher Warning] Java application launched from PPC or bad stub.
> Relaunching in 32-bit, and tagging sub-processes to prefer 32-bit with
> $JAVA_ARCH=i386.

You seem to have a 64-bit PowerPC.  Apple does not support Java 1.6 on
that machine, and apparently the launcher you are using tries to force
running in 32-bit, although it assumes that you have an Intel processor.

Sorry, I have no immediate fix, and unfortunately Fiji shares the same
problem at the moment.  Fortunately I got ahold of such a machine, and I
will work on this issue this week.

Ciao,
Dscho
Reply | Threaded
Open this post in threaded view
|

Re: Macosx 10.5 Java Update 4 on intel

karo03
... that cannot be, it's a macbook pro and a mac pro with that  
behaviour.

I thought that something is wrong with the application ImageJ64, in  
combination with the new java update! I am not a java expert, but  
something with the stub (?) seems not to be in order!

Regards
Karsten

Am 16.06.2009 um 12:43 schrieb Johannes Schindelin:

> Hi,
>
> On Tue, 16 Jun 2009, Karsten Rodenacker wrote:
>
>> I have some Problems with ImageJ64. It will not start anymore after  
>> the Java
>> Update 4!
>> Konsole messages are
>> 16.06.09 10:18:48 [0x0-0x1d39d38].gov.nih.info.rsb.ImageJ[18842]
>> [JavaAppLauncher Warning] Java application launched from PPC or bad  
>> stub.
>> Relaunching in 32-bit, and tagging sub-processes to prefer 32-bit  
>> with
>> $JAVA_ARCH=i386.
>
> You seem to have a 64-bit PowerPC.  Apple does not support Java 1.6 on
> that machine, and apparently the launcher you are using tries to force
> running in 32-bit, although it assumes that you have an Intel  
> processor.
>
> Sorry, I have no immediate fix, and unfortunately Fiji shares the same
> problem at the moment.  Fortunately I got ahold of such a machine,  
> and I
> will work on this issue this week.
>
> Ciao,
> Dscho

Karsten
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Macosx 10.5 Java Update 4 on intel

BenTupper
Hi Karsten,

Could you post the results when you run the ImageJ menu  
"Utilities>ImageJ Properties...".  I have pasted mine below for your  
reference. I have not tried the Java Update 4.

Cheers,
Ben

Java properties applets can read:
   java.version: 1.5.0_16
   java.vendor: Apple Inc.
   mrj.version: 1050.1.5.0_16-284
   os.name: Mac OS X
   os.version: 10.5.7
   os.arch: i386
   file.separator: /
   path.separator: :
   line.separator: <lf>

Java properties only applications can read:
   user.name: ben
   user.home: /Users/ben
   user.dir: /Applications/ImageJ
   user.country: US
   file.encoding: MacRoman
   java.home: /System/Library/Frameworks/JavaVM.framework/Versions/
1.5.0/Home
   java.class.path: /Applications/ImageJ/ImageJ.app/../ij.jar:/System/
Library/Java/Extensions/QTJava.zip
   java.ext.dirs: /Library/Java/Extensions:/System/Library/Java/
Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
Home/lib/ext
   java.io.tmpdir: /tmp

Other properties:
   IJ.getVersion: 1.42q
   IJ.isJava2: true
   IJ.isJava15: true
   IJ.isJava16: false
   IJ.isLinux: false
   IJ.isMacintosh: true
   IJ.isMacOSX: true
   IJ.isWindows: false
   IJ.isVista: false
   IJ.is64Bit: false
   Menus.getPlugInsPath: /Applications/ImageJ/plugins/
   Menus.getMacrosPath: /Applications/ImageJ/macros/
   Prefs.getHomeDir: /Applications/ImageJ
   Prefs.getThreads: 2 (2 cores)
   Prefs.open100Percent: false
   Prefs.blackBackground: false
   Prefs.useJFileChooser: false
   Prefs.weightedColor: false
   Prefs.blackCanvas: false
   Prefs.pointAutoMeasure: false
   Prefs.pointAutoNextSlice: false
   Prefs.requireControlKey: false
   Prefs.useInvertingLut: false
   Prefs.antialiasedTools: true
   Prefs.useInvertingLut: false
   Prefs.intelByteOrder: false
   Prefs.doubleBuffer: false
   Prefs.noPointLabels: false
   Prefs.disableUndo: false
   Prefs dir: /Users/ben/Library/Preferences
   Current dir: /Users/ben/
   Sample images dir: http://rsb.info.nih.gov/ij/images/
   Screen size: 1440x900
   Memory in use: 11MB of 400MB (2%)


On Jun 16, 2009, at 8:12 AM, Karsten Rodenacker wrote:

> ... that cannot be, it's a macbook pro and a mac pro with that  
> behaviour.
>
> I thought that something is wrong with the application ImageJ64, in  
> combination with the new java update! I am not a java expert, but  
> something with the stub (?) seems not to be in order!
>
> Regards
> Karsten
>
> Am 16.06.2009 um 12:43 schrieb Johannes Schindelin:
>
>> Hi,
>>
>> On Tue, 16 Jun 2009, Karsten Rodenacker wrote:
>>
>>> I have some Problems with ImageJ64. It will not start anymore  
>>> after the Java
>>> Update 4!
>>> Konsole messages are
>>> 16.06.09 10:18:48 [0x0-0x1d39d38].gov.nih.info.rsb.ImageJ[18842]
>>> [JavaAppLauncher Warning] Java application launched from PPC or  
>>> bad stub.
>>> Relaunching in 32-bit, and tagging sub-processes to prefer 32-bit  
>>> with
>>> $JAVA_ARCH=i386.
>>
>> You seem to have a 64-bit PowerPC.  Apple does not support Java 1.6  
>> on
>> that machine, and apparently the launcher you are using tries to  
>> force
>> running in 32-bit, although it assumes that you have an Intel  
>> processor.
>>
>> Sorry, I have no immediate fix, and unfortunately Fiji shares the  
>> same
>> problem at the moment.  Fortunately I got ahold of such a machine,  
>> and I
>> will work on this issue this week.
>>
>> Ciao,
>> Dscho
>
> Karsten
> [hidden email]

Ben Tupper
Reply | Threaded
Open this post in threaded view
|

Re: Macosx 10.5 Java Update 4 on intel

karo03
Hi Ben, nice to read from you,
Here is that output. However, only from ImageJ not ImageJ64
Regards
Karsten


Java properties applets can read:
   java.version: 1.5.0_19
   java.vendor: Apple Inc.
   mrj.version: 1050.1.5.0_19-304
   os.name: Mac OS X
   os.version: 10.5.7
   os.arch: i386
   file.separator: /
   path.separator: :
   line.separator: <lf>

Java properties only applications can read:
   user.name: karo
   user.home: /Users/karo
   user.dir: /Applications/MiscEXE/ImageJ
   user.country: DE
   file.encoding: MacRoman
   java.home: /System/Library/Frameworks/JavaVM.framework/Versions/
1.5.0/Home
   java.class.path: /Applications/MiscEXE/ImageJ/ImageJ.app/../ij.jar:/
System/Library/Java/Extensions/QTJava.zip:/Applications/MiscEXE/ImageJ/
ImageJ.app/../plugins/Segmentation/TrakEM2_.jar:/Applications/MiscEXE/
ImageJ/ImageJ.app/../plugins/Jars/ImageJ_3D_Viewer.jar:/Applications/
MiscEXE/ImageJ/ImageJ.app/../plugins/Jars/edu_mines_jtk.jar:/
Applications/MiscEXE/ImageJ/ImageJ.app/../plugins/Jars/Jama-1.0.2.jar:/
Applications/MiscEXE/ImageJ/ImageJ.app/../plugins/Jars/AmiraMesh_.jar:/
Applications/MiscEXE/ImageJ/ImageJ.app/../plugins/Jars/
jzlib-1.0.7.jar:/Applications/MiscEXE/ImageJ/ImageJ.app/../plugins/
jedit.jar
   java.ext.dirs: /Library/Java/Extensions:/System/Library/Java/
Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
Home/lib/ext
   java.io.tmpdir: /var/folders/Tb/Tb2Vk8HK2RaF1U+F7557eU+++TI/-Tmp-/

Other properties:
   IJ.getVersion: 1.43a
   IJ.isJava2: true
   IJ.isJava15: true
   IJ.isJava16: false
   IJ.isLinux: false
   IJ.isMacintosh: true
   IJ.isMacOSX: true
   IJ.isWindows: false
   IJ.isVista: false
   IJ.is64Bit: false
   Menus.getPlugInsPath: /Applications/MiscEXE/ImageJ/plugins/
   Menus.getMacrosPath: /Applications/MiscEXE/ImageJ/macros/
   Prefs.getHomeDir: /Applications/MiscEXE/ImageJ
   Prefs.getThreads: 2 (2 cores)
   Prefs.open100Percent: false
   Prefs.blackBackground: false
   Prefs.useJFileChooser: false
   Prefs.weightedColor: true
   Prefs.blackCanvas: false
   Prefs.pointAutoMeasure: false
   Prefs.pointAutoNextSlice: false
   Prefs.requireControlKey: false
   Prefs.useInvertingLut: false
   Prefs.antialiasedTools: true
   Prefs.useInvertingLut: false
   Prefs.intelByteOrder: false
   Prefs.doubleBuffer: false
   Prefs.noPointLabels: true
   Prefs.disableUndo: false
   Prefs dir: /Users/karo/Library/Preferences
   Current dir: /Applications/MiscEXE/ImageJ/macros/
   Sample images dir: http://rsb.info.nih.gov/ij/images/
   Screen size: 1920x1200
   Memory in use: 2083K of 1200MB (<1%)

Am 16.06.2009 um 15:54 schrieb Ben Tupper:

> Hi Karsten,
>
> Could you post the results when you run the ImageJ menu  
> "Utilities>ImageJ Properties...".  I have pasted mine below for your  
> reference. I have not tried the Java Update 4.
>
> Cheers,
> Ben
>
> Java properties applets can read:
>  java.version: 1.5.0_16
>  java.vendor: Apple Inc.
>  mrj.version: 1050.1.5.0_16-284
>  os.name: Mac OS X
>  os.version: 10.5.7
>  os.arch: i386
>  file.separator: /
>  path.separator: :
>  line.separator: <lf>
>
> Java properties only applications can read:
>  user.name: ben
>  user.home: /Users/ben
>  user.dir: /Applications/ImageJ
>  user.country: US
>  file.encoding: MacRoman
>  java.home: /System/Library/Frameworks/JavaVM.framework/Versions/
> 1.5.0/Home
>  java.class.path: /Applications/ImageJ/ImageJ.app/../ij.jar:/System/
> Library/Java/Extensions/QTJava.zip
>  java.ext.dirs: /Library/Java/Extensions:/System/Library/Java/
> Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/
> 1.5.0/Home/lib/ext
>  java.io.tmpdir: /tmp
>
> Other properties:
>  IJ.getVersion: 1.42q
>  IJ.isJava2: true
>  IJ.isJava15: true
>  IJ.isJava16: false
>  IJ.isLinux: false
>  IJ.isMacintosh: true
>  IJ.isMacOSX: true
>  IJ.isWindows: false
>  IJ.isVista: false
>  IJ.is64Bit: false
>  Menus.getPlugInsPath: /Applications/ImageJ/plugins/
>  Menus.getMacrosPath: /Applications/ImageJ/macros/
>  Prefs.getHomeDir: /Applications/ImageJ
>  Prefs.getThreads: 2 (2 cores)
>  Prefs.open100Percent: false
>  Prefs.blackBackground: false
>  Prefs.useJFileChooser: false
>  Prefs.weightedColor: false
>  Prefs.blackCanvas: false
>  Prefs.pointAutoMeasure: false
>  Prefs.pointAutoNextSlice: false
>  Prefs.requireControlKey: false
>  Prefs.useInvertingLut: false
>  Prefs.antialiasedTools: true
>  Prefs.useInvertingLut: false
>  Prefs.intelByteOrder: false
>  Prefs.doubleBuffer: false
>  Prefs.noPointLabels: false
>  Prefs.disableUndo: false
>  Prefs dir: /Users/ben/Library/Preferences
>  Current dir: /Users/ben/
>  Sample images dir: http://rsb.info.nih.gov/ij/images/
>  Screen size: 1440x900
>  Memory in use: 11MB of 400MB (2%)
>
>
> On Jun 16, 2009, at 8:12 AM, Karsten Rodenacker wrote:
>
>> ... that cannot be, it's a macbook pro and a mac pro with that  
>> behaviour.
>>
>> I thought that something is wrong with the application ImageJ64, in  
>> combination with the new java update! I am not a java expert, but  
>> something with the stub (?) seems not to be in order!
>>
>> Regards
>> Karsten
>>
>> Am 16.06.2009 um 12:43 schrieb Johannes Schindelin:
>>
>>> Hi,
>>>
>>> On Tue, 16 Jun 2009, Karsten Rodenacker wrote:
>>>
>>>> I have some Problems with ImageJ64. It will not start anymore  
>>>> after the Java
>>>> Update 4!
>>>> Konsole messages are
>>>> 16.06.09 10:18:48 [0x0-0x1d39d38].gov.nih.info.rsb.ImageJ[18842]
>>>> [JavaAppLauncher Warning] Java application launched from PPC or  
>>>> bad stub.
>>>> Relaunching in 32-bit, and tagging sub-processes to prefer 32-bit  
>>>> with
>>>> $JAVA_ARCH=i386.
>>>
>>> You seem to have a 64-bit PowerPC.  Apple does not support Java  
>>> 1.6 on
>>> that machine, and apparently the launcher you are using tries to  
>>> force
>>> running in 32-bit, although it assumes that you have an Intel  
>>> processor.
>>>
>>> Sorry, I have no immediate fix, and unfortunately Fiji shares the  
>>> same
>>> problem at the moment.  Fortunately I got ahold of such a machine,  
>>> and I
>>> will work on this issue this week.
>>>
>>> Ciao,
>>> Dscho
>>
>> Karsten
>> [hidden email]
>
> Ben Tupper

Karsten
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Macosx 10.5 Java Update 4 on intel

Mathieu Marchand-2
In reply to this post by karo03
I confirm the behavior with the ImageJ64.app stub launcher and Apple's
Java Update 4 (which includes java 1.6.0_13 x86_64). I have the same
errors on the console.
I can start ImageJ.app (in 32bits), and I can start ImageJ in 64bits
from the command line, so there is a problem with the ImageJ64.app
stub launcher and the Apple update.
Mat


On Tue, Jun 16, 2009 at 8:12 AM, Karsten Rodenacker<[hidden email]> wrote:

> ... that cannot be, it's a macbook pro and a mac pro with that behaviour.
>
> I thought that something is wrong with the application ImageJ64, in
> combination with the new java update! I am not a java expert, but something
> with the stub (?) seems not to be in order!
>
> Regards
> Karsten
>
> Am 16.06.2009 um 12:43 schrieb Johannes Schindelin:
>
>> Hi,
>>
>> On Tue, 16 Jun 2009, Karsten Rodenacker wrote:
>>
>>> I have some Problems with ImageJ64. It will not start anymore after the
>>> Java
>>> Update 4!
>>> Konsole messages are
>>> 16.06.09 10:18:48 [0x0-0x1d39d38].gov.nih.info.rsb.ImageJ[18842]
>>> [JavaAppLauncher Warning] Java application launched from PPC or bad stub.
>>> Relaunching in 32-bit, and tagging sub-processes to prefer 32-bit with
>>> $JAVA_ARCH=i386.
>>
>> You seem to have a 64-bit PowerPC.  Apple does not support Java 1.6 on
>> that machine, and apparently the launcher you are using tries to force
>> running in 32-bit, although it assumes that you have an Intel processor.
>>
>> Sorry, I have no immediate fix, and unfortunately Fiji shares the same
>> problem at the moment.  Fortunately I got ahold of such a machine, and I
>> will work on this issue this week.
>>
>> Ciao,
>> Dscho
>
> Karsten
> [hidden email]
>
Reply | Threaded
Open this post in threaded view
|

Re: Macosx 10.5 Java Update 4 on intel

karo03
Very interesting remark:
I copied in the terminal
cp /Applications/MiscEXE/ImageJ/ImageJ64.app/Contents/MacOS/
JavaApplicationStub64 /Applications/MiscEXE/ImageJ/ImageJ64.app/
Contents/MacOS/JavaApplicationStub

Now ImageJ64 comes up properly.

Starting from the command line
/Applications/MiscEXE/ImageJ/ImageJ64.app/Contents/MacOS/
JavaApplicationStub
showed that erroneous behaviour.

Thanks for the help
Karsten

Am 16.06.2009 um 16:42 schrieb Mathieu Marchand:

> I confirm the behavior with the ImageJ64.app stub launcher and Apple's
> Java Update 4 (which includes java 1.6.0_13 x86_64). I have the same
> errors on the console.
> I can start ImageJ.app (in 32bits), and I can start ImageJ in 64bits
> from the command line, so there is a problem with the ImageJ64.app
> stub launcher and the Apple update.
> Mat
>
>
> On Tue, Jun 16, 2009 at 8:12 AM, Karsten  
> Rodenacker<[hidden email]> wrote:
>> ... that cannot be, it's a macbook pro and a mac pro with that  
>> behaviour.
>>
>> I thought that something is wrong with the application ImageJ64, in
>> combination with the new java update! I am not a java expert, but  
>> something
>> with the stub (?) seems not to be in order!
>>
>> Regards
>> Karsten
>>
>> Am 16.06.2009 um 12:43 schrieb Johannes Schindelin:
>>
>>> Hi,
>>>
>>> On Tue, 16 Jun 2009, Karsten Rodenacker wrote:
>>>
>>>> I have some Problems with ImageJ64. It will not start anymore  
>>>> after the
>>>> Java
>>>> Update 4!
>>>> Konsole messages are
>>>> 16.06.09 10:18:48 [0x0-0x1d39d38].gov.nih.info.rsb.ImageJ[18842]
>>>> [JavaAppLauncher Warning] Java application launched from PPC or  
>>>> bad stub.
>>>> Relaunching in 32-bit, and tagging sub-processes to prefer 32-bit  
>>>> with
>>>> $JAVA_ARCH=i386.
>>>
>>> You seem to have a 64-bit PowerPC.  Apple does not support Java  
>>> 1.6 on
>>> that machine, and apparently the launcher you are using tries to  
>>> force
>>> running in 32-bit, although it assumes that you have an Intel  
>>> processor.
>>>
>>> Sorry, I have no immediate fix, and unfortunately Fiji shares the  
>>> same
>>> problem at the moment.  Fortunately I got ahold of such a machine,  
>>> and I
>>> will work on this issue this week.
>>>
>>> Ciao,
>>> Dscho
>>
>> Karsten
>> [hidden email]
>>

Karsten
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Macosx 10.5 Java Update 4 on intel

Wayne Rasband
In reply to this post by Mathieu Marchand-2
On Jun 16, 2009, at 10:42 AM, Mathieu Marchand wrote:

> I confirm the behavior with the ImageJ64.app stub launcher and Apple's
> Java Update 4 (which includes java 1.6.0_13 x86_64). I have the same
> errors on the console.
> I can start ImageJ.app (in 32bits), and I can start ImageJ in 64bits
> from the command line, so there is a problem with the ImageJ64.app
> stub launcher and the Apple update.
> Mat

This problem is fixed in the Mac version of ImageJ 1.42 now available at

     http://rsb.info.nih.gov/ij/download.html

The JavaApplicationStub in ImageJ64.app/Contents/MacOS/ is now a 64-bit
application instead of a 32-bit universal binary. You can also fix the
problem by right-clicking on ImageJ64, selecting "Show Package
Contents" in the drop down menu, opening Contents/MacOS, deleting
JavaApplicationStub, and changing the name of JavaApplicationStub64 to
JavaApplicationStub.

-wayne


> On Tue, Jun 16, 2009 at 8:12 AM, Karsten
> Rodenacker<[hidden email]> wrote:
>> ... that cannot be, it's a macbook pro and a mac pro with that
>> behaviour.
>>
>> I thought that something is wrong with the application ImageJ64, in
>> combination with the new java update! I am not a java expert, but
>> something
>> with the stub (?) seems not to be in order!
>>
>> Regards
>> Karsten
>>
>> Am 16.06.2009 um 12:43 schrieb Johannes Schindelin:
>>
>>> Hi,
>>>
>>> On Tue, 16 Jun 2009, Karsten Rodenacker wrote:
>>>
>>>> I have some Problems with ImageJ64. It will not start anymore after
>>>> the
>>>> Java
>>>> Update 4!
>>>> Konsole messages are
>>>> 16.06.09 10:18:48 [0x0-0x1d39d38].gov.nih.info.rsb.ImageJ[18842]
>>>> [JavaAppLauncher Warning] Java application launched from PPC or bad
>>>> stub.
>>>> Relaunching in 32-bit, and tagging sub-processes to prefer 32-bit
>>>> with
>>>> $JAVA_ARCH=i386.
>>>
>>> You seem to have a 64-bit PowerPC.  Apple does not support Java 1.6
>>> on
>>> that machine, and apparently the launcher you are using tries to
>>> force
>>> running in 32-bit, although it assumes that you have an Intel
>>> processor.
>>>
>>> Sorry, I have no immediate fix, and unfortunately Fiji shares the
>>> same
>>> problem at the moment.  Fortunately I got ahold of such a machine,
>>> and I
>>> will work on this issue this week.
>>>
>>> Ciao,
>>> Dscho
>>
>> Karsten
>> [hidden email]
>>
>