ImageJ on HiDPI screens

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

ImageJ on HiDPI screens

Mort, Richard
Hi All,

I wonder has anyone solved the problem of dpi scaling on hi resolution screens (I know this is really a java issue)? I'm on a dell xps 13 with Ubuntu linux 16.04. ImageJ is tiny unless I change my screen resolution. I have tried:

Packaged java:

./ImageJ-linux64 -Dsun.java2d.dpiaware=true

Java-9:

./ImageJ-linux64 --java_home /usr/lib/jvm/java-9-oracle -Dsun.java2d.dpiaware=true

Any suggestions?

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

Re: ImageJ on HiDPI screens

Saalfeld, Stephan
I would also be interested in a solution.  Found none so far except
that I bought reading glasses...

Best,
Stephan



On Wed, 2016-12-14 at 09:29 +0000, Mort, Richard wrote:

> Hi All,
>
> I wonder has anyone solved the problem of dpi scaling on hi
> resolution screens (I know this is really a java issue)? I'm on a
> dell xps 13 with Ubuntu linux 16.04. ImageJ is tiny unless I change
> my screen resolution. I have tried:
>
> Packaged java:
>
> ./ImageJ-linux64 -Dsun.java2d.dpiaware=true
>
> Java-9:
>
> ./ImageJ-linux64 --java_home /usr/lib/jvm/java-9-oracle
> -Dsun.java2d.dpiaware=true
>
> Any suggestions?
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

