Posted by
Michael Schmid on
Jun 26, 2007; 10:01am
URL: http://imagej.273.s1.nabble.com/Method-to-plot-RGB-pixel-values-tp3699004p3699009.html
Hi Catherine,
looks like a permission problem - you have no write access to
the plugins directory.
Open the ImageJ directory in the finder, select "plugins",
type command-i (File>Get Info) and have a look at the
"Ownership&Permissions" at the bottom. With "Details" you
can see the "owner", "group" and "others" permission.
If there is only one user of the Mac (except the administrator),
it makes sense to change the owner into that user.
If there are several users of ImageJ on the Mac, it's easy if
they are in one group and you make this the group that owns the
directory. This group should have read&write access.
It may make sense to make other ImageJ directories (e.g. "macros")
writeable as well. For simplicity, I have the full ImageJ folder
including subfolders ("Apply to enclosed items" option) writeable
for me, than I can replace the ij.jar file with the newest
version without any authentication as administrator.
---
Don't care about the Note: "sun.tools.javac.Main has been
deprecated" message.
btw, if your mouse has no right button, command-click will do
the same as right-click (command is the "cloverleaf" key).
Michael
________________________________________________________________
On 25 Jun 2007, at 20:19, Catherine Degnin wrote:
> Michael,
>
> I'm a Mac user, so no right-click, but I could open the file with
> the alt key down. I moved it into the plugins folder, opened
> imageJ, ran "compile and run" but got the following message:
>
> Note: sun.tools.javac.Main has been deprecated.
> error: Can't write: /Applications/ImageJ/plugins/
> RG2B_Colocalization.class
> 1 error, 1 warning
>
> I'm assuming this is a problem with my computer. Any clue what I
> need to do to fix? I have a Mac G5 with the Tiger operating system ~
>
> Thanks,
> Catherine
>
>
> On Jun 25, 2007, at 2:33 AM, Michael Schmid wrote:
>
>> On 23 Jun 2007, at 02:16, Catherine Degnin wrote:
>>
>>> I would like to download Chris Mauer's RG2B Colocalization
>>> plugin. When downloading from the NIH website I pull down the
>>> script, but not a packaged .class file.
>>
>> Hi Catherine,
>>
>> if you see a file starting with "import ij.*;" it is not a script
>> but Java code.
>>
>> If you see already the java code, select File>Save Page As... to
>> save it.
>>
>> Another way of doing it:
>> Before getting there, either right-click the
>> "RG2B_Colocalization.java" link and select "Save link as..." (or
>> whatever your Web browser calls that option), or click it with the
>> alt key down, which should also download the file on most browsers.
>>
>> As the text on the web page tells, put the file into the ImageJ/
>> plugins folder (or a subfolder therof), then select "Compile and
>> Run" from the ImageJ menu and select this file. This creates
>> a .class file.
>> After closing and reopening Image, it will be installed in the
>> "Plugins" menu (because it has an underscore in its name).
>>
>> Michael