Adobe Reader - Adding Toolbar : hello world example

Hi everyone,
I would like to create a "Toolbar Button" for Adobe Reader which supports all version of it. 
After a long search for this over the web found some article suggesting that this can be done with either of 2 methods.
1. Acrobat Javascript.
2. Acrobat Plugins.
1. Acrobat Javascript:
     I am successful in creating a "ToolBar Button" in Adobe Reader with below script placed in "C:\Program Files\Adobe\Reader 10.0\Reader\Javascripts"
Script:
function helloWorld()
app.alert("Hello World");
app.addToolButton({
       cName: "helloWorldBtn",           // A name for your button
       cExec: "helloWorld()",               //Function to Call
       cLabel: "Hello World",               //The Text on the Button
       cTooltext: "Say Hello World",     //The Help Text
        cEnable: true
Problem with Javascript:
The only problem faced with Javascript implementing my scenario is "I coudn't call a ActiveX or DLL method from this Javascript".
I tried creating new ActiveXObject in the code but it thorws runtime error saying it ActiveXObject is a unrecognized key word.(The same "new ActiveXObject" works fine from normal Javascrirpt.
2. Acrobat Plugins.
I couldn't find a good "Helloworld" sample for building a sample toolbar over internet. I believe from Plugins it would be easier to call other DLL's method by adding a reference or over COM.
Could someone help me getting this done with a best simplest sample to do with. Please don't recommend me the SDK samples, I really don't understand anything out of it.
If we can create toolbar with C# or VB it would be so preferable for me.
Hope you got my problem. Thanks in advance.
Please revert me if any of my assumptions were wrong.

Yes, those are the two ways to create a toolbar button - either JavaScript or Plugin.
You are also correct that you can't do anything with ActiveX or DLL from Acrobat JavaScript - which is the same JavaScript engine as Mozilla/FireFox.  owever, many browsers add additional/custom objects (such as ActiveX), which may be what you are thinking of...
Plugins are written in C/C++ and they are documented in the Acrobat SDK.  You will need to download that to get building.  It includes documentation, sample code, etc.  HOWEVER, be aware that in order to develop a plugin for Reader you must obtain a license from Adobe.  There is a cost and process for this license and details are in the SDK.

Similar Messages

  • Problem including jdk.dio into Hello World Example

    Hi
    I followed the Hello World Example and this worked on my raspberry pi. Then I tried to use jdk.dio to access some hardware via GPIO unfortunately then the build of the Deployment Package fails with :
    # 2/7/15 4:35:16 PM CET
    # Eclipse Compiler for Java(TM) v20140902-0626, 3.10.0, Copyright IBM Corp 2000, 2013. All rights reserved.
    1. ERROR in .../HelloOsgi.java (at line 9)
    import jdk.dio.ClosedDeviceException;
    ^^^^^^^
    The import jdk.dio cannot be resolved
    2. ERROR in .../HelloOsgi.java (at line 10)
    import jdk.dio.Device;
    ^^^^^^^
    The import jdk.dio cannot be resolved
    It builds without an error inside of eclipse. I added the dependencies to the manifest
    Manifest-Version: 1.0
    Import-Package: jdk.dio;version="1.0.0",
    jdk.dio.gpio;version="1.0.0",
    jdk.dio.spibus;version="1.0.0",
    org.osgi.service.component;version="1.2.0",
    org.slf4j;version="1.6.4"
    Service-Component: OSGI-INF/component.xml
    and to the build.properties
    output.. = bin/
    bin.includes = META-INF/,\
    OSGI-INF/
    source.. = src/
    additional.bundles = org.eclipse.osgi.services,\
    slf4j.api,\
    org.eclipse.kura.api,\
    jdk.dio
    What did I miss to do, so that the 'jdk.dio' can be resolved when building Deployment Package?
    Thanks and Regards
    - Franz
    (*)eclipse.github.io/kura/doc/hello-example.html

    I downloaded the "Developer's Workspace (with Web UI) " (user_workspace_archive_1.1.0.zip) from Kura 1.1.1 Extended Downloads (eclipse.org/kura/downloads.php) and imported this into my Eclipse workspace on my development machine. I checked the ZIP file it contains the jdk.dio_1.0.0.jar as stated in my Manifest and not 1.0.1 as you mentioned.
    I also checked on the target (raspberry pi) where I installed the "Raspbian (No, Net, with Web UI) - Stable" from Kura 1.1.1 Extended Downloads. Also here it is jdk.dio_1.0.0.jar under /opt/eclipse/kura/plugins.
    I don't think its a Version problem since Eclipse can build the code and finds all the dependencies. It is just when I try to export a 'Deployable plug-ins and fragments' or try to create the Deployment Package that the build fails.
    I found a workaround for the 'Deployable plug-ins and fragments' there I have to check the option 'Use class files compiled in the workspace' and the I can export it since the export does not need to build it just uses the already built classes from eclipse. I did not find such an option for the creation of the Deployment Package.
    Anyway I would like to be able to build without an IDE.
    What is the suggested approach to build a Deployment Package for Kura without the IDE so it could be integrated in some kind of a CI process?
    Is maven/tycho the way to go?
    Any help or hint is appreciated.
    Thanks Regards
    - Franz

  • Adobe Reader XI toolbar

    I installed Adobe Reader XI on Win7 x86, followed by update of FFox to v19 (apparently the latest browser release). Adobe Reader works normally, and I can open PDFs for viewing in FFox 19, but it seems FFox 19 -will- -not- display the standard toolbar for Adobe Reader XI. Instead, the only options are a 'download' button, a 'slider' button, 'page count' and 'next/prev page'. In contrast, IE8 -will- display the standard Adobe Reader XI toolbar, near the top of the open window. I don't know whether the problem is with Adobe or with FFox 19, and until there is a fix or some kind of work-around, I don't want to update any of my other machines.

    Okay, that too is nice.
    If, in fact, a built-in PDF.js is 'more secure', then I may decide to use it. There is still a problem with the toolbar, to wit:
    I more or less routinely download 100s of PDFs in one session, the nature of that effort requires that I 'view' then 'download'. With older versions of Acrobat/Reader, and a full toolbar for that app, I can simply hit 'save as' and open a location to save the file. With this new version, PDF.js will only let me choose 'download', which opens a separate GUI -- for each separate download attempt -- where I must then select the target location. That's dumb, that's cumbersome, whether or not Mozilla believe the app is "more secure" (and no, I don't seriously believe I am at any kind of security risk at any time). I found that I can also choose "do this for every..." option in PDF.js, but then I must later open Tools -> Options, find "Portable Document Format" and change it back to "Preview in Firefox" before my next session. That too is dumb, that too is cumbersome.
    Seems to me, the only solution is to try re-installing Reader, get FFox to open that app, and look for a way to restore toolbar access.
    How nice of Mozilla to "enhance" my browser experience.

  • Adobe Reader 9 - TOOLBAR CUSTOMIZATION won't save upon exiting program

    I just installed Adobe Reader 9 on a Dell Laptop running Windows XP, with all updates installed.
    When I open Adobe Reader, it starts with a minimum set of buttons shown in the toolbar, so I have tried to customize the toolbar by adding more tools (such as the "Open", "Single continuous", "Rotate clockwise" buttons). Everything works fine until then, but when I quit the program and restart (whenever I need to use it again), the toolbar is back to its previous state.
    I don't remember this being an issue with Reader 8, am I missing something? A comprehensive look at the preferences didn't reveal any option to maintain toolbar preferences.
    Thanks!
    RB

    Hi guys! I too had this same annoying problem, but have just figured out why it doesn't restore our settings! To fix it, from the main menu bar, click on:
    Edit > Preferences
    then from the category bar on the righthand side, click:
    Documents.
    Now look at the checkboxes to the right, and UN-TICK the setting saying:
    'Allow documents to hide the menu bar, toolbars and window controls'.
    Then it should remember all your settings every time you re-open the document! It did for me! Hope this helps anyone having the same problem with adobe reader's really anoying default settings! If adobe is reading this, please make the default setting show our menu bars like in the previous versions! People are getting really frustrated with it, and I'm sure many people just gave up and stopped using it! Just a heads up!

  • Disable Adobe Reader XI Toolbar

    Hi,
    I'm new to this type of programing, so sorry if i don't understand.
    I did my research and noticed the only way to disable the Toolbar (when using a WebBrowser Control) is when calling the browser to MyWebBrowser.Navigate URL.
    My problem is that I call the event once and it works. Call the same I select the WebBrowser to navigate to another document and works great.
    Now, I click to go back to the first document and there, the Toolbar again.
    This is done on MS Access (VBA), Here is my routine:
    Private Sub cmdNavigate_Click()
    On Error GoTo Err_Handler
    If (Not IsNull(Me.document_name)) Then
        strDocumentPath = Trim(Me.document_path)
        strDocumentPath = strDocumentPath & Trim(Me.document_name) & "."
        strDocumentPath = strDocumentPath & Trim(Me.document_ext)
        If (FileExists(strDocumentPath)) Then
            Set ie = CreateObject("InternetExplorer.Application")
            With ie
                .navigate strDocumentPath & "#toolbar=0&navpanes=0"
                 While (.Busy = True) Or (.ReadyState <> READYSTATE_COMPLETE): DoEvents: Wend
                .AddressBar = False
                .MenuBar = False
                .StatusBar = False
                .Toolbar = False
                .Visible = True
            End With
            Set ie = Nothing
        Else
            MsgBox "Error: File was not found", vbCritical, "Error"
        End If
    End If
    Err_Exit:
        Exit Sub
    Err_Handler:
        DisplayUnexError Err.Number, Err.description
        Resume Err_Exit
    End Sub
    Any idea why is Adobe Reader not responding to the command passed with the URL after files has been open.
    Thanks
    SD

    Found the issue.
    I noticed while I was opening the IE instance, IE was leaving the instance in memory. So, I added the following subroutine to check if IE is already opened and with the current PDF.
    Private Function FIExplorer(chkUrl As String) As Boolean
    On Error Resume Next
    FIExplorer = False
    Set objShell = CreateObject("Shell.Application").Windows
    If (objShell.count > 0) Then
        ieUrl = Trim(Replace(Replace(chkUrl, "%20", " "), "\", "/"))
        i = InStr(ieUrl, "//")
        If ((i > 0) And (i < 7)) Then
            ieUrl = Mid(ieUrl, i + 2)
        End If
        If (Right(ieUrl, 1) = "/") Then
            ieUrl = Left(ieUrl, Len(ieUrl) - 1)
        End If
        For Each objIe In objShell
            ieName = objIe.FullName
            If (InStr(ieName, "iexplore.exe")) Then
                wUrl = Trim(Replace(Replace(objIe.LocationURL, "%20", " "), "\", "/"))
                i = InStr(wUrl, "://")
                If ((i > 1) And (i < 7)) Then
                    wUrl = Mid(wUrl, i + 3)
                End If
                If (Mid(wUrl, 1, 1) = "/") Then
                    wUrl = Mid(wUrl, 2)
                End If
                If (Right(wUrl, 1) = "/") Then
                    wUrl = Left(wUrl, Len(wUrl) - 1)
                End If
                If (StrComp(ieUrl, wUrl, 1) = 0) Then
                    FIExplorer = True
                    Exit For
                End If
            End If
        Next objIe
    End If
    Set objIe = Nothing
    Set objShell = Nothing
    End Function
    Hope this helps someone with same issue.
    SD

  • Task Manager Process failing along w/ Hello World example

    Hello Edwin,
    Thank you very much for the word document on how to install Oracle BPEL into the oracle database. I was able to install according to your word document into my oracle 10g database. I have other problems though. When starting up the BPEL Process Manager, it gives me the following error message in the console:
    java.lang.NoClassDefFoundError: org/apache/xerces/xni/XNIException
    I guess this in turn leads to the TaskManager process failing as it has a yellow exclamation point next to it in the BPEL Console. The oc4j console window later displays this error message:
    04/08/07 13:25:01 java.lang.ClassNotFoundException: bpel._1_0.TaskManager__BPEL4WS_BIN
    Error while creating process.
    An error has occurred while attempting to instantiate the class "bpel._1_0.TaskM
    anager__BPEL4WS_BIN" for the process "TaskManager" (revision "1.0"). The exception reported was: bpel._1_0.TaskManager__BPEL4WS_BIN
    Please try recompiling your BPEL process again. The current BPEL process archive "TaskManager" may have been compiled with an older version of "bpelc".
    An error message similar to this occurs when I try and work through the "Hello World" tutorial. Any idea why these error messages are occuring? "classnotfound" exceptions tell me there is a classpath issue. Thanks for your help.
    Kenny R.

    Edwin,
    Nevermind. I fixed it. I just copied the xercesImpl.jar file to the %ORABPEL_HOME%/system/appserver/oc4j/j2ee/home/applib directory and the processes function fine now. Thanks. Is this a bug that I found? Or was something messed up with my initial installation?

  • System.out.println - Hello World Example

    Hi All
    I am using Apache Tomcat and trying t produce a simple output to the browser. Cannot get System.out.println to work. See code and out below:
    begin code
    <HTML>
    <HEAD><TITLE>hello jsp</TITLE></HEAD>
    <BODY>
    <%@ page language='java' contentType='text/html' %>
    <%
    String message = "Hello World";
    message = message + "\nAFTER";
    System.out.println("BEFORE");
    %>
    <%= (message) %>
    </BODY>
    </HTML>
    END code
    --begin browser output
    Hello World AFTER
    end browser ouput
    Would be grateful if someone could explain why the System.out.print statement cannot be seen in the browser output.
    many thanks
    Naresh

    System.out prints to System.out. What that is depends:
    In applets, (which the OP was not talking about) it is the Java Console.
    In JSP, it's the same as any application by default.
    You can change in Java what System.out prints to, but you don't often do this. But in JSP it doesn't print to the browser. JSP is not CGI, which does you the standard out as the destination for written data.

  • AIR Native extensions Hello World Example for iphone ios

    I need help as i am having runnable code library for Hello world which i took from the url,
    "http://akabana.info/2011/08/11/air-native-extension-10-try-air-for-ios-ane/"
    in which we are making static library in Xcode by using ADOBE AIR.framework so that we are getting.a extension file. Now how to call further function because its just a library now how i want to know the steps further. How to call this library in the IOS project.

    Chris,
    You may have more luck over on the OA Framework forum OA Framework
    Best of luck,
    John

  • Adobe Reader X - Toolbar items slowly disappear

    We have a software developer's system that is acting very oddly with Adobe Reader X. It is a Windows XP SP3 machine with 3GB RAM. What is happening is that after a PDF is opened in Adobe Reader X, after a while all of the toolbar items slowly disappear. I've done everything from redeploying Reader to the machine, using the Microsoft Installer Cleanup tool after uninstalling it, checked to make sure that the system's memory usage was within reason, etc... The system is rebooted regularly (usually every morning or evening), undergoes a virus scan regularly, etc...
    We're at a loss as to what could be causing this. The last thing I want to do is rebuild the system, as it would be a headache for both me and the software developer.
    As you can see below, some of the items in the toolbar remain, such as the page number and zoom text box. The file menu remains intact, but the items in the toolbar slowly disappear after Reader X as been open for a while.
    Also, sometimes the items disappear by themselves, othertimes if you just mouse-over them they disappear.
    Any ideas or suggestions?
    -Jake

    I've just started experiencing the exact same problem. I upgraded to Reader X a good month or so ago, and I've had it open with documents loaded for long stretches most days since installing it, but I didn't notice the problem until Sunday 9th Jan. Closing Reader and reopening it brings back the toolbar, but then it disappears again after a while.
    I too am running Windows XP SP 3, with 2 GB RAM and an AMD Athlon 64 X2 Dual Core 6000+ CPU.
    Ose

  • Not able to run Hello world example(test_fwktutorial.jsp)

    I am new to OAF.
    I have download and set up the OA extension(right version) for our EBS.
    when i run test_fwktutorial.jsp from jdeveloper, i am getting the jsp pages with links to some samples like "Hello World" but when i am clicking the Hello World link , i am getting error. please help
    Exception Details.
    oracle.apps.fnd.framework.OAException: No data found for region (/oracle/apps/fnd/framework/toolbox/tutorial/webui/HelloWorldPG).
    and
    ## Detail 0 ##
    oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/fnd/framework/toolbox/tutorial/webui/HelloWorldPG, XML Path = {1}. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.

    Thanks for your response.
    Our DBA doesn't not much about OAF, but i check the patch by executing the below sql command . and there one record. So i understood patch installed , Is there any other way to check , this toolbox tutorial patch is applied or not,
    please advise.
    OA Framework Mini-pack 11i.FWK.H” (3262919)
    select * from ad_bugs where bug_number='3262919';
    one record found
    our EBS environment details below:-
    OA Framework Version 11.5.10.2CU.
    MDS Version 9.0.5.4.81 (build 481)
    UIX Version 2.2.18
    BC4J Version 9.0.3.13.51

  • Display PDF Dokument in HTML control with Adobe Reader X - hide toolbar

    Hello,
    I am reading a document from a content repository via Archive Link Interface. I get the content by the function module SCMS_HTTP_GET. Afterwards the content will be displayed in a html control in the method SHOW_URL  in class
    CL_GUI_HTML_VIEWER by calling the url SAPR3://SAPR3CMS/get/012/XX/0050568700A51EE0BDC6F305DFEDDF57/ with the following code.
    CALL METHOD call_method
       EXPORTING
         method  = 'ShowUrl'
         p_count = 2
         p1      = url
         p2      = frame
       IMPORTING
         RESULT  = m_result.
    If I had a standard url like http//:...test.pdf it would be possible to hide the Adobe Reader X toolbar by the additional command &#toolbar=0
    The SAP url SAPR3://SAPR3CMS/get/012/XX/0050568700A51EE0BDC6F305DFEDDF57/&#toolbar=0 is not working. Can anybody give me a hint how to get the toolbar hidden?
    Thanks and regards
    Joerg

    I don't believe you answered the question. I have the same problem in that when I upgraded to Reader X my Toolbar disappeared and you responded to my post with a fix. Last week I installed updates to both Acrobat 8 and Reader X and in the process lost my toolbar and the floating toolbar. After "repairing" both Reader and Acrobat numerous times I find that at least the floating toolbar is back and F8 will of course deliver the traditional fixed, top of the page toolbar, but only for that specific open document. When I open a new document (from the web) I must F8 to get my traditional toolbar back. Below are the settings I am using to achieve this (I have tried every combination to try and make this work). Any help to get my toolbar back is very much appreciated.

  • Hello world API example

    I have IFS installed on a UNIX server and can run the helloworld API example (from the developers guide.pdf) just fine locally on that machine.
    Now, I would like to move the helloworld class file that I created and the IFS API class files to another machine to test the API from a remote machine. I did this and also moved the IfsDefault.properties file. But, when I try to run the hello world example on another machine, I get a MissingResourceException as it cannot find the IfsDefault resource bundle.
    Do I need to install any other IFS components on the remote computer other than the API class files (adk.jar, and repos.jar)?
    Thanks
    Steve Probst

    See the thread with title:
    Attn: The correct way to connect to the repository.

  • Cpptasks - working hello world jni example on linux

    I have a working hello world example working on linux that uses cpptasks for the build. I'll post it here as I don't see any info on this out there. I hope this is helpful for you.
    -Todd
    Contents:
    - build.xml
    - helloworld.c
    - helloWorldCWrapper.java
    - directory structure
    - environment vars
    - output : $ant build
    - output : $ant run
    - References
    build.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <project basedir="." default="build" name="myJni">
         <property name="build" value="build"/>
         <property name="src" value="src"/>
         <property name="stub" location="stub"/>
         <property environment="os"/>
    <!-- Load the cpptasks task -->
    <taskdef resource="cpptasks.tasks"/>
    <typedef resource="cpptasks.types"/>
         <path id="project.classpath">
    <pathelement location="${build}"/>
    <pathelement location="."/>
    </path>
         <target name="init">
              <mkdir dir="${build}"/>
              <mkdir dir="${stub}"/>
    </target>
    <target name="clean" depends="init">      
              <delete>
                   <fileset dir="${build}">
                   <include name="*.class"/>
                   </fileset>
                   <fileset dir="${stub}">
                   <include name="*.h"/>
                   <include name="*.c"/>
                   </fileset>
              </delete>
         </target>
    <target name="jni-compile" description="--> create the jni h/c files">
         <javah class="com.bigdog.jni.helloWorldCWrapper" destdir="${stub}" verbose="yes" force="yes">
              <classpath refid="project.classpath"/>
         </javah>      
    </target>
         <target name="build" depends="init, java-compile, jni-compile, c-compile">
    </target>
         <target name="java-compile">
    <echo message="${ant.project.name}: ${ant.file}"/>
    <javac destdir="${build}">
    <src path="${src}"/>
    <classpath refid="project.classpath"/>
    </javac>
         </target>
    <target name="c-compile" description="--> compile c code">
    <cc link="shared" outtype="shared" multithreaded="true" optimize="speed"
    objdir="${build}" outfile="${build}/libhelloworld">
    <compilerarg value="-Wall"/>
    <compilerarg value="-D_JNI_IMPLEMENTATION_"/>
    <compilerarg value="-fno-strict-aliasing"/>
    <linker name="g++">
              <linkerarg value="-olibhelloworld.so"/>
         </linker>
    <fileset dir="${src}" includes="helloworld.c"/>
         <includepath>
              <path path="${os.JAVA_HOME}/include"/>
              <path path="${os.JAVA_HOME}/include/linux"/>
              <path path="${basedir}/stub"/>
              <path path="${build}"/>
         </includepath>
    </cc>
    </target>
         <target name="run">
    <echo message="${ant.project.name}: ${ant.file}"/>
              <echo message="java.library.path = ${java.library.path}"/>
              <echo message="LD_LIBRARY_PATH = ${os.LD_LIBRARY_PATH}"/>
    <java classname="com.bigdog.jni.helloWorldCWrapper">
    <classpath refid="project.classpath"/>
    </java>
         </target>
    </project>
    helloworld.c
    #include <jni.h>
    #include <stdio.h>
    #include "com_bigdog_jni_helloWorldCWrapper.h"
    JNIEXPORT void JNICALL
    Java_com_bigdog_jni_helloWorldCWrapper_print(JNIEnv *env, jobject obj)
              printf("Hello world :o)\n");
              return;
    helloWorldCWrapper.java
    package com.bigdog.jni;
    public class helloWorldCWrapper {
         private native void print();
         public static void main(String[] args) {
              new helloWorldCWrapper().print();               
         static {
              System.loadLibrary("helloworld");
    directory structure
    ./.project
    ./.classpath
    ./build
    ./build/com
    ./build/com/bigdog
    ./build/com/bigdog/jni
    ./build/com/bigdog/jni/helloWorldCWrapper.class
    ./build/history.xml
    ./build/helloworld.o
    ./build/libhelloworld.so
    ./build/dependencies.xml
    ./stub
    ./stub/com_bigdog_jni_helloWorldCWrapper.h
    ./src
    ./src/com
    ./src/com/bigdog
    ./src/com/bigdog/jni
    ./src/com/bigdog/jni/helloWorldCWrapper.java
    ./src/helloworld.c
    ./bin
    ./bin/helloworld.c
    ./build.xml
    ./build-user.xml
    ./history.xml
    environment vars
    user@machine:~/working/eclipse_proj/myJini$ export | grep LD
    declare -x LD_LIBRARY_PATH="/home/user/working/eclipse_proj/myJini/build"...
    Note: I had to modify the LD_LIBRARY_PATH in my .bashrc file. Modifying
    it from the command line seemed to have no effect.
    output : $ant build
    Buildfile: /home/user/working/eclipse_proj/myJini/build.xml
    init:
    java-compile:
    [echo] myJni: /home/user/working/eclipse_proj/myJini/build.xml
    [javac] Compiling 1 source file to /home/user/working/eclipse_proj/myJini/build
    jni-compile:
    [javah] [Search path = /home/user/bin/jdk1.5.0_03/jre/lib/rt.jar:/home/user/bin/jdk1.5.0_03/jre/lib/i18n.jar:/home/user/bin/jdk1.5.0_03/jre/lib/sunrsasign.jar:/home/user/bin/jdk1.5.0_03/jre/lib/jsse.jar:/home/user/bin/jdk1.5.0_03/jre/lib/jce.jar:/home/user/bin/jdk1.5.0_03/jre/lib/charsets.jar:/home/user/bin/jdk1.5.0_03/jre/classes:/home/user/working/eclipse_proj/myJini/build:/home/user/working/eclipse_proj/myJini]
    [javah] [Loaded /home/user/working/eclipse_proj/myJini/build/com/bigdog/jni/helloWorldCWrapper.class]
    [javah] [Loaded /home/user/bin/jdk1.5.0_03/jre/lib/rt.jar(java/lang/Object.class)]
    [javah] [Forcefully writing file /home/user/working/eclipse_proj/myJini/stub/com_bigdog_jni_helloWorldCWrapper.h]
    c-compile:
    [cc] Starting dependency analysis for 1 files.
    [cc] 0 files are up to date.
    [cc] 1 files to be recompiled from dependency analysis.
    [cc] 1 total files to be compiled.
    [cc] Starting link
    build:
    BUILD SUCCESSFUL
    Total time: 2 seconds
    output : $ant run
    Buildfile: /home/user/working/eclipse_proj/myJini/build.xml
    run:
    [echo] myJni: /home/user/working/eclipse_proj/myJini/build.xml
    [echo] java.library.path = /home/user/bin/jdk1.5.0_03/jre/lib/i386/server:/home/user/bin/jdk1.5.0_03/jre/lib/i386:/home/user/bin/jdk1.5.0_03/jre/../lib/i386:/home/user/working/eclipse_proj/myJini/build:/usr/local/qt/lib:/usr/local/qt/lib:/usr/local/qt/lib:/usr/local/qt/lib:/mnt/bea/p4/src910_150/bea/weblogic90/server/native/linux/i686:/lib:/lib/i686:/usr/lib:/usr/openwin/lib
    [echo] LD_LIBRARY_PATH = /home/user/bin/jdk1.5.0_03/jre/lib/i386/server:/home/user/bin/jdk1.5.0_03/jre/lib/i386:/home/user/bin/jdk1.5.0_03/jre/../lib/i386:/home/user/working/eclipse_proj/myJini/build:/usr/local/qt/lib:/usr/local/qt/lib:/usr/local/qt/lib:/usr/local/qt/lib:/mnt/bea/p4/src910_150/bea/weblogic90/server/native/linux/i686:/lib:/lib/i686:/usr/lib:/usr/openwin/lib
    Hello world :o)
    BUILD SUCCESSFUL
    Total time: 1 second
    References:
    http://public.cabit.wpcarey.asu.edu/janjua/java/jni/
    http://bleaklow.com/blog/archive/000162.html
    http://sourceforge.net/projects/ant-contrib
    http://sourceforge.net/project/showfiles.php?group_id=36177&package_id=28636

    VC++ works just fine.
    I use the IDE rather than command-line processing. I create a "dll" project, and implement the functions defined by running javah.

  • Problem with Adobe reader Xi 11.0.3 while printing

    Hello, I have this issue.
    When I am trying to print a file in preview is everything good put when I print the file it prints the form but there is no data inside.
    this happen when I get an attached file from office outlook 2003.
    I tried to save the file to my PC and printed from there but it is the same
    I uninstalled and reinstalled adobe reader, nothing changed.
    An example is:
    and this is what it prints
    Thank you
    Message was edited by: ebarakou

    Hi antsa,
    Are you using Adobe Acrobat?
    Reader cannot be used to create pdfs. Are you using the Create PDF service from within Reader to create pdf?
    If yes then please check if you are able to login to: https://cloud.acrobat.com/convertpdf  with your Adobe ID and able to convert the document to pdf.
    If yes then within Reader you can try the following:
    Choose Edit > Preferences (Win)
    Click 'Online Services' or 'Adobe Online Services' on the left-hand side
    Sign out of your Adobe ID and sign back in.
    Regards,
    Rave

  • Please Help!! frustrating Hello World!

    hi guys,
    i was trying the famous Hello world example in rmi.
    i have followed all the steps , i had this error:
    Hello Server failed: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
    java.lang.ClassNotFoundException: Hello1_Stub
    but it was fixed thanks to a previous topic posted , i removed another jdk version from the path environment variables.
    now i have this error:
    Hello Server failed: java.rmi.ServerError: Error occurred in server thread; nested exception is:
    java.lang.NoClassDefFoundError: HelloInterface1
    can anyone help please? it is really urgent.
    Thanks

    well, it looks like no one can answer it, thanks anyways, i will see what i can do.

Maybe you are looking for