trouble with 3d viewer

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

trouble with 3d viewer

Ilan
I am using java8 as my engine without having gone over yet to scifio.
I have Ubuntu 16.04. I just tried again to use the 3d viewer and it tells me

No permissions to write to folder /usr/lib/jvm/java-8-oracle/jre
In the log it gives
downloading http://132.187.25.13/java3d/j3d-1_5_2-linux-amd64.zip

Yesterday I downloaded java3d-1_5_1-linux-amd64.bin.
I looked again and the site has 1_5_1 as the latest and not 1_5_2.
We can ignore that slight difference I assume.
What I did yesterday was load the lib, amd64 and ext into the java8 jre lib directory.
The java3d files were not in the java8, jre folders so there was no conflict.

When I tried to run 3d viewer, java simply crashed out of Fiji.
Everything else worked so long as I stayed away from java3d.

I was wondering if there is any consensus about using java3d with java8?
Should it work, or shouldn't it? Am I doing something wrong?

Thanks,
Ilan
Reply | Threaded
Open this post in threaded view
|

Re: trouble with 3d viewer

Gabriel Landini
On Wednesday 11 May 2016 00:09:02 you wrote:
> I am using java8 as my engine without having gone over yet to scifio.
> I have Ubuntu 16.04. I just tried again to use the 3d viewer and it tells me
>
> No permissions to write to folder /usr/lib/jvm/java-8-oracle/jre
> In the log it gives
> downloading http://132.187.25.13/java3d/j3d-1_5_2-linux-amd64.zip

It is telling that you do not have privileges to add to the java8 folder.
This is most likely because your Java is system-installed.
Try install the Java 3D viewer files as root.
 
Perhaps run Imagej as root just once and launch the 3D viewer, if Java3D is
not installed, it will download it and install it in the right folder. Then
quit and use IJ as a normal user.
The alternative is to install Java8 locally and so you do not run in this kind
of problem.

Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: trouble with 3d viewer

Ilan
Hi Gabriel,
I put the java3d files in using sudo, and I verified that they were in place.
You are correct that Fiji can't install them for me, but I can certainly install them manually.
The only difference is that I got 1_5_1 from Oracle whereas Fiji wants to install 1_5_2, which isn't listed on the Oracle page.

Do you have java3d running with java8?
Thanks for your reply,
Ilan
Reply | Threaded
Open this post in threaded view
|

Re: trouble with 3d viewer

Gabriel Landini
On Wednesday 11 May 2016 06:46:07 you wrote:
> Hi Gabriel,
> I put the java3d files in using sudo, and I verified that they were in
> place.
> You are correct that Fiji can't install them for me, but I can certainly
> install them manually.
> The only difference is that I got 1_5_1 from Oracle whereas Fiji wants to
> install 1_5_2, which isn't listed on the Oracle page.
>
> Do you have java3d running with java8?

In plain IJ, I have 1.8.0 openjdk (system install, opensuse) and local-oracle.
Both installed j3d 1.5.2 by just calling the 3Dviewer (the system one, as
root).
The 3D viewer (at least in plain IJ) downloads itself the 1.5.2 J3D files.

In Fiji I run 1.6.0, I have not tried 1.8.0

Hope it helps

Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: trouble with 3d viewer

ctrueden
Hi Ilan & Gabriel,

> In Fiji I run 1.6.0, I have not tried 1.8.0

Just to clarify a little: in ImageJ2, we are migrating to Java 8, which
uses a new version of Java 3D which does not need to be separately
installed. For details, see: http://imagej.net/Java_3D

Regards,
Curtis

--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden
Did you know ImageJ has a forum? http://forum.imagej.net/


On Wed, May 11, 2016 at 9:17 AM, Gabriel Landini <[hidden email]>
wrote:

> On Wednesday 11 May 2016 06:46:07 you wrote:
> > Hi Gabriel,
> > I put the java3d files in using sudo, and I verified that they were in
> > place.
> > You are correct that Fiji can't install them for me, but I can certainly
> > install them manually.
> > The only difference is that I got 1_5_1 from Oracle whereas Fiji wants to
> > install 1_5_2, which isn't listed on the Oracle page.
> >
> > Do you have java3d running with java8?
>
> In plain IJ, I have 1.8.0 openjdk (system install, opensuse) and
> local-oracle.
> Both installed j3d 1.5.2 by just calling the 3Dviewer (the system one, as
> root).
> The 3D viewer (at least in plain IJ) downloads itself the 1.5.2 J3D files.
>
> In Fiji I run 1.6.0, I have not tried 1.8.0
>
> Hope it helps
>
> Gabriel
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html