ImageJ/Java + WinXP restricted account > error

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

ImageJ/Java + WinXP restricted account > error

Michael Weber-4
Dear list,

I have problem concerning ImageJ/Java + WinXP account with restricted
rights. Since not long ago, it's not possible to start ImageJ. The error
message sounds as following:

Java Virtual Machine Launcher
"Could not find the main class. Program will exit."

I'm using WinXP Prof SP2, newest updates, Java 5 Update 7, newest ImageJ.
As far as I learned from googling this error message, the problem should
be that the Java loader couldn't find the necessary ImageJ class. Changing
the user rights on ImageJ and Java folder to "full access" doesn't help.
I'm not very much into Java, so could please anyone help me?

Thanks a lot in advance,
Michael
_____________

Michael Weber (B.Sc.)

..MTZ (before 12.30 pm)..
Technische Universität
MTZ Imaging
Medical Theoretical Centre, Haus 91
Fiedlerstr. 42
D-01307 Dresden
e-mail: [hidden email]
phone: +49 351 4586426

..MPI (after 12.30 pm)..
Max Planck Institute of Molecular Cell Biology and Genetics
Light Microscopy Facility
Pfotenhauer Str. 108
D-01307 Dresden
e-mail: [hidden email]
phone: +49 351 2102837
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ/Java + WinXP restricted account > error

Leonardo Schenkel
Hi there,

I´m new to ImageJ, and in this list. But okay in java. hope this works.

1st solution:
in command mode "start"button "execute" type "cmd" and hit Enter Key. this
will give you the command prompt.
paste/type this comand:

*set CLASSPATH=%CLASSPATH%;.*
if doesnt works
 *set CLASSPATH=%CLASSPATH%;"c:\Program Files\ImageJ\"**(there may be more
sub-directories here)*

2 solution:
My guess is to add to java classpath './' (dot slash) or '.' (dot). This is
accessible thru "administrative tools" or right click on my computer and
proprieties, them you must find system variables, its a buttom. I´m not
quite sure, I got this out of my head.

I hope this works.

BTW: any knows new trends on papanicolau (semi/automated) screening? Its my
final work subject.

Leonardo Schenkel - Computer Science Bachelor.
PUCRS Univ. - Porto Alegre Brazil


On 6/13/06, Michael Weber <[hidden email]> wrote:

>
> Dear list,
>
> I have problem concerning ImageJ/Java + WinXP account with restricted
> rights. Since not long ago, it's not possible to start ImageJ. The error
> message sounds as following:
>
> Java Virtual Machine Launcher
> "Could not find the main class. Program will exit."
>
> I'm using WinXP Prof SP2, newest updates, Java 5 Update 7, newest ImageJ.
> As far as I learned from googling this error message, the problem should
> be that the Java loader couldn't find the necessary ImageJ class. Changing
> the user rights on ImageJ and Java folder to "full access" doesn't help.
> I'm not very much into Java, so could please anyone help me?
>
> Thanks a lot in advance,
> Michael
> _____________
>
> Michael Weber (B.Sc.)
>
> ..MTZ (before 12.30 pm)..
> Technische Universität
> MTZ Imaging
> Medical Theoretical Centre, Haus 91
> Fiedlerstr. 42
> D-01307 Dresden
> e-mail: [hidden email]
> phone: +49 351 4586426
>
> ..MPI (after 12.30 pm)..
> Max Planck Institute of Molecular Cell Biology and Genetics
> Light Microscopy Facility
> Pfotenhauer Str. 108
> D-01307 Dresden
> e-mail: [hidden email]
> phone: +49 351 2102837
>
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ/Java + WinXP restricted account > error

Wayne Rasband
In reply to this post by Michael Weber-4
Try downloading and installing the version of ImageJ for Windows
bundled with Java 5.0_06 at <http://rsb.info.nih.gov/ij/download.html>.

-wayne

> I have problem concerning ImageJ/Java + WinXP account with
> restricted rights. Since not long ago, it's not possible to start
> ImageJ.
> The error message sounds as following:
>
> Java Virtual Machine Launcher
> "Could not find the main class. Program will exit."
>
> I'm using WinXP Prof SP2, newest updates, Java 5 Update 7, newest
> ImageJ.
> As far as I learned from googling this error message, the problem
> should
> be that the Java loader couldn't find the necessary ImageJ class.
> Changing
> the user rights on ImageJ and Java folder to "full access" doesn't
> help.
> I'm not very much into Java, so could please anyone help me?
>
> Thanks a lot in advance,
> Michael
> _____________
>
> Michael Weber (B.Sc.)
>
> ..MTZ (before 12.30 pm)..
> Technische Universität
> MTZ Imaging
> Medical Theoretical Centre, Haus 91
> Fiedlerstr. 42
> D-01307 Dresden
> e-mail: [hidden email]
> phone: +49 351 4586426
>
> ..MPI (after 12.30 pm)..
> Max Planck Institute of Molecular Cell Biology and Genetics
> Light Microscopy Facility
> Pfotenhauer Str. 108
> D-01307 Dresden
> e-mail: [hidden email]
> phone: +49 351 2102837
>
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ/Java + WinXP restricted account > error

Michael Weber-4
Thanks everyone for the help.

Wayne Rasband schrieb:
> Try downloading and installing the version of ImageJ for Windows bundled
> with Java 5.0_06 at <http://rsb.info.nih.gov/ij/download.html>.
>
> -wayne

This solutions works, even if I would prefer if ImageJ uses the
currently installed "global" version of Java. My understanding is that I
only need the JRE, not the JDK, or am I wrong at this point?

Michael

--
Michael Weber (B.Sc.)

..MTZ (before 12.30 pm)..
Technische Universität
MTZ Imaging
Medical Theoretical Centre, Haus 91
Fiedlerstr. 42
D-01307 Dresden
e-mail: [hidden email]
phone: +49 351 4586426

..MPI (after 12.30 pm)..
Max Planck Institute of Molecular Cell Biology and Genetics
Light Microscopy Facility
Pfotenhauer Str. 108
D-01307 Dresden
e-mail: [hidden email]
phone: +49 351 2102837
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ/Java + WinXP restricted account > error

Wayne Rasband
> Thanks everyone for the help.
>
> Wayne Rasband schrieb:
>> Try downloading and installing the version of ImageJ for Windows
>> bundled with Java 5.0_06 at
>> <http://rsb.info.nih.gov/ij/download.html>.
>> -wayne
>
> This solutions works, even if I would prefer if ImageJ uses the
> currently installed "global" version of Java. My understanding is that
> I only need the JRE, not the JDK, or am I wrong at this point?

On Windows, the Plugins>Compile and Run command will not work unless
you install the JDK, or use a version of ImageJ bundled with Java. The
Java compiler is in tools.jar, which is not included with the JRE.

-wayne