You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Nicolas Roduit <ni...@mycable.ch> on 2012/02/16 22:05:52 UTC

Native bundles cannot be installed on Windows Server 2008 r2

Hi,

  The java os.name returns "Windows Server 2008 R2" on R2 system. 
"osname=win32" in the Bundle-NativeCode entry doe not work. This osname 
alias needs to be added to the framework.

There is a workaround, just add
   osname="windows server 2008 r2";
after
   osname=win32;
in the Bundle-NativeCode entry.

Best,

Nicolas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Native bundles cannot be installed on Windows 8

Posted by "Richard S. Hall" <he...@ungoverned.org>.
On 1/20/13 05:44 , Nicolas Roduit wrote:
> Hi,
>
> We distribute an application that contains some native decoders. This 
> application is given to patients on removable devices. It is an issue 
> on Windows system because Felix framework can only install native 
> libraries on known systems (hard coded).
>
> I think it would be better to consider that Windows is a win32 system 
> with some exceptions, like Windows CE or Windows RT (but still no JVM 
> available and runs on ARM processor).
>
> I opened an issue that contains a patch 
> https://issues.apache.org/jira/browse/FELIX-3844 (see second comment).
>
> In that way, it would possible to install a win32 lib on future 
> Windows systems without explicitly naming it  (e.g. osname="windows 
> 8";) in pom.xml, inside Bundle-NativeCode tag. It will be enough to 
> have "osname=win32;".

We'd probably be better off just making the list of known OSes a 
configuration property or something, so people could just fix it with a 
configuration property.

-> richard

>
> Best,
>
> Nicolas
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Native bundles cannot be installed on Windows 8

Posted by Nicolas Roduit <ni...@mycable.ch>.
Hi,

We distribute an application that contains some native decoders. This 
application is given to patients on removable devices. It is an issue on 
Windows system because Felix framework can only install native libraries 
on known systems (hard coded).

I think it would be better to consider that Windows is a win32 system 
with some exceptions, like Windows CE or Windows RT (but still no JVM 
available and runs on ARM processor).

I opened an issue that contains a patch 
https://issues.apache.org/jira/browse/FELIX-3844 (see second comment).

In that way, it would possible to install a win32 lib on future Windows 
systems without explicitly naming it  (e.g. osname="windows 8";) in 
pom.xml, inside Bundle-NativeCode tag. It will be enough to have 
"osname=win32;".

Best,

Nicolas



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Native bundles cannot be installed on Windows Server 2008 r2

Posted by "Richard S. Hall" <he...@ungoverned.org>.
If you could open an issue for this against framework, it would be 
easier to track...

Thanks.

-> richard

On 2/16/12 16:05 , Nicolas Roduit wrote:
> Hi,
>
>  The java os.name returns "Windows Server 2008 R2" on R2 system. 
> "osname=win32" in the Bundle-NativeCode entry doe not work. This 
> osname alias needs to be added to the framework.
>
> There is a workaround, just add
>   osname="windows server 2008 r2";
> after
>   osname=win32;
> in the Bundle-NativeCode entry.
>
> Best,
>
> Nicolas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org