Tim:

I comprehend that creating those directories in the wrong place may have
unintended consequences, but is the application functioning as anticipated?

Thanks

Velusamy K. Velu
(614) 323-9649
<https://peruselab.com>  <https://www.linkedin.com/company/peruselab/>
<https://twitter.com/PeruseLab>  <https://www.facebook.com/PeruseLab/>


On Thu, Feb 1, 2024 at 12:36 PM Tim Dudgeon <tdudgeon...@gmail.com> wrote:

> No exceptions seen.
> Seems to be a problem with $HOME not being defined in the container
> (thanks John for the pointers). Why on earth it creates a dir named ? I
> can't understand.
> Yes, clearly the dir name in the subpath is the JDK version.
> In this scenario I'm not using Tomcat, just a Java CLI executed within a
> Docker container.
>
>
> On Thu, Feb 1, 2024 at 5:26 PM Velusamy Velu <kool.v...@gmail.com> wrote:
>
>> [image: image.png]
>>
>> Are any exceptions recorded? What is the significance of the 11.0.16
>> directory? Given John's provided directory structure (shown below), I
>> presume it denotes the Java runtime version, specifically 11.x. Is JDK 11.x
>> compatible with the CDK version utilized by Tim? I recall encountering
>> issues with font metrics computation when CDK 2.9 was employed alongside
>> JDK versions equal to or greater than 11.x. This was rectified by reverting
>> the Tomcat application server to JDK 1.8.
>>
>> [john@??? ~]$ find ~/.java
>> /home/john/.java/fonts
>> /home/john/.java/fonts/*1.8.0_102*
>>
>> /home/john/.java/fonts/1.8.0_102/fcinfo-1-hal-RedHat-7.1.1503-en.properties
>> /home/john/.java/fonts/1.8.0_45
>> /home/john/.java/fonts/1.8.0_45/fcinfo-1-hal-RedHat-7.6.1810-en.properties
>>
>> Thanks
>>
>> Velusamy K. Velu
>> 614-323-9649
>> <https://peruselab.com/>  <https://www.linkedin.com/in/vkvelu/>
>> <https://twitter.com/PeruseLab>  <https://www.facebook.com/PeruseLab/>
>>
>>
>> On Thu, Feb 1, 2024 at 11:08 AM John Mayfield <
>> john.wilkinson...@gmail.com> wrote:
>>
>>> Just checked on a linux server and I see the directories.
>>>
>>> [john@??? ~]$ find ~/.java
>>> /home/john/.java/fonts
>>> /home/john/.java/fonts/1.8.0_102
>>>
>>> /home/john/.java/fonts/1.8.0_102/fcinfo-1-hal-RedHat-7.1.1503-en.properties
>>> /home/john/.java/fonts/1.8.0_45
>>>
>>> /home/john/.java/fonts/1.8.0_45/fcinfo-1-hal-RedHat-7.6.1810-en.properties
>>>
>>> On Thu, 1 Feb 2024 at 16:05, John Mayfield <john.wilkinson...@gmail.com>
>>> wrote:
>>>
>>>> I don't think you can stop it creating the file:
>>>> https://habr.com/en/articles/735688/.
>>>>
>>>> Make sure you have a home directory and make sure the docker container
>>>> has some fonts installed (see the cdk/depict Docker for an example).
>>>>
>>>> On Thu, 1 Feb 2024 at 16:03, Tim Dudgeon <tdudgeon...@gmail.com> wrote:
>>>>
>>>>> Yes, gradle is the build system. But at runtime there should be no
>>>>> Gradle involved.
>>>>>
>>>>> On Thu, Feb 1, 2024 at 4:02 PM Tim Dudgeon <tdudgeon...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Yes, I'm sure it's Java creating it.
>>>>>> I'm just using the DepictionGenerator from compiled Java code that is
>>>>>> run from in a Docker container.
>>>>>>
>>>>>> On Thu, Feb 1, 2024 at 3:59 PM John Mayfield <
>>>>>> john.wilkinson...@gmail.com> wrote:
>>>>>>
>>>>>>> How are you running it? We don't create it explicitly but likely in
>>>>>>> the depths the JVM to support the font metrics needed to generate a
>>>>>>> depiction.
>>>>>>>
>>>>>>> John
>>>>>>>
>>>>>>> On Thu, 1 Feb 2024 at 15:43, Tim Dudgeon <tdudgeon...@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> I'm seeing a strange issue with a directory named ? (yes, that's a
>>>>>>>> question mark) when I run code that uses DepictionGenerator. This 
>>>>>>>> seems to
>>>>>>>> contain font information.
>>>>>>>>
>>>>>>>> [image: image.png]
>>>>>>>>
>>>>>>>> I'm blaming DepictionGenerator because I can't see what else could
>>>>>>>> be doing this, but I could of course be wrong.
>>>>>>>>
>>>>>>>> Any idea why this is happening and suggestions for how to prevent
>>>>>>>> it from happening?
>>>>>>>> Of course now I know about it I can delete it afterwards, but ...
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>> Tim
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Cdk-user mailing list
>>>>>>>> Cdk-user@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/cdk-user
>>>>>>>>
>>>>>>> _______________________________________________
>>> Cdk-user mailing list
>>> Cdk-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/cdk-user
>>>
>> _______________________________________________
> Cdk-user mailing list
> Cdk-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cdk-user
>
_______________________________________________
Cdk-user mailing list
Cdk-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to