Via system properties you can specify aliases for the OS and the processor of the environment on which the framework runs. These properties can be used for OS or processor checks of Bundle-NativeCode clauses in addition to the commercial OS and processor names, specified in the clause.
System property |
Description |
|---|---|
os.aliases |
Specifies the frequently used aliases for the operating system running the framework. Recommended OS alias values are described at http://www.osgi.org/Specifications/Reference. |
processor.aliases |
Specifies the frequently used aliases for the processor of the runtime environment. Recommended processor alias values are described http://www.osgi.org/Specifications/Reference. |
Examples for using the processor.aliases property:
If your target hardware has an Intel or AMD 32-bit processor you might need to set the property as follows:
set processor.aliases=pentium,i386,i486,i586,i686
If your target hardware has a processor with a 64 bit x86 architecture you might need to set the property as follows:
set processor.aliases=amd64,em64t,x86_64
Examples for using the os.aliases property:
If your target operating system is Windows 7 you might need to set the property as follows:
set os.aliases="Windows 7",Win7,Win32
If your target operating system is Windows XP you might need to set the property as follows:
set os.aliases="Windows XP",WinXP,Win32