How to get version of XDK being used

Is there a programmatic way of retrieving the version of the XDK being used?

You can call getReleaseVersion() on DOMParser.

Similar Messages

  • How to verify version of SDK being used

    Hi, I just installed the Studio Creator a few days ago. I'm new to Java, and in my first Java class they have us using JCreator, and I never had any problems with that. But now, I seem to be having a problem with the printf function that I wasn't having in JCreator. I've read up on it, and understand that a lot of the printf problems were caused by having the wrong platform version installed, but I have the most recent update and am still getting the printf error. As it seems to be related specifically to the Studio Creator I put it here. I can't figure out how to 1) verify the platform version that Studio Creator may be referencing and 2) How to update it.
    Just to give some background on the error, here is the basic program that I was trying out just to make sure it worked:
    public class GradeBook {
    /** Creates a new instance of GradeBook */
    public void displayMessage(String courseName){
    System.out.printf("Welcome to the gradebook for\n%s!",
    courseName);
    }//end method displayMessage
    }//end class GradeBook
    The error occurring here is:
    Cannot find Symbol
    symbol  : method printf(java.lang.String,java.lang.String)
    location: class java.io.PrintStream
    System.out.printf("Welcome to the gradebook for\n%s!",
    *1 error*
    Sun creator seems to be reading the Java 2 Platform Standard Edition 5.0. At least that's what comes up when I look at Dynamic Help. When I looked up the printf method there, it appears that there is no method that just accepts a single string, or even seems to work anything like the printf method in JCreator.
    Here is the Test program that I was using to call it.
    import java.util.Scanner;
    public class GradeBookTest {
    //main method begins program execution
    public static void main( String args[]){
    /** Creates a new instance of GradeBook*/
    Scanner input = new Scanner (System.in);
    GradeBook myGradeBook = new GradeBook();
    System.out.println("Please enter the course name: ");
    String nameOfCourse = input.nextLine();
    System.out.println();
    //call myGradeBook's displayMessage method
    myGradeBook.displayMessage(nameOfCourse);
    If this needs to be in a different area or if I left out some pertinent information, please tell me. I'm genuinely stumped. Thanks.

    In the main menu go to Help -> About
    In the About window click on 'Details' tab. You'll see the Java version listed. You'll also see the Java Home variable value.
    To add another Java version:
    Right click on the Project node -> Properties . In the properties window select libraries node. You'll see Java Platform dropdown list. You can choose another another Java version here. If the list does not show the java version you are looking for, click the Manage Platform button, and then Add Platform. (Ofcourse you need to have ther version of Java you want to use already installed on your computer first)
    Radhika
    http://blogs.sun.com/Radhika

  • I have I-phone 5 with 15GB. I currently have used 12.8 GB. I get error message that storage is almost full, go to setting and mymail is 5.7 GB. Can that be how alot of my storage is being used? If so or not any advise?

    I have I-phone 5 with 15 GB. I currently have used 12.8 GB. I get error message that storage is almost full, I go to setting and my mail is using 5.7 GB. Can that be how alot of my storage is being used? If so or not any advise?

    caek1 wrote:
    Hi,
    I'm trying to change email address on my Apple ID since the email registered for the account has been hacked and I can't access it anymore. The email I want to change to is connected to another Apple ID I created about 4 years ago, though I successfully changed the email on that account as well. So the email I would like to use for my main Apple ID shouldn't be "locked" anymore.
    Though, when trying to change the email on my Apple ID I get an error message (in Swedish, so this is a direct translate from google): "This e-mail address is your email address for notification. It can not be used as the Apple ID or primary email. Choose a different address."
    I'm not really sure what this means or how I can fix this.
    It means exactly what it says... The email Address is in Use. You cannot re-use it.
    Apple ID Support  >  http://www.apple.com/support/appleid/

  • When I open a pdf file, after a few seconds, it hides the toolbar and I don't know how to get it back.  I use multiple monitors and, without being able to grab the toolbar, I am unable to move the pdf file to a different monitor.  How do I stop this?

    When I open a pdf file, after a few seconds, it hides the toolbar and I don't know how to get it back.  I use multiple monitors and, without being able to grab the toolbar, I am unable to move the pdf file to a different monitor.  How do I stop this?

    Does Firefox switch to full screen if you press F11 ?
    You can also try the F10 key to see if that brings up the menu bar.
    * If the above steps didn't help then see http://kb.mozillazine.org/Corrupt_localstore.rdf
    Note: Do not delete localstore.rdf in the program folder (Windows: "C:\Program Files\Mozilla Firefox\defaults\profile\") (Mac: "/Applications/Firefox.app/defaults/profile/")

  • I have a iPhone 4 and all of a sudden when I answer a phone call the person on the other end can't hear me ???? I can hear them , so I've had to put it on speaker for all my calls - ? Any tips on how to get it back to being able to speak normally

    I have a iPhone 4 and all of a sudden when I answer a phone call the person on the other end can't hear me ???? I can hear them , so I've had to put it on speaker for all my calls - ? Any tips on how to get it back to being able to speak normally

    Morning Lupoipia,
    Thanks for using Apple Support Communities.
    If you can't be heard by someone who is calling, take a look at this article:
    iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/TS1630
    Best of luck,
    Mario

  • 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 string

    Why 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 update version of XDK on Oracle 8.1.7.4

    Please suggest how to update version of XDK on Oracle 8.1.7.4 or it's impossible?

    I am don't know where to see version of XDK on Oracle 8.1.7.4?
    on Oracle 10.1.0.2.0 it is possible in view dba_registry by query
    select * from dba_registry where comp_id = 'XML';
    but i could not get result on Oracle 8.1.7.4
    I will thanks if you suggest how to see it.
    My goal to update xmlparser as current version of it can't parse
    tag of national symbols.

  • How to know which port is being used by which process

    Hi,
    Could you please tell me how to know which port is being used by which process.as iam getting ports are already in use.
    Thank you,
    Sravan
    Message was edited by:
    sravan123

    Your OS might provide a command to support this question like '"netstat".
    Besides, on Unix the pseudo-file system /proc is also useful.

  • How to get resultset from oracle procedure use ejb3

    how to get resultset from oracle procedure use ejb3
    i know oracle procedure should like this
    Create or replace PROCEDURE resultset_test(
    aaa IN NUMBER,
    bbb OUT sys_refcursor) ....
    but what s the ejb3 scripts looks like? please give me an example or link~
    ths

    - there are no EJB3 scripts, only compiled application code
    - the part of the EJB spec that deals with databases is called the Java Persistence API, but likely you are just looking for the JDBC API.
    Now you should know what to Google to get your "example script": "java jdbc oracle procedure"

  • How to get Default Activity(Infotype 0315) using BAPI

    Hi Everyone,
    I have a task to get Default Activity by Personal number for my third party application. Unfortunately function HR_READ_INFOTYPE is not allowed for Remote Call.
    Is there any simple way how to get this value from system using BAPI? E.e. using RFC_READ_TABLE function(but i don't know table name ).
    Thanks,
    Roman.

    Table -> PA0315        Field ->LSTAR (Activity Type)
    Class :CL_HRPT_INFOTYPE_0315
    You can also use FM "CATS_GET_INFOTYPE_0315" RFC Enable
    Good luck !
    ~Saquib

  • How to get version 6.1

    How to get version 6.1 ?

    Yes there is.
    The iOS update 6.1 includes upgrades to the protocol for LTE/4G which is in Denmark.
    The people who bought an subscription with 4G/LTE have to wait for the iOS 6.1 update to get acces to it.

  • How to get version of JRE on current machine in programming

    Hi, all
    Please help me how to get version of JRE on current machine,
    thanks many

    depending on what exactly you want to know:
    System.getProperty("java.version")
    System.getProperty("java.vendor")
    System.getProperty("java.vm.version")
    System.getProperty("java.vm.vendor")
    System.getProperty("java.vm.name")
    Nick.

  • I have more than one version of GR5 on my mac. How do I know which is being used by logic 9?

    Hi, I'm new to logic pro and would realy appreciate some help. I have several versions of guitar rig 5 on my mac. How do I find out which one is being used in logic.
    I looked in plugins and see a version that is only 109 mb but I have another that is over 500 mb on my desktop. Can I just drag and drop this into plugins folder?
    Sorry if I seem a bit stupid but I can't make out what is being used as the one called up in logic seems to be the full version.
    Thanks

    The presets from earlier versions of GR should all be in the same place anyhow.. so reinstalling GR5 into it's correct locvation shouldn't affect anything regarding those other presets. In fact, as far as I can recall.. GR5 should ask if you want to import older presets when you first run GR5 standalone (The app version of GR5 in your applications folder) after install....
    Then those same presets should be present in in the AU version of GR5....
    Also GR4 (So long as you updated it to the latest version via the Service Center) should also continue to work with Logic Pro anyhow.. and load when you load an older project which used that version....
    Finally, any version you may have installed elsewhere.. won't work with Logic Pro because LP uses the AU Component version that is installed by the NI installer and therefore located in your components folder...  Those other versions are more likely to be copies of the standalone version.. which LP9 doesn't use.

  • I have downloaded version 4.0 but my current 3.16 version is still being used .how do i switch to the new version on my mac10.6

    i have a mac 10.6 and use firefox 3.16. i have just downloaded an updated version 4.0 which is in the down load folder but the version i am still using is the previous one . how do i use the latest version. i am a new user of apple mac.

    https://support.mozilla.com/en-US/kb/Installing+Firefox+on+Mac

  • Q1. How to get version of runtime libraries

    Hi,
    I am not a developer but this seems like the best place to ask this question.
    I want to find out what version of the Sun C++ runtime libraries are being used on a machine. They are using the runtime version (there is no compiler installed). The SUNW* directories that are under /opt are:
    SUNWexplo
    SUNWconn
    SUNWebnfs
    SUNWits
    SUNWrtvc
    SUNWspro
    Which command do I need to run against what to find the version? I want to find out if they are using 5.0, 5.5 or 5.7.
    Thanks in advance,

    You need to know exactly which libraries are in linked => use ldd on the executable.
    Normally, /usr/lib/libCrun.so.1 (and /usr/lib/libCstd.so.1 if any of the standard library is used) are the ones that get linked.
    However, depending on how the application was built and some environment variables (LD_PRELOAD, LD_LIBRARY_PATH) it is possible for applications to use other versions of these files.
    In the standard case, the C++ runtime libs are in the packages SUNWlibC (and SUNWlibCx for 64bit) => pkgchk -l -p /usr/lib/libCstd.so.1 to see which package the lib is in
    To see which patch is applied, try
    showrev -p | grep libC
    This should show something like
    Patch: 108434-10 Obsoletes: Requires: 109147-07 Incompatibles: Packages: SUNWlibC
    Patch: 108435-10 Obsoletes: Requires: 108434-10 Incompatibles: Packages: SUNWlibCx
    Lastly, you could try
    elfdump -v /usr/lib/libCrun.so.1
    which will show you some version info (which should match what ldd indicates the application needs)
    Paul

Maybe you are looking for

  • MSI 785GM-E51 no post issues

    I can't get this board to display anything and I get no beeps. CPU is Phenom ii x2 550 and memory is 2x2gb Elipda PC3 10600 EBJ21UE8BDF0-DJ-F. Power supply is a 380w Earthwatts but I also tried another one with the same issues. The thing is that when

  • Open a parameter report by clicked event

    Hi friends I created a parameter report in oracle portal 10g. Do we have some way to pass a parameter and open this report in code ? or by clicked event? It seems that we have not ability to use a link to do by a clicked event in oracle portal applic

  • How to cancel print job with control panel on HP8610

    Is there a way to cancel a print using the control panel of the HP8610 rather than using task manager? This question was solved. View Solution.

  • Increase CalcLockBlock setting

    I am receiving the following error message when drilling down on an ad hoc report, or generating various reports. Dynamic Calc processor cannot lock more than [50] ESM blocks during the calculation, please increase CalcLockBlock setting and then retr

  • Uploading pattern in smartforms

    Hi gurus, How can I upload my customized pattern in smartforms. I want to put lines in the table, and none of the patterns defined in smartforms meets my requirement. How to create dynamic vertical lines in main windows. I need lines in some of the c