Class not found errors
Michael Pritt
michael.pritt at westringtechnologies.com
Wed Apr 10 18:11:16 UTC 2019
I'm running icedtea-web on my windows box and I get a bunch of errors with class not found exceptions. I've looked on the internet and noticed another person posting the same problem. How can I not receive these errors and could they possibly interfere and cause the security problems I'm having where my application is always running sandboxed?
Here is the link to the problem as described in stackoverflow:
https://stackoverflow.com/questions/55551937/icedtea-web-start-wants-to-load-non-existing-classes-ending-with-beaninfo-or
thanks
-----Original Message-----
From: distro-pkg-dev [mailto:distro-pkg-dev-bounces at openjdk.java.net] On Behalf Of Jiri Vanek
Sent: Tuesday, April 9, 2019 4:04 AM
To: Christian Svedin <christian.svedin at idainfront.se>; distro-pkg-dev at openjdk.java.net
Subject: [EXTERNAL] Re: IcedTea-Web: Building a portable rust-launcher on windows
On 4/9/19 7:26 AM, Christian Svedin wrote:
> If someone else is having the same problem, here is how i solved it:
> I got an executable statically linked against the runtime by adding to
> to my .cargo/config file
>
> [target.x86_64-pc-windows-msvc]
> rustflags = ["-C", "target-feature=+crt-static"]
Thank you very much for the info.
>
> On Wed, 2019-04-03 at 14:45 +0200, Jiri Vanek wrote:
>> On 4/3/19 2:36 PM, Christian Svedin wrote:
>> I have built icedtea-web locally on windows from the icedtea-web-1.8-branchpoint tag.
>> I get a rust-launcher that's 370 kB big, compared to the one in the
>> msi package for your 1.8 release which is about 10 times bigger.
>>
>> My guess is that mine is dynamically linked and yours is statically
>> linked. On some machines I get errors about missing vcruntime-libraries.
>>
>> Likely. Up to now, I thought rust is not (currently) capable of dynamic linking.
>>
>> Are there any flags I should use when building, or do I need to
>> install anything to get statically linked .exe files?
>>
>> Nothoing I know about. On both win and linux I run just cargo build. See makefiles.
>> Maybe I should use another version of the rust compiler or cargo? I
>> have rustc version 1.31.1 and cargo version 1.31.0
>>
>>
>>
>> --
>>
>> Ida Infront
>>
>> Christian Svedin
>> Systemutvecklare
>>
>> Ida Infront AB | Box 576 | SE-581 07 Linköping | Sweden mobile 0702
>> 09 22 40 | direct 013 37 37 47 e-mail christian.svedin at idainfront.se
>> <mailto:christian.svedin at idainfront.se> | web www.idainfront.se
>> <http://www.idainfront.se>
>>
>>
>>
>>
> --
>
> Ida Infront
>
> Christian Svedin
> Systemutvecklare
>
> Ida Infront AB | Box 576 | SE-581 07 Linköping | Sweden mobile 0702 09
> 22 40 | direct 013 37 37 47 e-mail christian.svedin at idainfront.se |
> web www.idainfront.se
>
--
Jiri Vanek
Senior QE engineer, OpenJDK QE lead, Mgr.
Red Hat Czech
jvanek at redhat.com M: +420775390109
More information about the distro-pkg-dev
mailing list