Get jdk version throgh applet

hi
how can i determine which jdk version the browser is using from applet.i want to tell the user that if he is using jdk1.4 version than a message appears that this applet can be run on jdk1.3 or less.
Thanks

Like I said,I am not a big applet maker but I would
think this would cause a security exceptionI can't tell if this was a reply to my 2nd response, it seemed a little too quick. Anyway, if you didn't catch that, check here:
http://java.sun.com/docs/books/tutorial/applet/practical/properties.html
You can check the version with applets.

Similar Messages

  • Get Java Version from Applet to JSP

    Hi Forum!
    I am trying to collect client information with a jsp page and put the information into a html form.
    Besides the request information and some javascript screensize and flash version information I'd like to get the client's Java Version and Vendor with System.getProperty("java.version").
    I assume I can get this info only with an applet.
    How do I pass the Applet's version result to the JSP so I can view it with HTML and insert it into the form?
    Thanks a lot,
    Tom

    You would use liveconnect and the JSObject class to connect the Java code in the applet to JavaScript in the browser to populate the HTML:
    http://www.gsu.unibel.by/pub/javascript/ch19_06.htm
    http://www.apl.jhu.edu/~hall/java/JavaScript-from-Java.html

  • To get JRE or JDK version using Java Programs

    How do get JRE or JDK version using Java Programs?.
    Kindly Reply...
    By
    Mani

    If you're talking about current program's runtime environment (as opposed to all installed JDK/JRE) : System properties

  • To get JRE or JDK version in Programs

    How do get JRE or JDK version in Application Programming?. Kindly Reply...
    By
    Mani

    Hi Manivel.
    The System class has methods such as getProperties() and getProperty() that can be used to get almost any system info. To get the version of JRE, for example, you could use something like this:
    System.getProperty("java.version");
    Check the J2SE 1.5 API reference for more info. Use this URL to go directly to the API reference for the java.lang.System class:
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/System.html
    Hope this answers your question.
    By the way, this is the JDBC forum. In the future, please post such questions in the Java Essentials forum (http://forum.java.sun.com/category.jspa?categoryID=5) or the Core APIs forum (http://forum.java.sun.com/category.jspa?categoryID=32).
    Shakeel.
    :)

  • Java JDK Versions?

    I am installing 11g XE, Weblogic, Forms & Reports, and SQLDesigner for a class and I don't understand why it keep whining about needing obsolete JDK versions. We all know there was a big uproar over Java security issues over the past few years so I don't understand why this software would be complaining when I try to tell it to use the current JDK version. Isn't Java JDK always written to be backward compatible? What about the real installations of this software? Or is the JDK version irrelevant if the JRE is up to date?

    Hey guys,
    Sorry in advance if my question is a bit uncalled for in this thread.
    Somehow I have not managed to get the latest version of Java (1.6.0_31) installed on my MacBook.
    According to JavaTester.org I have version 1.6.0_29 which is confirmed by my Java Preferences Panel.
    The only 2 versions listed in the panel are 1.6.0_29 (64-bit) and 1.6.0_29 (32-bit)
    The webplugin check from firefox states that 'Java Applet Plug-in" is not up to date.
    Firefox Add-on Tab says I have 'Java Applet Plug-in' version 14.0.3
    Oracle.com says the latest version of Java is  Version 7 Update 3
    Java.com says the latest version of Java is Version 6 Update 31
    Furthermore Java.com says updates will be automatically download through 'Apple Software Update' but it shows no sign of an update.
    What's wrong? What is the latest version of both Java JDK and Applet? How can I fix this?
    {- Mac OS X 10.7.3 Lion
    {- Firefox 10.0.2

  • How to determine the JDK version required to use a jar?

    Hi all.
    I am using a hosted server that uses JDK 1.4.2 and I cannot upgrade the VM. I have been finding it extremely difficult to install web applications on this server since I find that after installing the app, the web server complains the bytecode used in the jar is newer than the VM can understand (or it complains that the app uses JEE servlet or JSP methods it cannot find).
    To compound the problem, only about 25% of the sites I've visited that provide jars for download mention the minumum JDK version required to use them. (Some do not mention any system requirements at all besides 'requires Java and a Java application server').
    Do any of you know of any tools that can analyze a jar and determine the bytecode version it uses?
    (Another helpful tool would be one that can determine the minimum JEE APIs required to run a web app..., but that's probably wishful thinking :)).
    Thanks for your help.
    Michael N. Christoff

    The major/minor version of the class file is the way to go.
    Also, it's not necessary to write a separate program to get to those. javap prints them out when being passed the -v flag.
    Note, however that "JDK version" is not a correct term, as I can create 1.4-compatible class files with a Java 6 JDK (by passing the -target flag to javac). Those won't look any different than .class files written with a 1.4 JDK.

  • How to change the jdk version of the sun one appserver 8.1

    hi
    i have installed appserver8.1 with a jdk 1.5 .
    i am facing some problem with the parsers (my application needs to use a crimson parsers which is not supported by jdk1.5 i guess)
    so i am trying to change the jdk version by changing the asenv.conf file
    but the appservers wont start up if i do so.
    help !! please

    This is strange. Setting AS_JAVA to the install location of your jdk instance should work. I have done it many times.
    What kind of errors are you getting in the server log file?

  • How to check the JDK version of a compiled java file

    can anybody tell me how to check the JDK version of a compiled java file ?
    Edited by: gbhatia8 on Sep 9, 2010 7:04 AM

    The major/minor version of the class file is the way to go.
    Also, it's not necessary to write a separate program to get to those. javap prints them out when being passed the -v flag.
    Note, however that "JDK version" is not a correct term, as I can create 1.4-compatible class files with a Java 6 JDK (by passing the -target flag to javac). Those won't look any different than .class files written with a 1.4 JDK.

  • Finding jdk version in day communique IDE

    Hi All
    This is my first post in this forum.So anything silly please ignore .
    before going to my question will tell you what IDE am working on.My IDE is from Day( from Communique).Its a CMS application.It provides its own IDE.
    now coming to my doubt.
    I edited a java code from it.When i tried to compile with some jdk5 related features, it was throwing some errors saying identifier expected.When i try to view the java version it gave as '1.5'.I got the java version by using String classPath = System.getProperty("java.version").But my doubt is how to find the jdk version.Am little bit confused about how to get what version of java compiler it uses.I coudnt find out where to change the jdk version in that IDE.so it would be nice if i can solve it within my java code itself.
    Any help would be greatly appreciated
    Note:My doubt is general and nothing related to this IDE.Just for additional information i gave my IDE info.
    thanks in advance

    Thanks for the reply Praveen.
    But i used the systemProp in different way earlier itself.Like System.getProperty("whatever property name i want to look for").But this didnt fetch the desired result.I want to know what version of java compiler my application is using.If i try the way u said i wud get version of jre and not jdk.Am not sure whether we can get the version of jdk from java.But just if there is any other way you can help me out.
    thanks.

  • Target JDK version?

    Hi, I'm trying to get a string out of a database via JDBC. When I compile my code with "1.3.0" as target JDK version in the project properties settings, the java.sql.ResultSetMetaData().getColumnType(int column) method says my string is of type OTHER and it comes out as '3003D0022003100...'.
    When I compile with "Jdeveloper_1.2.2" as target JDK version, the java.sql.ResultSetMetaData().getColumnType(int column) method returns a type value that does not correspond to any of the 27 types defined in java.sql.Types. The string looks as it should though. Why is this? Does the Oracle compiler or JVM change som settings in the sun.jdbc.odbc.JdbcOdbcDriver that maes the string com out right? How do I do to get the string out as a string with the standars JVM (say when i access it via a JSP)?
    /Fredrik
    null

    Fredrik,
    You don't mention which driver version you're using. I know with 8.1.6, there was a classes12.zip for using JDBC with the JDK 1.2.x, and a classes111.zip for using JDBC with JDK 1.1.8 (I think).
    I don't know that they even have a classes13.zip available, so your results may vary if using JDK 1.3. The internal JVM on the server uses JDK 1.2.
    I recommend checking the Oracle8i JDBC Developer's Guide and Reference for the version of the database you're connecting to and see info is provided there about compatibility with different versions of the JDK.

  • Certain properties arent beiing set (JDK-Version difference 1.2.1 & 1.3.1)

    Hello alltogether
    I'm extending a software which was once written on the JDK 1.2.1. For my extenstions i choosed to used the JDK 1.3.1. Now that i m done with my part, i remarked that the existing part of the webapplication doesnt run correctly on a server with JDK 1.3.1, and my extensions doesnt run on a server with JDK 1.2.1.
    So what i m gonna do is, i have to make the existing system runnable on JDK 1.3.1, so that the whole system can be run on the server with JDK 1.3.1.
    The problem i have with the existing version, is that the properties arent beeing set.
    An example:
    The request string is:172.16.1.38:8080/SupportSystem/issuelist.jsp?ident=3&command=closed
    issuelist.jsp has uses the bean IssueBean and sets all its properties:
    <jsp:useBean id="issueBean" scope="request" class="ch.msw.support.beans.IssueBean" />
    <jsp:setProperty name="issueBean" property="*" />
    IssueBean's property-setter method for the look like the follows:
    public void setIdent(String newValue) {
      if(newValue != null) {
        try {
          id=Integer.parseInt(newValue);
        } catch (Exception e) {}
    }the command-property and the properties which are part of my enhancements are always beiing set. But the strange thing is that i cant find a difference between the functioning ones and the ones who fail
    My supposition is that the 2 JDK - versions (1.2.1 / 1.3.1) implement different JSP-specifications which are featuring a difference with the property-setter-calling.
    I cant figure how i could solve the problem...
    maybe you can :-)
    Thanks in advance!!!

    What you have should work so I don't have a quick fix, only suggestions on how to track down the problem.
    Presumably you must have recompiled IssueBean to add the new properties, so the java version is irrelevant. Ident is just as much a 1.3.1 property as is command.
    Is the getIdent() method defined correctly? It must be "public String getIdent()" If, say, you are returning an int then the getter/setter pair may not be recognized by jsp:setProperty.
    Try temporarily adding a System.out.println statement to setIdent so you know when it is called. Retest. If it is not called, add an explicit call to your JSP.
    Add code to your JSP to print out all parameters. This will show whether ident is being passed through.
    Good luck.

  • Can't get JDK information (rc=-1) [jstartxxi.c  1096] while starting the XI

    We are getting following error while starting XI Server
    I chanked environment (JAVA_HOME) it was fine.
    please advice me.
    trc file: "I:\usr\...\DVEBMGS01\work\dev_jcontrol", trc level: 1, release: "640"
    node name   : jcontrol
    pid         : 3960
    system name : xxx
    system nr.  : 01
    started at  : Thu Jan 04 21:10:32 2007
    arguments   :
        arg[00] : I:\usr\sap\..\DVEBMGS01\j2ee\os_libs\jcontrol.EXE
        arg[01] : pf=I:\usr\sap\..\SYS\profile\D01_DVEBMGS01_global
        arg[02] : -DSAPSTART=1
        arg[03] : -DCONNECT_PORT=2554
        arg[04] : -DLISTEN_PORT=2555
        arg[05] : -DSAPSYSTEM=01
        arg[06] : -DSAPSYSTEMNAME=xxx
        arg[07] : -DSAPMYNAME=global_xxx_01
        arg[08] : -DSAPPROFILE=I:\usr\sap\..\SYS\profile\xxx_DVEBMGS01_global
        arg[09] : -DFRFC_FALLBACK=ON
        arg[10] : -DFRFC_FALLBACK_HOST=localhost
    [Thr 3168] Thu Jan 04 21:10:32 2007
    [Thr 3168] JControlExecuteBootstrap: execute bootstrap process [bootstrap]
    [Thr 1204] JControlDPMessageFunc: Thread 1204 started as handler thread for R/3 dispatcher messages.
    [Thr 3168] *** ERROR => JStartupIGetJDKInfo: Cannot find Java compiler [C:\j2sdk1.4.2_09;\bin\javac.exe]. [jstartxxi.c  874]
    [Thr 3168] *** ERROR => can't get JDK information (rc=-1) [jstartxxi.c  1096]
    [Thr 3168] *** ERROR => node [bootstrap] not found [jstartxx.c   1388]
    [Thr 3168] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc=-18)
    [Thr 3168] JControlCloseProgram: started (exitcode = -18)
    [Thr 3168] JControlCloseProgram: good bye... (exitcode=-18)

    I dont have directory, I set up parameter DIR_EVALUVATED to I:\usr\sap\D01\DVEBMGS01\j2ee\os_libs. Then I am getting following errors<br><br><br>
    <b>IN dev_rfc.trc error</b>
    T:2612 Error in program 'igsmux': ======> Connect to SAP gateway failed
    Connect_PM  TPNAME=IGS.D01, GWHOST=global, GWSERV=3301
    ERROR       internal error
                (this retcode should be handled by caller of NI-layer)
    TIME        Fri Jan 05 08:21:13 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -8
    MODULE      nixx.c
    LINE        666
    COUNTER     683<br><br>
    <b>IN dev_disp error</b>
    DP_FATAL_ERROR => Gateway could not be started - I better exit now
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    NiWait: sleep (10000 msecs) ...
    NiISelect: timeout 10000 ms
    NiISelect: maximum fd=1365
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jan 05 02:35:55 2007
    NiISelect: TIMEOUT occured (10000 ms)
    dump system status
    Workprocess Table (long)               Fri Jan 05 07:35:55 2007
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA       -1 Run           no      0   0             0                                                             
    1 DIA       -1 Run           no      0   0             0                                                             
    2 DIA       -1 Run           no      0   0             0                                                             
    3 DIA       -1 Run           no      0   0             0                                                             
    4 DIA       -1 Run           no      0   0             0                                                             
    5 DIA       -1 Run           no      0   0             0                                                             
    6 DIA       -1 Run           no      0   0             0                                                             
    7 DIA       -1 Run           no      0   0             0                                                             
    8 UPD       -1 Run           no      0   0             0                                                             
    9 UPD       -1 Run           no      0   0             0                                                             
    10 ENQ       -1 Run           no      0   0             0                                                             
    11 BTC       -1 Run           no      0   0             0                                                             
    12 BTC       -1 Run           no      0   0             0                                                             
    13 BTC       -1 Run           no      0   0             0                                                             
    14 SPO       -1 Run           no      0   0             0                                                             
    15 UP2       -1 Run           no      0   0             0                                                             
    16 UP2       -1 Run           no      0   0             0                                                             
    Dispatcher Queue Statistics               Fri Jan 05 07:35:55 2007
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    0
    2000
    0
    0
    --------++++--
    +
    DIA
    0
    0
    2000
    0
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          0
    wake_evt_udp_now     0
    wake events           total     0,  udp     0 (  0%),  shm     0 (  0%)
    since last update     total     0,  udp     0 (  0%),  shm     0 (  0%)
    Dump of tm_adm structure:               Fri Jan 05 07:35:55 2007
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Fri Jan 05 07:35:55 2007
    =============================
    Slots: 300, Used: 0, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    NiWait: sleep (5000 msecs) ...
    NiISelect: timeout 5000 ms
    NiISelect: maximum fd=1365
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jan 05 02:36:00 2007
    NiISelect: TIMEOUT occured (5000 ms)
    Shutdown server ...
    DpJ2eeDisableRestart
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    [DpWpDied] W0 handle not set (PID:-1)
    [DpWpDied] W1 handle not set (PID:-1)
    [DpWpDied] W2 handle not set (PID:-1)
    [DpWpDied] W3 handle not set (PID:-1)
    [DpWpDied] W4 handle not set (PID:-1)
    [DpWpDied] W5 handle not set (PID:-1)
    [DpWpDied] W6 handle not set (PID:-1)
    [DpWpDied] W7 handle not set (PID:-1)
    [DpWpDied] W8 handle not set (PID:-1)
    [DpWpDied] W9 handle not set (PID:-1)
    [DpWpDied] W10 handle not set (PID:-1)
    [DpWpDied] W11 handle not set (PID:-1)
    [DpWpDied] W12 handle not set (PID:-1)
    [DpWpDied] W13 handle not set (PID:-1)
    [DpWpDied] W14 handle not set (PID:-1)
    [DpWpDied] W15 handle not set (PID:-1)
    [DpWpDied] W16 handle not set (PID:-1)
    Stop work processes...
    Terminate gui connections
    DpHalt: cancel all lcom connections
    MPI CancelAll 2 -> 0
    MPI DeleteAll 2 -> 0
    detach from message server
    EsCleanup ....
    ***LOG Q05=> DpHalt, DPStop ( 2384) [dpxxdisp.c   8495]
    Good Bye .....

  • Question on IBM JDK Version when Installing OBIEE 11.1.1.7.0  on IBM AIX on POWER Systems (64-bit) / O.S. 6.1

    Hi,
    Certification Matrix gives us JDK Version: JDK 1.7.0 SR3+ IV33133   64 Bit
    Does anybody know whether  this is the exact JDK Version or if we can install anything more than this version?
    Thanks very much for your help in advance.

    Thank you for your suggestion. I can certainly try pointing to a different temp folder, but how much space does it need?
    /u00/temp appears to have quite a bit of space available...
    [oracle@oel58 logs]$ df -k
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
    16663980 3820232 11983588 25% /
    /dev/sda2 99188500 18500088 75568500 20% /u00
    /dev/sda1 101086 41172 54695 43% /boot
    tmpfs 3170304 1063332 2106972 34% /dev/shm
    shmfs 3170304 1063332 2106972 34% /dev/shm
    ShareVB 320864252 168386324 152477928 53% /media/sf_ShareVB
    [oracle@oel58 logs]$ df -k /u00/temp
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda2 99188500 18500088 75568500 20% /u00
    Also, I verified TMP, TMPDIR, and TEMP all point to /u00/temp.
    And the preinstallation check shows this:
    Checking Temp space: must be greater than 1536 MB. Actual 73797 MB Passed
    Checking swap space: must be greater than 500 MB. Actual 5951 MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
    It might be worth mentioning, as well, that I get the same result, whether I use ...Disk1/runInstall.sh or ...Disk1/install/linux64/runInstall.sh
    The file I originally posted came from trying the linux64 installer.
    What else can we check/try?
    Edited by: user733825 on Mar 28, 2013 6:26 PM
    What is it that tells the installer there is an application server running? Is it checking for some WebLogic environment variable I may have incorrectly configured? I have a WebLogic server running, and it is hosting a Forms server and a help server. Why does the installer think there is no Application Server installed?
    Edited by: user733825 on Mar 28, 2013 7:23 PM

  • JAR file JDK version

    I have a question that i want to ask for a long time. Let say someone give you a jar file, how do we check which version of JDK it is compile ?

    You can get an easy, but approximate, answer by looking in the jar manifest:
    $ jar -xf somejar.jar META-INF/MANIFEST.MF
    $ cat META-INF/MANIFEST.MF
    Manifest-Version: 1.0
    Class-Path: someotherjar.jar
    Created-By: 1.6.0 (Sun Microsystems Inc.)
    Main-Class: Main
    The Created-By attribute says which JDK version created the jar file. However, that's not always the same as the version that was used to compile the classes. To get an exact answer, you'd need to look at the class file version number, and you'd have to do it for each class file since they don't all have to be the same. Gory details left as an exercise. Here's a reference to get you started:
    http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html#80959

  • Jar file , which jdk version ?

    I have a question that i want to ask for a long time. Let say someone give you a jar file, how do we check which version of JDK it is compile ?

    You can get an easy, but approximate, answer by looking in the jar manifest:
    $ jar -xf somejar.jar META-INF/MANIFEST.MF
    $ cat META-INF/MANIFEST.MF
    Manifest-Version: 1.0
    Class-Path: someotherjar.jar
    Created-By: 1.6.0 (Sun Microsystems Inc.)
    Main-Class: Main
    The Created-By attribute says which JDK version created the jar file. However, that's not always the same as the version that was used to compile the classes. To get an exact answer, you'd need to look at the class file version number, and you'd have to do it for each class file since they don't all have to be the same. Gory details left as an exercise. Here's a reference to get you started:
    http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html#80959

Maybe you are looking for

  • Dataload from legacy system to BW Server

    Requirements: We have different kind of legacy systems and SAP BW server. We want to load all legacy system data into SAP BW server using BAPI. Before loading we have to validate all data. If there are bad data, data missing we have to let the legacy

  • How to move a money value from java to Flex

    According to http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDo cs_Parts&file=00001103.html I can pass a Double, Float, Long, Short, BigDecimal or the primative equivalent types from java to Flex and they will

  • "Widescreen" filter on Dip to Color Dissolve?

    I've applied the widescreen filter to two clips -- then now, I want to put a dip to white color dissolve between the two clips. But when I do it, the actual white isn't widescreen like the two clips and it looks odd. How can I apply the widescreen fi

  • Display a PDF Document from a standard transacction

    Hi. I need to display a PDF document located in a server outside SAP. The idea is to implement a menu exit and add a new button to a standard transaction. When the user press the new button a PDF document must be displayed. I want to know if this sol

  • Rolling months - Time series function

    Hi, I am new to OBIEE and this forum, and wondering someone could guide me through this requirement. I have a requirement that User needs to see inventory for rolling past 13 months, and should display inventory numbers(snapshot) for the first day of