signature.asc (484 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ on HiDPI screens

ctrueden
Hi Richard, Stephan & everyone,

Java 9 has HiDPI support out of the box. Give it a try! At least one user
reports that it fixes the issue, at least on Win10 [1].

Regards,
Curtis

[1]
http://forum.imagej.net/t/how-to-increase-the-gui-font-size/552/4?u=ctrueden

--
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, Dec 14, 2016 at 10:52 AM, Saalfeld, Stephan <
[hidden email]> wrote:

> I would also be interested in a solution.  Found none so far except
> that I bought reading glasses...
>
> Best,
> Stephan
>
>
>
> On Wed, 2016-12-14 at 09:29 +0000, Mort, Richard wrote:
> > Hi All,
> >
> > I wonder has anyone solved the problem of dpi scaling on hi
> > resolution screens (I know this is really a java issue)? I'm on a
> > dell xps 13 with Ubuntu linux 16.04. ImageJ is tiny unless I change
> > my screen resolution. I have tried:
> >
> > Packaged java:
> >
> > ./ImageJ-linux64 -Dsun.java2d.dpiaware=true
> >
> > Java-9:
> >
> > ./ImageJ-linux64 --java_home /usr/lib/jvm/java-9-oracle
> > -Dsun.java2d.dpiaware=true
> >
> > Any suggestions?
> >
> > --
> > ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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

Re: ImageJ on HiDPI screens

Mort, Richard
Hi Curtis,

It didn't seem to work for me (see code in my post) but maybe this is my
ignorance about how to specify a java version on launch. Does someone
have a custom launch script for doing this on Linux?

Best

R


On 14/12/16 11:35, Curtis Rueden wrote:

> Hi Richard, Stephan & everyone,
>
> Java 9 has HiDPI support out of the box. Give it a try! At least one user
> reports that it fixes the issue, at least on Win10 [1].
>
> Regards,
> Curtis
>
> [1]
> http://forum.imagej.net/t/how-to-increase-the-gui-font-size/552/4?u=ctrueden
>
> --
> 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, Dec 14, 2016 at 10:52 AM, Saalfeld, Stephan <
> [hidden email]> wrote:
>
>> I would also be interested in a solution.  Found none so far except
>> that I bought reading glasses...
>>
>> Best,
>> Stephan
>>
>>
>>
>> On Wed, 2016-12-14 at 09:29 +0000, Mort, Richard wrote:
>>> Hi All,
>>>
>>> I wonder has anyone solved the problem of dpi scaling on hi
>>> resolution screens (I know this is really a java issue)? I'm on a
>>> dell xps 13 with Ubuntu linux 16.04. ImageJ is tiny unless I change
>>> my screen resolution. I have tried:
>>>
>>> Packaged java:
>>>
>>> ./ImageJ-linux64 -Dsun.java2d.dpiaware=true
>>>
>>> Java-9:
>>>
>>> ./ImageJ-linux64 --java_home /usr/lib/jvm/java-9-oracle
>>> -Dsun.java2d.dpiaware=true
>>>
>>> Any suggestions?
>>>
>>> --
>>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
Dr. Richard Mort
Lecturer in Biomedicine

B088a Furness Building
Division of Biomedical and Life Sciences
Faculty of Health and Medicine
Lancaster University
Bailrigg
Lancaster.
LA1 4YG, UK.

Phone: 015245 95 803
Email: [hidden email]

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

Re: ImageJ on HiDPI screens

ctrueden
Hi Richard,

Ah, sorry, I missed the code in your original post.

You can verify that ImageJ is using Java 9 by following these instructions:
http://imagej.net/Troubleshooting#Checking_the_Java_version

It looks like you wrote "--java_home" instead of "--java-home" (i.e.,
underscore instead of dash), so perhaps that is your problem.

That said, I have not tested it myself, so it still might not solve it...
either way, would be nice to hear back on this thread about how things go!

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, Dec 14, 2016 at 3:52 PM, Richard Mort <[hidden email]>
wrote:

> Hi Curtis,
>
> It didn't seem to work for me (see code in my post) but maybe this is my
> ignorance about how to specify a java version on launch. Does someone have
> a custom launch script for doing this on Linux?
>
> Best
>
> R
>
>
>
> On 14/12/16 11:35, Curtis Rueden wrote:
>
>> Hi Richard, Stephan & everyone,
>>
>> Java 9 has HiDPI support out of the box. Give it a try! At least one user
>> reports that it fixes the issue, at least on Win10 [1].
>>
>> Regards,
>> Curtis
>>
>> [1]
>> http://forum.imagej.net/t/how-to-increase-the-gui-font-size/
>> 552/4?u=ctrueden
>>
>> --
>> 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, Dec 14, 2016 at 10:52 AM, Saalfeld, Stephan <
>> [hidden email]> wrote:
>>
>> I would also be interested in a solution.  Found none so far except
>>> that I bought reading glasses...
>>>
>>> Best,
>>> Stephan
>>>
>>>
>>>
>>> On Wed, 2016-12-14 at 09:29 +0000, Mort, Richard wrote:
>>>
>>>> Hi All,
>>>>
>>>> I wonder has anyone solved the problem of dpi scaling on hi
>>>> resolution screens (I know this is really a java issue)? I'm on a
>>>> dell xps 13 with Ubuntu linux 16.04. ImageJ is tiny unless I change
>>>> my screen resolution. I have tried:
>>>>
>>>> Packaged java:
>>>>
>>>> ./ImageJ-linux64 -Dsun.java2d.dpiaware=true
>>>>
>>>> Java-9:
>>>>
>>>> ./ImageJ-linux64 --java_home /usr/lib/jvm/java-9-oracle
>>>> -Dsun.java2d.dpiaware=true
>>>>
>>>> Any suggestions?
>>>>
>>>> --
>>>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>>>
>>> --
>>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>>
>>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>
>
> --
> Dr. Richard Mort
> Lecturer in Biomedicine
>
> B088a Furness Building
> Division of Biomedical and Life Sciences
> Faculty of Health and Medicine
> Lancaster University
> Bailrigg
> Lancaster.
> LA1 4YG, UK.
>
> Phone: 015245 95 803
> Email: [hidden email]
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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

Re: ImageJ on HiDPI screens

Mort, Richard
OK so if I use java9 I get:

$ ./ImageJ-linux64
Unrecognized option: -Xincgc
Warning: falling back to System JVM
Unrecognized option: -Xincgc
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Is anybody successfully using Fiji with Java9 on linux?

Dr. Richard Mort
Lecturer in Biomedicine

B088a Furness Building
Division of Biomedical and Life Sciences
Faculty of Health and Medicine
Lancaster University
Bailrigg
Lancaster.
LA1 4YG, UK.

Phone: 015245 95 803
Email: [hidden email]<https://link.nylas.com/link/f8zr9ittgtx5wdcoz6whd7t9/local-8c2ff1e9-8268/0?redirect=mailto%3Ar.mort%40lancaster.ac.uk>


On Dec 14 2016, at 4:04 pm, Curtis Rueden <[hidden email]> wrote:

Hi Richard,

Ah, sorry, I missed the code in your original post.

You can verify that ImageJ is using Java 9 by following these instructions:
http://imagej.net/Troubleshooting#Checking_the_Java_version

It looks like you wrote "--java_home" instead of "--java-home" (i.e.,
underscore instead of dash), so perhaps that is your problem.

That said, I have not tested it myself, so it still might not solve it...
either way, would be nice to hear back on this thread about how things go!

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, Dec 14, 2016 at 3:52 PM, Richard Mort <[hidden email]>
wrote:

> Hi Curtis,
>
> It didn't seem to work for me (see code in my post) but maybe this is my
> ignorance about how to specify a java version on launch. Does someone have
> a custom launch script for doing this on Linux?
>
> Best
>
> R
>
>
>
> On 14/12/16 11:35, Curtis Rueden wrote:
>
>> Hi Richard, Stephan & everyone,
>>
>> Java 9 has HiDPI support out of the box. Give it a try! At least one user
>> reports that it fixes the issue, at least on Win10 [1].
>>
>> Regards,
>> Curtis
>>
>> [1]
>> http://forum.imagej.net/t/how-to-increase-the-gui-font-size/
>> 552/4?u=ctrueden
>>
>> --
>> 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, Dec 14, 2016 at 10:52 AM, Saalfeld, Stephan <
>> [hidden email]> wrote:
>>
>> I would also be interested in a solution. Found none so far except
>>> that I bought reading glasses...
>>>
>>> Best,
>>> Stephan
>>>
>>>
>>>
>>> On Wed, 2016-12-14 at 09:29 +0000, Mort, Richard wrote:
>>>
>>>> Hi All,
>>>>
>>>> I wonder has anyone solved the problem of dpi scaling on hi
>>>> resolution screens (I know this is really a java issue)? I'm on a
>>>> dell xps 13 with Ubuntu linux 16.04. ImageJ is tiny unless I change
>>>> my screen resolution. I have tried:
>>>>
>>>> Packaged java:
>>>>
>>>> ./ImageJ-linux64 -Dsun.java2d.dpiaware=true
>>>>
>>>> Java-9:
>>>>
>>>> ./ImageJ-linux64 --java_home /usr/lib/jvm/java-9-oracle
>>>> -Dsun.java2d.dpiaware=true
>>>>
>>>> Any suggestions?
>>>>
>>>> --
>>>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>>>
>>> --
>>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>>
>>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>
>
> --
> Dr. Richard Mort
> Lecturer in Biomedicine
>
> B088a Furness Building
> Division of Biomedical and Life Sciences
> Faculty of Health and Medicine
> Lancaster University
> Bailrigg
> Lancaster.
> LA1 4YG, UK.
>
> Phone: 015245 95 803
> Email: [hidden email]
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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

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

Re: ImageJ on HiDPI screens

ctrueden
Hi Richard,

> Is anybody successfully using Fiji with Java9 on linux?

I gave it a shot yesterday as well, and encountered similar problems. The
ImageJ Launcher passes a couple of flags to Java which are no longer
supported by Java 9. It is possible to prune out those flags:

$(./ImageJ-linux64 --dry-run | sed 's/-Xincgc //' | sed
's/-XX:PermSize=128m //')

However, this is not enough: when ImageJ2 spins up, it tries to use a
library called Javassist to patch/enhance the ImageJ1 code, and this
process fails spectacularly (over 4000 lines of errors) under Java 9. So
unfortunately, ImageJ2 is not usable with Java 9 yet.

Let's try vanilla ImageJ1!

java -jar /path/to/Fiji.app/jars/ij-1.51f.jar

But on my system, that doesn't work either; I get:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f020abed009, pid=3702, tid=3703
#
# JRE version: OpenJDK Runtime Environment (9.0) (build
9-internal+0-2016-04-14-195246.buildd.src)
# Java VM: OpenJDK 64-Bit Server VM
(9-internal+0-2016-04-14-195246.buildd.src, mixed mode, tiered, compressed
oops, serial gc, linux-amd64)
# Problematic frame:
# C  [libjava.so+0x1d009]  JNU_GetEnv+0x19

