Calendar SDK Java Demo

I've seen a number of references to the Java demo code on this forum, but can't find a copy of it. I've installed the sdk 9.0.4.1.1 on Windows, but don't see any java files for it.
Can someone tell me where to find it.

I found it buried in the client cd. It's at Calendar\DeveloperPackage\SDK\Windows\cal_sdk_win_90418897.tar.gz

Similar Messages

  • Java Calendar SDK Problems

    In J2SE 1.4.2, I cant seem to run the demo java application.
    Every time I do so, I get the following error as a windows prompt:
    The procedure entry point CAL_AttrValueDate could not be located in the dynamic link library ctcalcli.dll.
    After I click ok on the prompt I get this at the java output:
    java.lang.UnsatisfiedLinkError: C:\capi\java\csdkjni.dll: The specified procedure could not be found
         at java.lang.ClassLoader$NativeLibrary.load (Native Method)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
         at java.lang.Runtime.loadLibrary0(Runtime.java:788)
         at java.lang.System.loadLibrary(System.java:834)
         at oracle.calendar.sdk.Api.<clinit>(Api.java:63)
         at CalendarTest.main(CalendarTest.java:13)
    Please help me! :)

    Hi Felix,
    On Windows, make sure that BOTH the CSDK runtime libraries (normally installed in capi/lib inside your installation target directory) as well as the CSDK JNI library (normally installed in capi/java) are in your PATH environment variable before running (and not the LD_LIBRARY_PATH environment variable as indicated in the java demo's README file).
    Graham

  • Oracle calendar SDK demo fails.

    Hi
    I downloaded oracle sdk. I can able to run the C program calendar.c successfully. But when I run java sample calendar.java I can able to connect to the server, I can't proceed after that. I am getting the error "fetchEventsByRange returned status'CAPI_STAT_LIBRARY_SERVER_SUPPORT'". Did anyone able to run the java demo successfully?
    Any help is really appreciated. Thanls in advance.
    Hari

    Hi Hari,
    The calendar.c demo program uses the older, deprecated event APIs, while the calendar.java program uses the new event APIs through the CSDK JNI layer. However, these new event APIs require a 9.0.4 Calendar server. Is your calendar server a 9.0.4 server? You can check by running the universion utility that's installed with the calendar server.
    Graham

  • Calendar SDK on Win XP

    Hi,
    I have problems to run my java program on XP to access the calendar via calendar sdk.
    I got the error message:
    java.lang.UnsatisfiedLinkError: C:\Java\Calendar\capi\java\csdkjni.dll: %1 is not a valid Win32 application
    Any idea what could be happend?
    Best regards
    Oliver

    Hi Oliver,
    I would guess a corrupted dll or something like that but I don't have much context here.
    Which version of the calendar sdk are you using?
    What are your environment variables?
    Are you sure all the dependencies to csdkjni.dll are accessible?
    Did you compare the dll's you have in your setup to the dll's from the source to make sure they are the same?
    Cheers,
    Jean-Philippe

  • Convert Calendar to Java.sql.Date

    I seached for a solution for converting a Calendar-object to a java.sql.date for inserting it into a MySQL DB (DateTime). I know this question is a FAQ. The solution I found is the following code:
    java.sql.Date sqlDate =  new java.sql.Date(cal.getTime().getTime() );When i do a print of the sqlDate to the console I get: sqlDate: 2005-06-27
    But when I look into de DB I get the following date: 27/05/1905
    I know that in Java the months are starting from 0-�11 and that the years counting is starting from 1900. But I assume that the solution is not to just add the correct month and year manually. because I get a correct console-output. If I do this I get a correct DB Date, but a wrong console-date.

    II dont know if you found an answer but I needed a similar solution so I wrote a test program.
    Let me know if this solves the problem for you.
    import java.util.*;
    import java.sql.*;
    public class dateTest{
    public static void main(String args[]){
    // Step by step
    // Calendar rightNow = Calendar.getInstance();
    // java.util.Date today = rightNow.getTime();
    // long theTime = today.getTime();
    // java.sql.Date sDate = new java.sql.Date(theTime);
    // In one line
    java.sql.Date sDate = new java.sql.Date(Calendar.getInstance().getTime().getTime());
    System.out.println("sDate is: "+sDate.toString());
    }

  • System calculator and calendar in java!!!

    Hello to everyone! I'm new to Java ! Is it possible to include the system calculator and the system calendar in a Java application??I mean if i push the calendar button, Java opens the system calendar or the same thing with calculator??can anybodu help me??
    THX

    Thanks Praveen_Forum !It's working!But I dont need the string you mentioned, I only put
    Runtime.getRuntime().exec(calc);And it is working like this!Thanks again:-)

  • JAVA demo error (ora-01031)

    Hello,
    I need a help with running Java demos for ODM 10g. PL/SQL demos worked fine. Yet, all the JAVA demo seem to have this ORA-01031 Insufficient Privileges error (for instance, at ABNDemo.executeTask for ABNDemo.java). I have changed various setting of DM user privileges but none worked so far.
    Best Regards,

    Hi,
    Java API would need DMUSER_ROLE previlege granted to the DM User account while PL/SQL API does not. You might want to check ~dm/admin/odmuser.sql to ensure all necessary privileges are given to the user account.
    Thanks, Mark

  • Mac OS X Calendar SDK Download

    Where can the Oracle Calendar SDK for Mac OS X be downloaded? I found the Windows SDK buried inside the collaboration suite downloads, but I haven't been able to find a Mac OS X version.

    http://www.apple.com/support/mac/app-store/contact.html?form=account

  • Checkin a file in TFS SDK java

    Hi,
    I am working on TFS SDK (java)and i want to checkin the file so that it will the latest file will be copied to TFS.
    I am using pendEdit and it is not helping me to do the needfull.It is just changing the permissions but not moving the file on to TFS.
    example: I have a file in my system which i have changed it and want to checkin back to the TFS. When i say view in TFS it has to be updated with the latest file.
    Can some one help me out with this issue.
    Regards,
    Shirish Bhat.

    Hi Shirish,
    you can use this same method workspace.checkIn(pendingChanges, comment) and pass in the pendingChanges only the files you want to checkin. You can first query for all the pending changes then filter the ones that you need to checkin like this:
    PendingSet pendingSet = workspace.getPendingChanges();
    if(pendingSet !=
    null)
                PendingChange[] pendingChanges = pendingSet.getPendingChanges();
                List<PendingChange>
    changesToCheckin = new ArrayList<PendingChange>();
                for (PendingChange change:pendingChanges)
                   if (change.getLocalItem()!=null && change.getLocalItem.equals            (FileNameToCheckin))
                             changesToCheckin.add(change);
    if (changesToCheckin.size() != 0)
                    workspace.checkIn(changesToCheckin.toArray(), comment);
    Please let me know if this does not work for you or you have any questions about it
    Thanks
    Mireille

  • What is SDK Java for and...

    and can it help me to open some chat windows.(.it is some program SDK Java 4.0. )what for does it serves at all ..if somebody can explain me ......

    As far as I understand the full form of SDK is Software Developers Kit. It is a tool with which we develop programs. There is an SDK for Visual C++ and an SDK for Java. There can be a other SDKs for other languages.
    The SDK provides for classes and functions that can be used in your programs. Obviously it makes software development easier and faster. For example if you need to manage dates, use a timer you can either write a program from scratch or you can use date functions provided by the SDK to manage time.
    I am learning Java and under no circumstances can the above be taken as Bible.
    Thanks
    Krishnan

  • BO SDK  JAVA API

    Hi ,
    could anyone pls ping me the link for BO SDK Java api..

    Hi Naveen,
    Please check below:
    SAP BUSINESSOBJECTS BI 4.x - DEVELOPER SDK LIBRARY
    -Mahesh

  • BO SDK java customization

    Hi experts,
    I am novice to BO SDK java. I want to learn the Java SDK for some customization.
    Please guide me where we can get the sdk jar files and which IDE can be used to modify the jars and .also how it can be used to deploy the changed jar files again to BO server.
    any help will be highly appreciated...
    thanks in advance
    Regards
    Narendra

    At the top of this forum you will see a stickied post titled : [Read Before Posting - Where to find Business Objects Java SDK Resources|Read Before Posting - Where to find Business Objects Java SDK Resources;
    Did you read it before posting?
    The documenation and such is all listed in that post along with samples.

  • Web Services SDK (Java API)

    Hi,
    By using Web Services SDK (Java API) can I extract the Table,Join information related to a Universe?
    If so, then can you please give me some guidelines?
    Thanks
    Nirabhra

    Hi Nirabhra,
    I don't think this is possible with the Web Services SDK.
    This can only be done through the Universe Designer SDK (which is only available in COM).
    Please kindly refer to the API reference for the Universe Designer SDK for more details:
    [http://help.sap.com/businessobject/product_guides/boexir31/en/bodessdk.chm]
    Hope this helps.
    Regards,
    Dan

  • Attendee participation status cannot be set to ACCEPTED via Calendar SDK

    As documented on page 3-41 of the Application Developers Guide
    http://download-west.oracle.com/docs/cd/B13866_02/calendar.904/b10893/sdkfxns.htm#1012531)
    the attendee participation status cannot be set to ACCEPTED via Calendar SDK API call storeEvents() if the user creating the appointment is not the owner of the calendar.
    Can you confirm that there is currently no other way to set the value of the attendee participation status via the SDK?
    thankyou,
    Chris

    Hi Chris,
    An attendee's attendance status can only be set by that attendee. However, for external attendees who are not calendar users, the owner of the meeting may set their attendance status.
    Graham

  • Connexion SQL server avec SDK Java Connector

    Bonjour,
    Je souhaite utilisé le SDK Java Connector. J'ai essayé le programme ci-dessous :
       public static void main(String[] args) throws SBOCOMException {
             ICompany company = SBOCOMUtil.newCompany();
             //Database settings:
             company.setServer("xxxxxxxxx");
             company.setDbPassword("sa");
             company.setDbUserName("xxxxxxxxxx");
             //Business One settings:
             company.setUserName("xxxxxx");
             company.setPassword("xxxxxx");
             company.setCompanyDB("PME_SA");
             company.setUseTrusted(new Boolean(false));
             // connect now
             int nResult = company.connect();
             // throw exception if failed
             if ( nResult != 0 )
                 System.out.println("Could not connect" + nResult);
                 System.exit(0);
             System.out.println("connected");
             company.disconnect();
             System.out.println("thread finished");
             com.sap.smb.sbo.wrapper.com.ComThread.Release();
    En exécution le programme sous Eclipse, la connexion est refusée avec une erreur No -111.
    Les programmes d'exemple sous VB fonctionnent correctement !
    Ou pourrais-je trouver des exemples en Java ?
    Merci d'avance
    Laurent

    Hi Laurent,
    Gregor is right, the lingua franca (interesting Wikipedia entry about that term: http://en.wikipedia.org/wiki/Lingua_franca) on SDN is English.
    Althought I was happy to read a couple of Frensh word and understanding most of it your chances of a reply are much better when you post in English, even if it is broaken English.
    Everyone understands, Mark.

Maybe you are looking for