Login  Register

Re: unexpected behavior with autoupdate

Posted by Ben Tupper on May 08, 2008; 5:11pm
URL: http://imagej.273.s1.nabble.com/unexpected-behavior-with-autoupdate-tp3696275p3696277.html

On May 8, 2008, at 12:53 PM, Wayne Rasband wrote:

>> Hi All,
>>
>> I am not seeing the expected behavior when I use Plugins >  
>> Utilities > Update Image ...
>>
>> When I select that option the progress bar indicates the download  
>> is occurring.  Then ImageJ closes.  When I restart ImageJ (using  
>> the same Mac OSX dock icon) it is the previous version.  For  
>> example...
>>
>> Upgrade to 1.41c from 1.41b.
>> Restarts as 1.41b.
>>
>> I am not sure how to trouble shoot this because I can't determine  
>> where this happens in the source code.
>
> One thing that could cause this on Mac OS X is having an ij.jar  
> file in one of the Java extension folders, such as /Users/user-name/
> Library/Java/Extensions, /Library/Java/Extensions or /System/
> Library/Java/Extensions.
>

Thanks, Wayne.

I manually removed the ij.jar in my /Applications/ImageJ directory,  
then did the upgrade successfully.  I gather from the docs that the  
ij.jar is supposed top reside there - but after the upgrade there is  
no ij.jar in the directory and ImageJ fires up with the upgraded  
version.  I do see the ij.jar inside the ImageJ.app/resources/Java  
directory... something I thought no longer done as of v1.35. So I am  
confused but blissful since it works!

Cheers,
Ben

> The "Unable to open release notes at http://rsb.info.nih.gov/ij/ 
> notes.html" error can probably be worked around by using Patrick  
> Pirrotte's IJProxy plugin at <http://imagejdocu.tudor.lu/Members/ 
> ppirrotte/ijproxy>. With the MBF bundle, it is available as the  
> Plugins>Updates>Configure proxy command.
>
> -wayne
>
>
>> Thanks!
>> Ben
>>
>>
>> ****** BEGIN
>>
>> Java properties applets can read:
>>   java.version: 1.5.0_13
>>   java.vendor: Apple Computer, Inc.
>>   mrj.version: 1040.1.5.0_13-241
>>   os.name: Mac OS X
>>   os.version: 10.4.11
>>   os.arch: ppc
>>   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/Contents/
>> Resources/Java/ij.jar:/System/Library/Java/Extensions/QTJava.zip:/
>> System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
>> Classes/.compatibility/14compatibility.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: /tmp
>>
>> Other properties:
>>   IJ.getVersion: 1.41b
>>   IJ.isJava2: true
>>   IJ.isJava14: 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: 1 (1 core)
>>   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/Shared/data/336-101800/
>>   Sample images dir: http://rsb.info.nih.gov/ij/images/
>>   Screen size: 1024x768
>>   Memory in use: 910K of 600MB (<1%)
>>
>> ****** END
>>

Ben Tupper
[hidden email]

I GoodSearch for Ashwood Waldorf School.

Raise money for your favorite charity or school just by searching the  
Internet with GoodSearch - www.goodsearch.com - powered by Yahoo!