So it seems Java 9 still needs to bake for a bit longer.

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 Thu, Dec 15, 2016 at 10:45 AM, Mort, Richard <[hidden email]>
wrote:

> OK so if I use java9 I get:
>
> $ ./ImageJ-linux64
> Unrecognized option: -Xincgc
> Warning: falling back to System JVM
> Unrecognized option: -Xincgc
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
>
> Is anybody successfully using Fiji with Java9 on linux?
>
> Dr. Richard Mort
> Lecturer in Biomedicine
>
> B088a Furness Building
> Division of Biomedical and Life Sciences
> Faculty of Health and Medicine
> Lancaster University
> Bailrigg
> Lancaster.
> LA1 4YG, UK.
>
> Phone: 015245 95 803
> Email: [hidden email]<https://link.nylas.com/link/f8zr9ittg
> tx5wdcoz6whd7t9/local-8c2ff1e9-8268/0?redirect=
> mailto%3Ar.mort%40lancaster.ac.uk>
>
>
> On Dec 14 2016, at 4:04 pm, Curtis Rueden <[hidden email]> wrote:
>
> Hi Richard,
>
> Ah, sorry, I missed the code in your original post.
>
> You can verify that ImageJ is using Java 9 by following these instructions:
> http://imagej.net/Troubleshooting#Checking_the_Java_version
>
> It looks like you wrote "--java_home" instead of "--java-home" (i.e.,
> underscore instead of dash), so perhaps that is your problem.
>
> That said, I have not tested it myself, so it still might not solve it...
> either way, would be nice to hear back on this thread about how things go!
>
> 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, Dec 14, 2016 at 3:52 PM, Richard Mort <[hidden email]>
> wrote:
>
> > Hi Curtis,
> >
> > It didn't seem to work for me (see code in my post) but maybe this is my
> > ignorance about how to specify a java version on launch. Does someone
> have
> > a custom launch script for doing this on Linux?
> >
> > Best
> >
> > R
> >
> >
> >
> > On 14/12/16 11:35, Curtis Rueden wrote:
> >
> >> Hi Richard, Stephan & everyone,
> >>
> >> Java 9 has HiDPI support out of the box. Give it a try! At least one
> user
> >> reports that it fixes the issue, at least on Win10 [1].
> >>
> >> Regards,
> >> Curtis
> >>
> >> [1]
> >> http://forum.imagej.net/t/how-to-increase-the-gui-font-size/
> >> 552/4?u=ctrueden
> >>
> >> --
> >> 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, Dec 14, 2016 at 10:52 AM, Saalfeld, Stephan <
> >> [hidden email]> wrote:
> >>
> >> I would also be interested in a solution. Found none so far except
> >>> that I bought reading glasses...
> >>>
> >>> Best,
> >>> Stephan
> >>>
> >>>
> >>>
> >>> On Wed, 2016-12-14 at 09:29 +0000, Mort, Richard wrote:
> >>>
> >>>> Hi All,
> >>>>
> >>>> I wonder has anyone solved the problem of dpi scaling on hi
> >>>> resolution screens (I know this is really a java issue)? I'm on a
> >>>> dell xps 13 with Ubuntu linux 16.04. ImageJ is tiny unless I change
> >>>> my screen resolution. I have tried:
> >>>>
> >>>> Packaged java:
> >>>>
> >>>> ./ImageJ-linux64 -Dsun.java2d.dpiaware=true
> >>>>
> >>>> Java-9:
> >>>>
> >>>> ./ImageJ-linux64 --java_home /usr/lib/jvm/java-9-oracle
> >>>> -Dsun.java2d.dpiaware=true
> >>>>
> >>>> Any suggestions?
> >>>>
> >>>> --
> >>>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
> >>>>
> >>> --
> >>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
> >>>
> >>> --
> >> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
> >>
> >
> > --
> > Dr. Richard Mort
> > Lecturer in Biomedicine
> >
> > B088a Furness Building
> > Division of Biomedical and Life Sciences
> > Faculty of Health and Medicine
> > Lancaster University
> > Bailrigg
> > Lancaster.
> > LA1 4YG, UK.
> >
> > Phone: 015245 95 803
> > Email: [hidden email]
> >
> >
> > --
> > ImageJ mailing list: http://imagej.nih.gov/ij/list.html
> >
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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

