Add a JAR as an association to a filetype

I posted this under two different headings last week - which got one answer - and may have helped me reword this remaining question better. My thanks to those who helped last week.
1) I run XP.
2) I have software that runs from a JAR (an editor called Arachnophilia).
3) I would like to:
a) Associate html files with this software, and
b) Permit drag and drop onto this JAR or a shortcut to it.
I got a working answer to 3a. I still need an answer to 3b.
By drag and drop, I mean that I want to be able to drag and drop an HTML file onto the JAR file or a shortcut to it, and have XP understand that that means to open the JAR, run the classes inside, and load the HTML file into them appropriately.

The OP wants a jar file short cut on the screen which, when the OP drags a file, say a text document to the shortcut, it will automatically start the jar file and pass the text file into the java application.
XP allows this with other applications. I am rather certain that previous versions of windows did not allow it. Because of this there is unlikely to be a java specific solution. There might be a simple solution via a registration process in XP but if so it is well hidden. The most likely possibility is that it would probably require a C/C++ executable that used JNI to start the app. The C/C++ app would take care of the actual process of handling the drag and drop to a short cut.

Similar Messages

  • How to add a jar file to a project

    I believe I have followed the necessary steps to add a jar file to my project. I have added this jar file as a new library and I see all the classes in it. I have even added it to my SessionBean1.java via the Add ---> Property menu. I noticed that this did not do the import of the class, so I did it myself. I also noticed that it did the drop downs and found the class for me automatically. Specifically, the IDE knows about the class layout and can see my class package as I type it out.
    So far so good....
    I then go to compile the project and I get the error:
    C:\Projects\safe\Safe\src\safe\SessionBean1.java:11: package com.dusa.bo does not exist
    import com.dusa.bo.BackofficePerson;
    Am I missing something? I looked around and it looks to me like the jar file is in the project and it should know about it. Again, I do know that the editor can find it, because as I type import ..... it then list "com" as an option to click on, then if I click on com, it will then list dusa ... and so on.
    Thanks

    I figured this out. Sorry for the post.

  • Add a jar file to an Applet

    Hi all,
    I'm trying to add a .jar file to my applet using the code:
    <applet name=myApplet.class archive=model.jar></applet>
    Both the .class and .jar files are in the same directory as test.html
    So, when the applet starts an exception is thrown:
    java.lang.NoClassDefFoundError: it/bizware/session/interfaces/HardwareLogManagerUtil
         at AppletPistolaL.getHardwareLogManager(AppletPistolaL.java:222)
         at AppletPistolaL.init(AppletPistolaL.java:97)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    The model.jar contains the path it/bizware/session.../HardwareLogManagerUtil!
    I can't understand why this exception is thrown
    Someone can help me?!?!?!
    thanks a lot!!

    Solved,
    just to add all path it/bizware/....
    and works!!!!
    bye!

  • How to add SDK jar file in NWDS

    Dear Friends,
    Currently i have an issue. I have to bring the BO favorite to my Portal Screen. My Portal is developed in PDK.
    I have few links where the source code is writhen. Those link's are
    /people/michael.nicholls/blog/2010/02/22/using-the-pdk-to-access-businessobjects-infoview
    http://wiki.sdn.sap.com/wiki/display/Snippets/ReadInfoViewfavoritesfromthe+portal
    I don't know more about BO. I have few points which i mentioned below.
    1) How to add SDK jar file in NWDS.
    2)DO i need any specific package for that.
    Kindly help me with your Valuble suggestion and document.
    Thanx in Advance.
    Prashant Krishen

    Hi,
    for adding all the jar files in NWDS fallow below steps
    windows >> preferences >>Java>>Java buildpath>>Libraries>>add external jars
    Hope this helps
    Edited by: polaka123 on Nov 13, 2010 12:44 PM

  • Add file .jar to EBS R12

    Hi all!
    I customize forms from template.fmb and I used java bean in my form
    Properties Implementation Class:oracle.forms.webutil.file.FileFunctions
    When i run form in EBS,error occur.Now I want add file .jar to EBS
    Where can i add file jar to EBS?
    Pls help me!
    Thanks all !

    Hi,
    Properties Implementation Class:oracle.forms.webutil.file.FileFunctionsDo you use WebUtil?
    When i run form in EBS,error occur.Now I want add file .jar to EBSWhat is the error?
    Did you compile the form successfully?
    Regards,
    Hussein

  • How to add external jars in the configuration of JSmooth?

    Hello,
    I am trying to create an exe file from a java program using JSmooth.
    The program is a simple hello world proogram.
    I am developing under eclipse, and I am using some external jar files as libraries.
    If my program is simple,; it works fine. If I add an import of a class that is in one of these jar files, I get the following error when executing the created .exe file:
    "Could not find the main class. Program will exit".
    I guess I have to add this Jar file to the path for the creation of the .exe file.
    My question is: does anybody know HOW to add an external jar in the configuration of JSmooth for the creation of an exe file from a Java program?
    Thanks for your help
    Philippe

    i have the same problem phsans
    you know the answers??
    thanks phsans:D

  • Applet not finding oracle.jdeveloper.layout.XYLayout. How to add to jar?

    hey guys, i have created an applet and it is unable to find oracle.jdeveloper.layout.XYLayout. How might I add this to my jar to be able to deploy it?

    not.
    Figure out what jar it's in, and add that jar to the classpath for the applet (and thus to the webserver in a location where the applet can load it from).
    See the documentation to figure out how to set an applet classpath.

  • Fail to add aia.jar in Jdeveloper

    Hi,
    I am compiling AIA demo in JDeveloper and got error "package oracle.apps.aia.cor.eh does not exist" for AIADemoErrorHandlerExtImpl.java.
    I have added aia.jar in <JDEV home>/jdev/lib by "Tools->Preference->SOA". I even added aia.jar in project properties->library and class path.
    Still the same error. When I type "import oracle.apps..." in the source code window, JDeveloper can not prompt the interface name. It seems that JDeveloper fails to load aia.jar.
    When I add aia.jar in project library, the name under "Classpath entries" is "aia.jar" unlike other libraries which show reasonable names like "SOA runtime" or "BPEL runtime".
    I deleted .jdeveloper user folder and restarted JDeveloper. Can't fix this problem.
    I can open the aia.jar file and see the class files in it.
    Any idea?
    Thanks a lot!

    Have you followed the following instructions
    - section 3.3 of http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10226/toc.htm
    - section 5.3 of http://download.oracle.com/docs/cd/E15523_01/core.1111/e10105/toc.htm
    Arvind

  • Can I add jsse.jar to jdk1.5 version

    HI ,
    can I add jsse.jar to jdk1.5 version which does not contain this jar file?
    If it is possible kindly tell me how can I do this?
    Thanks,
    AK

    can I add jsse.jar to jdk1.5 version which does not contain this jar file? You are mistaken. jsse.jar has shipped with every JDK and JRE since 1.3. That's about ten years.
    What makes you think it isn't there?

  • Everytime need to add jxl.jar before rebuilding the project

    Hello,
    Everytime I have to add jxl.jar in the workspace before rebuilding the project as its path is lost.
    Is there any way out to resolve this problem??
    Thanks n Regards,
    Mandeep

    hi..   
    If you want to add external jar files ...
    and If your WD components are in DCs then you may simply solve the problem by creating External Library DCs and as usual, create a public part out of it and add to the dependencies of your WD DC.
    Follow the following steps  to create an External library and adding it to your dependent DC
         1)Go to File->New->Developmentcomponent
         2)In Window opened select Mycomponents and click Next
         3)In the Window opened Give Name(for example ExcelLib) for                                                external library    and select Type as External Library
         4)Click on Finish
    The  External Library  created is visible in Navigator perspective but not in WebDynpro Explorer perspective
         5)In the folder libraries of the externallibrary(ExcelLib) you paste the jar  file (jxl.jar).
         6)Right Click on the jarfile that you have added in the libraries folder of the  External Library ,go to Developcomponent -
    >add to public part
    7)In the widow opened give the some name  for puplic part and say ok 
    8)Now Right click on the ExternaleLibrary ,Goto DevelopmentComponent --->build
    After build is completed this External Library Dc can be used by other DC As
    Used WebDynpro Components ..where the jar file features ca be accessed    
    Regards
    Madhavi

  • [svn:bz-4.x] 15848: Add flexTasks.jar back into qa sdk zip on BlazeDS/4. x branch.

    Revision: 15848
    Revision: 15848
    Author:   [email protected]
    Date:     2010-04-30 07:00:31 -0700 (Fri, 30 Apr 2010)
    Log Message:
    Add flexTasks.jar back into qa sdk zip on BlazeDS/4.x branch.
    Modified Paths:
        blazeds/branches/4.x/qa/apps/qa-regress/build.xml

    shadowlurker wrote:
    It's problem in pam configuration files. You need to create files useradd, userdel, groupadd and groupdel in /etc/pam.d/ directory with following content:
    auth sufficient pam_rootok.so
    auth required pam_unix.so
    account required pam_unix.so
    session required pam_unix.so
    password required pam_permit.so
    You da man! I also had to add grpconv and chage to get filesystem working but all seems well now thanks!
    Doug piston had me try something that I think will help anyone else who has this problem.  Try re-installing pambase and shadow.  It generated back most of any I was missing.
    Last edited by shauder (2012-11-03 00:55:19)

  • How to add a Jar file to J2EE Server Component Library ?

    Hello,
    My objective:
    =====================================================
    To add a 3rd party jar file to be a runtime jar file to J2EE Server Component
    Library project.
    I have created a J2EE Server Component Library project. 
    I have built the J2EE Server Component Library project to get the provider.xml file and place the provider.xml under the J2EE Server Component Library project's server folder.
    Here is my problem:
    =====================================================
    I can't open the provider.xml with SAP's special editor for the provider.xml.
    The special SAP editor doesn't exist for me.
    Here is my question:
    =====================================================
    Q1) Do I copy/paste my JAR_X file where <jar_0> is located? (Below is the
          J2EE Server Component Library SDA structure.)
    Q2) If you were to update the provider.xml with notepad, what would you
    type in provider.xml for JAR_X?
    Q3) Is there anything else that I need to do?
    Thanks,
    Steve
    J2EE Server Component Library SDA structure.
    ======================================
    |-META-INF_
    |         |-manifest.mf
    |         |-sap_manifest.mf
    |         |-SearchRules.xml
    |         |-<SDA>.xml
    |         |...
    |-<jar_0>
    |- ...
    |-<jar_N>
    |-dispatcher_
    |           |-provider.xml
    |           |-properties
    |           |-runtime.properties
    |           |-persistent__
    |           |            |-<persistent_files(2)>
    |           |-descriptors_
    |                        |-<descriptor_files(3)>
    |-server_____
    |           |-provider.xml
    |           |-properties
    |           |-runtime.properties
    |           |-persistent__
    |           |            |-<persistent_files>
    |           |-descriptors_
    |                        |-<descriptor_files>
    |-os_libs____
                |-<char set>__
                             |-<platform>__
                                          |-<jvm bitlength>__
                                                            |-<native lib files>

    Thank you for all your solution...
    my provider.xml was missing the <!DOCTYPE> tag for me to use the SAP LibraryDD Editor
    Thanks again,
    Steve
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
    <provider-descriptor>
         <display-name>
          Your_Lib_Name
        </display-name>
         <component-name>
          Your_Lib_Name
        </component-name>
         <major-version>6</major-version>
         <minor-version>40</minor-version>
         <micro-version>0</micro-version>
         <provider-name>
          sap.com
        </provider-name>
         <references>
              <reference
                   provider-name="sap.com"
                   strength="weak"
                   type="library">Your_Lib_Name</reference>
         </references>
         <jars>
              <jar-name>my_jar.jar</jar-name>
         </jars>
    </provider-descriptor>

  • How to add a jar files to a project in JDeveloper 10g?

    I had created a sample appln using below imports
    import oracle.forms.handler.IHandler;
    import oracle.forms.ui.CustomEvent;
    import oracle.forms.properties.ID;
    import oracle.forms.ui.VBean;
    The above packages are available in frmall.jar only know?
    I tried to add the above jar in JDeveloper IDE (10.1.2.1.0).
    But i can't fild a exact menu in my iDE?
    How to add the above jar through menu?
    Thanks

    1. Select Tools>Project Properties.
    2. In Project properties window select Libraries.
    3. Add a project JAR with Add Jar/Zip button.

  • How do I add a jar file into the build path of the compiler?

    Hey,
    I'm trying to import a jar file into the build path of the compilation process, but it does not find the packages or the classes that are in it.
    I think I don't add it right...
              ArrayList<String> options=new ArrayList<String>();
              options.add("-d");
              options.add(targetDirectory);
              options.add("-classpath");
              for(String str:includeDirectory)
                   options.add(str);
              if (!compiler.getTask(writer, fileManager, diagnostics, options, classes, compilationUnits).call());
                    ....and I've tried this way:
         public void setTargetDirectory(String targetDirectory) {
              this.targetDirectory = "-d " + targetDirectory;
         private void compile(Iterable<? extends JavaFileObject> compilationUnits) throws Exception {
              ArrayList<String> options = new ArrayList<String>();
              options.add(targetDirectory);
              String classPath="-cp ";// tried this also with "-classpath"
              for (String str : includeDirectory)
                   classPath+=str+":";
              options.add(classPath);
         if (!compiler.getTask(writer, fileManager, diagnostics, options, classes, compilationUnits).call())
              // throw new Exception("Compilation Error");
         }Thanks in advance,
    Adam.
    Edited by: Adam-Z. on Feb 24, 2010 5:41 AM
    Edited by: Adam-Z. on Feb 24, 2010 5:42 AM

    Thank you for your reply,
    Q: Are there .class files in that directory in that jar file? (the compiler doesn't ( can't )) look for directories, it can just look for specific files , and scan to get a list of all files matching certain criteria. So if there are no class files, it will say the package doesn't exist, even if there is a directory, possibly containing other files.yes there are class files in the jar, the tree structure:
    j2MeDataChunkGenerator_Plugin\(lots of class files)
    META-INF\manifest.mf
    and thats it.
    , your code will only work on windows because other platforms use a different path separator. You should use java.io.File.pathSeparator not explicit ';" when building your classpath. (this is unrelated to your problem, but you should correct it)will do, thanks.
    Q: Is that error in your post formatted by your own diagnostics? (we could possibly help you better if we didn't have to guess!!)I would not post my own error code, this text is generated by the compiler diagnostic.
    {code}
         System.err.println(" Error details: " + diagnostic.getMessage(null));
    {code}
    Q: Is line 3 of ImageCroper_Editor.java (sic) an import statement? (we could possibly help you better if we didn't have to guess!!)it is an import error... didn't the error message stated that it is an import problem? wired, I'm sure before it did. anyway it is an import error.
    Also you don't show us what the variable includeDirectory is in terms of type, and contents, that might be helpful. (we could possibly help you better if we didn't have to guess!!)It has only one String object: "D:\%Important Documents\WorkSpaces\PacMan\ApplicationManager\Plug-in\Data Chunk Designer.jar"
    the last file on the classpath list.
    Q: Have you proven this? that i did post, in this long line of text.
    Q: Is the compiler finding other classes (in other packages) in that same jar file?No. all the class files are in the jar, they all have entries that start with "j2MeDataChunkGenerator_Plugin\*.class", and since I get 47 errors I guess it does not load any other class.
    thank you for you comments, the problem with having these errors, is that I can't even get a piece of information where this error is coming from, only that it is an import loading error package not found, what does that mean? that the jar was not loaded in compilation(no error about this), that the jar is corrupted(no error about this), that the path is incorrect(it is correct I made sure), that there is no such package in the jar(There is), that the compiler does not load the package(does it even do that?), really I can't even guess why this happens, I've been at this on and of all day today, really annoying.
    Thanks,
    Adam.

  • How to add a jar file into resource catalog in webcenter spaces

    Hi All,
    i am new to webcenter spaces. my requirement is like, i have created one adf taskflow and deployed it as a shared library.now i want to register this jar file as a resource catalog into webcenter spaces (i.e. already deployed). How to achieve this task.
    Thanks,
    Monika

    Pls do the foll actions:
    Step 1:
    File -> Import -> Selct radiobutton - "Jar file" -> Next
    -> Select the file name(ur jar file) - > click on the java button and ensure that u have selected all the file or what evre files u want " -> Finish
    If at all u r not getting any errors but the files are not apperaring in ur Project means go to
    Step 2:
    From the work bench click
    Window -> Reposiroy Explorer -> Select the Project,edition,package or type and right click and from the pop up menu click "Add to Workspace"
    This 'd work
    All the best for a successful completion of ur work
    Pramod

Maybe you are looking for

  • After IOS 8 Upgrade my movie icons disappear

    This is on my first edition iPad Mini.

  • Integrate Crystal Reports version 11.5 and Visual FoxPro

    Post Author: landc50 CA Forum: General I have developed several softwares in Visual FoxPro while using Crystal Reports Version 7 as the major reporting tool.   It was easy to invoike Crystal reports from my applications, simply by adding the Crystal

  • X240 - is there audio pass-through when using a miniDP to HDMI?

    I have an X240, which I love, but now that I've cut my cable cord and am going with Netflix and other on-line streaming options, I'd like to be able to view my streaming programs on my TV.  Can I use a cable or adapter to go from the miniDP (on the X

  • Intel macbook OSx 10.4 in a coma

    My Macbook went to sleep and is now in a coma!  Whatever I do it won't wake up, even powering it down doesn't do the trick when I power back up I get a black screen and the sleep light is on (not pulsing). Anyone got any thoughts on how to reserect i

  • Multiple Results

    Hi I can't seem to figure out how to summerize my data. The query is as follows: select studentid, studylevelno from study where studentid in (5983) group by studentid, studylevelno the result set is 5983 3 5983 4 5983 10 Now, I would like to grab on