How to get which JRE version is used during runtime?
Hi.
I want to know in my application which JRE version the user is using. Is there some method in Properties Object?
Thank you in advance
System API tells all...
"The current set of system properties for use by the getProperty(String) method is returned as a Properties object. If there is no current set of system properties, a set of system properties is first created and initialized. This set of system properties always includes values for the following keys: "
Key Description of Associated Value
java.version Java Runtime Environment version
Similar Messages
-
How to find out jre version installed ,using a java program?
Hello,
Is there any way to find out the installed JRE version using a java program ?
The requirement is as follows:
There is a html page with 4 steps to install a software. each step is a link, which upon clicking does its work.
the first step is to install jre 1.4.2_11 if its not installed in the system. But how can i find out whether jre 1.4.2_11 is installed or not ?
Thanks in advanceFor the hell of it... here is a list of properties you can query:
java.version Java Runtime Environment version
java.vendor Java Runtime Environment vendor
java.vendor.url Java vendor URL
java.home Java installation directory
java.vm.specification.version Java Virtual Machine specification version
java.vm.specification.vendor Java Virtual Machine specification vendor
java.vm.specification.name Java Virtual Machine specification name
java.vm.version Java Virtual Machine implementation version
java.vm.vendor Java Virtual Machine implementation vendor
java.vm.name Java Virtual Machine implementation name
java.specification.version Java Runtime Environment specification version
java.specification.vendor Java Runtime Environment specification vendor
java.specification.name Java Runtime Environment specification name
java.class.version Java class format version number
java.class.path Java class path
java.library.path List of paths to search when loading libraries
java.io.tmpdir Default temp file path
java.compiler Name of JIT compiler to use
java.ext.dirs Path of extension directory or directories
os.name Operating system name
os.arch Operating system architecture
os.version Operating system version
file.separator File separator ("/" on UNIX)
path.separator Path separator (":" on UNIX)
line.separator Line separator ("\n" on UNIX)
user.name User's account name
user.home User's home directory
user.dir User's current working directory -
DW CS3 - How to determine which CSS stylesheet to use at runtime ?
I'm building a website that can be used by different
companies. I want to use CSS so that when a user from Company_123
logs in, then they see a website in the style of Company_123's
corporate colours. However if a user from Company_ABC logs in, then
they see a website in the style of Company_ABC's corporate colours.
The site will potentially be used by dozens of different
companies so if possible I'd rather avoid having to implement a
sort of multiple "if company = 123 use this CSS, if company = ABC
use this CSS, etc, etc" at the top of every single web page I
produce.
Whats the best way to implement this ?
As far as I can see, when I create a new external CSS in DW
CS3, there is nothing dynamic in its title that allows anything to
be determined at runtime ?
Thanks in advance........Gav.Different sizes of what? If screens then it's a wasted
effort.... You can
know my screen size but you have no idea of my browser
viewport size.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"newlinp" <[email protected]> wrote in
message
news:fvsa5b$87o$[email protected]..
>I would suggest using a stylesheet switcher...
>
>
http://www.alistapart.com/stories/alternate/
>
> Ive used it at
http://churchillretirement.co.uk
website to switch CSS for
> different sizes - I reckon you could do much the same
here..
> -
How to get the name of the ApplicationServer during runtime
Within a Servlet or JSP, I'm trying to programmatically get the name of the JVM (AppServer) where the code (war or ear) is deployed and running under.
(This is like getting "server1" when using WSAD).
I tried the System, Runtime and Thread approaches with no luck.. any ideas??
Thanks.
Example:
If I have 2 AppServers created: Server1 and Server2
The ear could be deployed to either, but I want to show to the user if he/she is pointing to Server1 or Server2.do you want to get the defined length of the field right.
i.e
itab-field1(10) .
and not the length of the value in the itab.
one of the ways is to use the following FM
move: sy-repid to wf_repid ,
'INT_OUTPUT' to int_tab_name .
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
exporting
i_program_name = wf_repid
i_internal_tabname = int_tab_name
* I_STRUCTURE_NAME =
* I_CLIENT_NEVER_DISPLAY = 'X'
i_inclname = wf_repid
i_bypassing_buffer = 'X'
* I_BUFFER_ACTIVE =
changing
ct_fieldcat = wf_fld_cat[]
exceptions
inconsistent_interface = 1
program_error = 2
others = 3
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
which would give you all the field definitions of your itab.
Raja -
How to get visibility information on a view during runtime?
Dear experts,
I want to trigger an event, just when a view becomes invisible.
Is there a possibility to get the visibility information in theWDDOmodify method e.g?
kind regards,
SahlaHello Pooja,
The WDDOEXIT of the view will only be used when the whole application is exit ( on browser refresh).
It is not called when just the POWL refresh is selected.
I tried to set breakpoints in all componentcontroller, window and view hook methods to find out which method is called only when the details view is not visible. But I couldn't figure it out.
The wddomodify of the view is called, but I cannot get any visibility information there.
the WDDOAFTERACTIOM of the view is called, but the refrence to the actions is always initial. I cannot decide whether refresh has been selected or another UI action.
The WDDOCLOSE of the window is not entered when the POWL_DETAIL window becomes invisible.
The details view and all related controller are initialized once and they live during the whole session.
Their hook methods are called even if the view is not visible.
The cleanest way to solve this problem is to trigger a portal event from the get_objects method.
But this is now not avaiable.
I tried up to now to use WD features as a workaround. But I coudlb't find the right feature to use..
kind regards,
Sahla. -
How to get all previous versions page contents and other field values of a publishing page using SharePoint Client Object Model 2010?
Thanks,
OsmitaHi Osmita,
Greetings.
Here are the links that helps you. It has code attached to it.
http://social.technet.microsoft.com/Forums/sharepoint/en-US/a0d2ab40-99ba-4368-8505-1dc559ef6469/get-content-of-previous-version-of-page-sharepoint-2010?forum=sharepointgeneralprevious
http://social.technet.microsoft.com/Forums/sharepoint/en-US/faaf419f-997e-4150-9911-48cc375c3b46/how-to-get-previous-published-versions-of-publishing-pages-in-sharepoint-2010?forum=sharepointdevelopmentprevious
Please remember to click 'Mark as Answer' on the answer if it helps you -
How to get which query is using by reports using OEM
Hi,
can any one help me how to get the queries whcih are used by reports by clent by using OEM. Its same like using profiler in sql server
Thanks in advance
Edited by: user8884944 on Nov 6, 2010 2:18 AMIn my installation , it is usually AQZZ"usergroup"========QUERYNAME======
You could see if you have a user group 'MM' or '10MM' in SQ03 and set the user group if available.. then in SQ01, see if you have a query called Z6
Also try out this function module RSAQ_DECODE_REPORT_NAME to see if it would give you the user group and query name... -
How to get the last version of flash in MSI format automatically?
How to get the last version of flash in MSI format automatically?
Roberto Neigenfind
Bravo Tecnologia
www.bravotecnologia.com.brHi Barbara,
Flash Professional CS5.5 is a 32-bit application which can be installed on computers with either 32-bit or 64-bit operating systems.
You can purchase this by Adobe's backward Licensing policy :
" Adobe allows program members to order a current-version license but use a prior version. These members can contact Adobe Customer Service to request a serial number for the earlier version if they do not already have one. Prior-version software is available via ESD and can be purchased through standard resellers. The program member must follow all guidelines of the current-version EULA. "
Please check the doc : http://www.adobe.com/volume-licensing/policies.html -
How to get inputtext's inputvalue by using javascript
how to get inputtext's inputvalue by using javascript?
and how to judge whether its be filled or empty stringWhy do you want to use javascript..? Why not action listener..? You can check whether its an empty string by checking
if(str != null && !str.equals("")) {..}
where str is the variable for inputText value.
If this is not helpful, do provide more details on which version of JDev you are using and what are you trying (your usecase).
regards,
~Krithika -
How to get current/present version guid from CRMD_ORDERADM_H ?
Hi,
Can any one tell me how to get the current version guid value from CRMD_ORDERADM_H table for Business Object type 'BUS2000113' .
For example for one contract if we have more than one version then how to get the latest version guid from this table?
If I use FM ' BBP_PD_CTR_GETDETAIL' and in version table how to know which one is the latest/current version?
Need information for versions.
Thanks a lot.
Kevin.Hello Kevin,
In FM <b>' BBP_PD_CTR_GETDETAIL'</b> look at version table <b>E_VERSION</b> - Here you can check 'VERSION_' or there is another field 'CREATED_AT' - by using these you will get latest version.
Regards,
Shiv -
How to get the original version of Web report in BW ?
Hello Friends ,
I have transported one Web report from BW development to BW Production System.
But unfortunately , the desired result not me met .
So I have been asked to keep the original version of the Web report.
As the new version of Web report has replaced the previous one ,
So could anybody tell me how to get the original version of Web report in BW ?
Many thanks in advance !!!!!!!!Hi,
You can use the Transaction STMS choose the option "Import Overview" . In the GOTO tab select "History" and choose "Import History".
Here you can find the history of requests imported to the prod system.
Regards,
K.Manikandan. -
How to get the detailed version of ORACLE?
hi,
the version of Oracle Enterprise Version is 9.2.0.2.0, recently I patched it to 9.2.0.6.0, and wanted to get the detailed version by using MetaData in OCCI, but what I got is still 9.2.0.2.0. how can I get the "9.2.0.6.0"?
thanks for your help!
scripts:
Environment env = Environment::createEnvironment(Environment::OBJECT);
Connection conn = env->createConnection("billing", "billing", "boss");
MetaData meta = conn->getMetaData("testdb", MetaData::PTYPE_DATABASE);
db_ver = meta.getString(MetaData::ATTR_VERSION);
cout << "database version: " << db_ver << endl;
sapI just patched client-side, not server-size. so I guess the returned value from MetaData::getString(MetaData::ATTR_VERSION) represents the server's version.
-
How to get the trial version of adobe access whether can protect content
i submit info in
https://www.adobe.com/cfusion/mmform/index.cfm?name=flash_access_trial_cert
but nobody contact me..
How to get the trial version of adobe access?
ThanksHello,
Apologies for that! Currently, Adobe is shut down for the holidays which is why you're seeing a delay. Adobe will resume work again on January 2nd.
If you can private message me your contact information, I can contact our sales team to make sure they are aware of your request.
Sent from my mobile,
/Eric -
How to identify Which function modules are used in the planning area?
Hi all,
there are couple of function module derviation is used to derive the calendar year, month, fiscal period etc.
But how to identify which function module is used in which planning area?
I cant find out from the where used list from function modules?
Thanks
poojaHi Pooja,
Go to characteristic relationship tab,click on detail icon on extreme left of the derivation,there you will get the name and the details of function module used for derivation.
Regards,
Indu -
How to query which Tcodes specified user used with one day?
Hi guys:
How to query which Tcodes specified user used with one day?Hi
You can use transaction code ST03N.
1. Go to tx code - ST03N
2. Under "Workload" you can select your "Instance or Total" so that it expands and shows you Days, Week, Month.
3. If you want to look at the transactions executed for a particular day, lets say, then double click on any day.
4. At the bottom left you get "Analysis Views"
5. Select & expand "User and Settlement Statistics"
6. Double click on "User Profile"
7. On the right side of the window you get a list of all the users
8. Double click on a particular user you want to view the details of.
9. The new screen will display the "Transactions/Reports Utilized by User XXX"
If you wanna track which users executed a particular transacation then follow this:
10. In "Analysis Views" expand "Transaction Profile"
11. Double click on "Standard"
You can view the list of Transactions and Reports.
12. Double click on the Tx Code or Report you wanna check and it will show the Use of it.
This will help you.
Regards
Sumit Jain
[reward with points if the answer is useful]
Maybe you are looking for
-
Is there any way to print frames to a printer for review?
Hi People, Flash is being used to develop our eLearning which needs to be reviewed during the development process. At the moment, we are doing screen caps from the final product, but I am wondering if we can print each frame directly from Flash. Can'
-
I updated my computer to Itune 11, did not like it, and uninstalled it exactly according to directions. I re-installed Itune10.7.021 for Windows 64bit, but now I keep getting the message "The file itunes library.itl cannot be read because it was cre
-
Voicemail alert through e-mail
Looked through the forum and could not find an answer. Is it possible to receive and e-mail when a new voicemail is left on my Iphone? I often don't have my phone with me but am near a PC and want to know when I receive voice messages. Thanks!
-
Can't get clipping paths to work in PhotoShop CS5?
I have been working with PS since ver 1. I have always used clipping paths to mask out areas without a hitch. Now, in CS5, it no longer works. I have read in the forums that I need to have the Pen tool - in the options area set to "Exclude Overlappin
-
Reset your Password again and again and again
I use Apple mail for email, it started with that asking me for all of a sudden (I have used it for years) what my outgoing password was put it in and of course it said it was wrong. Decided to use Verizon's webmail to get my mail same thing. Over t