Re: ImageJ on HiDPI screens

ctrueden
Hi Richard,

One more update: in my previous mail, I was using an 8-months-old version
of Java 9: the openjdk-9-jdk package available from the package manager. If
you download the Linux 64-bit JDK package from
https://jdk9.java.net/download/, it is much newer (build 9-ea+148 as of
this writing), and it gets farther. ImageJ2 still does not start (I will
try to fix it as time allows),  but you _can_ start up ImageJ1, and it
_does_ do more intelligent scaling for HiDPI displays. So maybe this is
good enough for some people at the moment.

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 Thu, Dec 15, 2016 at 12:01 PM, Curtis Rueden <[hidden email]> wrote:

> Hi Richard,
>
> > Is anybody successfully using Fiji with Java9 on linux?
>
> I gave it a shot yesterday as well, and encountered similar problems. The
> ImageJ Launcher passes a couple of flags to Java which are no longer
> supported by Java 9. It is possible to prune out those flags:
>
> $(./ImageJ-linux64 --dry-run | sed 's/-Xincgc //' | sed
> 's/-XX:PermSize=128m //')
>
> However, this is not enough: when ImageJ2 spins up, it tries to use a
> library called Javassist to patch/enhance the ImageJ1 code, and this
> process fails spectacularly (over 4000 lines of errors) under Java 9. So
> unfortunately, ImageJ2 is not usable with Java 9 yet.
>
> Let's try vanilla ImageJ1!
>
> java -jar /path/to/Fiji.app/jars/ij-1.51f.jar
>
> But on my system, that doesn't work either; I get:
>
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0x00007f020abed009, pid=3702, tid=3703
> #
> # JRE version: OpenJDK Runtime Environment (9.0) (build
> 9-internal+0-2016-04-14-195246.buildd.src)
> # Java VM: OpenJDK 64-Bit Server VM (9-internal+0-2016-04-14-195246.buildd.src,
> mixed mode, tiered, compressed oops, serial gc, linux-amd64)
> # Problematic frame:
> # C  [libjava.so+0x1d009]  JNU_GetEnv+0x19
>
> So it seems Java 9 still needs to bake for a bit longer.
>
> 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 Thu, Dec 15, 2016 at 10:45 AM, Mort, Richard <[hidden email]>
> wrote:
>
>> OK so if I use java9 I get:
>>
>> $ ./ImageJ-linux64
>> Unrecognized option: -Xincgc
>> Warning: falling back to System JVM
>> Unrecognized option: -Xincgc
>> Error: Could not create the Java Virtual Machine.
>> Error: A fatal exception has occurred. Program will exit.
>>
>> Is anybody successfully using Fiji with Java9 on linux?
>>
>> Dr. Richard Mort
>> Lecturer in Biomedicine
>>
>> B088a Furness Building
>> Division of Biomedical and Life Sciences
>> Faculty of Health and Medicine
>> Lancaster University
>> Bailrigg
>> Lancaster.
>> LA1 4YG, UK.
>>
>> Phone: 015245 95 803
>> Email: [hidden email]<https://link.nylas.com/link/f8zr9ittg
>> tx5wdcoz6whd7t9/local-8c2ff1e9-8268/0?redirect=mailto%3Ar.
>> mort%40lancaster.ac.uk>
>>
>>
>> On Dec 14 2016, at 4:04 pm, Curtis Rueden <[hidden email]> wrote:
>>
>> Hi Richard,
>>
>> Ah, sorry, I missed the code in your original post.
>>
>> You can verify that ImageJ is using Java 9 by following these
>> instructions:
>> http://imagej.net/Troubleshooting#Checking_the_Java_version
>>
>> It looks like you wrote "--java_home" instead of "--java-home" (i.e.,
>> underscore instead of dash), so perhaps that is your problem.
>>
>> That said, I have not tested it myself, so it still might not solve it...
>> either way, would be nice to hear back on this thread about how things go!
>>
>> 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, Dec 14, 2016 at 3:52 PM, Richard Mort <[hidden email]>
>> wrote:
>>
>> > Hi Curtis,
>> >
>> > It didn't seem to work for me (see code in my post) but maybe this is my
>> > ignorance about how to specify a java version on launch. Does someone
>> have
>> > a custom launch script for doing this on Linux?
>> >
>> > Best
>> >
>> > R
>> >
>> >
>> >
>> > On 14/12/16 11:35, Curtis Rueden wrote:
>> >
>> >> Hi Richard, Stephan & everyone,
>> >>
>> >> Java 9 has HiDPI support out of the box. Give it a try! At least one
>> user
>> >> reports that it fixes the issue, at least on Win10 [1].
>> >>
>> >> Regards,
>> >> Curtis
>> >>
>> >> [1]
>> >> http://forum.imagej.net/t/how-to-increase-the-gui-font-size/
>> >> 552/4?u=ctrueden
>> >>
>> >> --
>> >> 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, Dec 14, 2016 at 10:52 AM, Saalfeld, Stephan <
>> >> [hidden email]> wrote:
>> >>
>> >> I would also be interested in a solution. Found none so far except
>> >>> that I bought reading glasses...
>> >>>
>> >>> Best,
>> >>> Stephan
>> >>>
>> >>>
>> >>>
>> >>> On Wed, 2016-12-14 at 09:29 +0000, Mort, Richard wrote:
>> >>>
>> >>>> Hi All,
>> >>>>
>> >>>> I wonder has anyone solved the problem of dpi scaling on hi
>> >>>> resolution screens (I know this is really a java issue)? I'm on a
>> >>>> dell xps 13 with Ubuntu linux 16.04. ImageJ is tiny unless I change
>> >>>> my screen resolution. I have tried:
>> >>>>
>> >>>> Packaged java:
>> >>>>
>> >>>> ./ImageJ-linux64 -Dsun.java2d.dpiaware=true
>> >>>>
>> >>>> Java-9:
>> >>>>
>> >>>> ./ImageJ-linux64 --java_home /usr/lib/jvm/java-9-oracle
>> >>>> -Dsun.java2d.dpiaware=true
>> >>>>
>> >>>> Any suggestions?
>> >>>>
>> >>>> --
>> >>>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>> >>>>
>> >>> --
>> >>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>> >>>
>> >>> --
>> >> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>> >>
>> >
>> > --
>> > Dr. Richard Mort
>> > Lecturer in Biomedicine
>> >
>> > B088a Furness Building
>> > Division of Biomedical and Life Sciences
>> > Faculty of Health and Medicine
>> > Lancaster University
>> > Bailrigg
>> > Lancaster.
>> > LA1 4YG, UK.
>> >
>> > Phone: 015245 95 803
>> > Email: [hidden email]
>> >
>> >
>> > --
>> > ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>> >
>>
>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>
>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>
>
>

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