Skip to main content



      Home
Home » Archived » BIRT » Finding out operating system
Finding out operating system [message #256674] Mon, 01 October 2007 15:33 Go to next message
Eclipse UserFriend
Hi,

Is there a way I can find out which operating system the reporting engine is
running inside the script?

Thanks
Bidyut
Re: Finding out operating system [message #256704 is a reply to message #256674] Tue, 02 October 2007 01:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: firstname.lastname.napa.fi

On Mon, 01 Oct 2007 22:33:13 +0300, Bidyut Pattanayak <bidyut@yahoo.com>
wrote:

> Is there a way I can find out which operating system the reporting
> engine is running inside the script?

You can call methods in Java classes, so you can use
System.getProperty("os.name")

Like this:

Packages.java.lang.System.getProperty("os.name")



-Antti-
Re: Finding out operating system [message #256890 is a reply to message #256704] Wed, 03 October 2007 10:20 Go to previous message
Eclipse UserFriend
Thanks.


"Antti Karanta" <firstname.lastname@napa.fi> wrote in message
news:op.tzj0uyt463e0vv@nw17.napa.fi...
>
> On Mon, 01 Oct 2007 22:33:13 +0300, Bidyut Pattanayak <bidyut@yahoo.com>
> wrote:
>
>> Is there a way I can find out which operating system the reporting
>> engine is running inside the script?
>
> You can call methods in Java classes, so you can use
> System.getProperty("os.name")
>
> Like this:
>
> Packages.java.lang.System.getProperty("os.name")
>
>
>
> -Antti-
Previous Topic:EJB and Report Engine
Next Topic:Dynamic columns for table
Goto Forum:
  


Current Time: Sun May 11 17:52:14 EDT 2025

Powered by FUDForum. Page generated in 0.03429 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top