Need some jar files

Hi,
I am going to implement an IResourceListFilter, so need jar files for :-
    com.sapportals.wcm.repository.service.layout.customizing.IParameters
    com.sapportals.wcm.service.resourcelistfilter.ICollectionListFilter
    com.sapportals.wcm.service.resourcelistfilter.IResourceListFilter
    com.sapportals.wcm.service.resourcelistfilter.IResourceListFilterService
Please let me know from where I can get these.
Regards,
Saurabh Mathur

Hello Saurabh,
I think this is the par file you are looking for:
com.sap.km.cm.service.par
Cheers,
Hermann

Similar Messages

  • Knowlwdgemanagement Java development . I need some jar files related to KM

    Hi Gurus,
    I try to develop KnowledgeManagement application in NWDS. So, i need to install some jar files . How can i install jar files in to my application and were can i findout those JA?R files.
    Points will be revert back.
    Thanks,
    Sumanth

    Hi Sumanth,
    you will find the require jar files on your portal server's file system. They are somewhere under:
    \usr\sap\<J2E>\<JC01>\j2ee\cluster\server0\apps\sap.com
    Best way to find the required jar files is to use a tool like JarFinder, ClassLocator, WinRar, etc.
    In NWDS menu choose => Project => Properties => Java Build Path => Libraries. There you can add the required jar files to your project's build path.
    Best regards,
    MArtin

  • Oracle 9iR2 in RHLE3 AS... I need some patch files...

    Hi!!! I repost these topic.
    I need a patches to Install Oracle 9i(9.2.0.1) in RHEL3.
    I know that they are in metalink, but I don't login to metalink site... *^^*
    I need some patche files...
    opatch.zip
    p1866899_8171_linux.zip
    p2974664_11i_GENERIC.zip
    p3006854_9204_LINUX.zip
    p3095277_9204_LINUX.zip
    p3119415_9204_LINUX.zip
    p3016968_9204_LINUX.zip
    p3078144_9204_GENERIC.zip
    p2617419_210_GENERIC.zip
    Could somebody send them to email, my email address is [email protected]
    Thanks, Have a good day
    p3095277_9204_LINUX.zip -> usuable my FTP site
    ftp://www.oorizip.org

    You would think that Oracle should put a better release (for RHEL 3) at least one that is installable!
    But maybe you also should ask: is it ok to redistribute these patches? Is it ok to access these files without a support contract? (I don't have the details available but I'd guess that there are restrictions...)

  • I upgraded to OSX.8 and cannot load MS Encore. I desperately need some email files from ENCORE. Is there a program that can open my ENCORE email files?

    I upgraded to OSX.8 and cannot load MS Encore. I desperately need some email files from ENCORE. Is there a program that can open my ENCORE email files?
    SLM01

    Do you mean Entourage? It appears you have Office 2004 or older. Those are PowerPC apps only and will not run in Lion or later. If you need access to those emails like, "RIGHT NOW!", then I would suggest purchasing Office 2011 for Mac. Outlook is the new Office email client in 2011 and can import your older Entourage data.

  • JRE won't cache some jar files.

    I have seen this behavior several times and cannot figure it out. For some reason, the JRE will not always cache jar files. I have tried to narrow down a pattern, but cannot. The closest pattern I can see is that on occasions when a jar is not cached, the file was not signed. I have not seen an instance when a signed jar would not cache. Having said that, occassionally, unsigned jars do appear to be cached.
    This behavior has been seen with all versions from 1.4 - 1.6. In all cases, the max cache size is far great than would ever be needed and in most cases, jar cache is cleared prior to testing.
    Any hints, or is this expected behavior? If expected, is it documented anywhere?

    Hi Matthew,
    I get the same error when using the Camino browser and StuffIt v9.0.1. So, I'd guess it's a problem with the file rather than anything on our machines.

  • Need some Jar help

    Hi all -
    For the project I'm working on now, I need the apache HSSF POI for some excel file work. My project compiles fine, then I attempt to jar it and run the jar off a remote server. Once it gets to my FileHandling class, it throws an exception and gives me:
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFWorkbook
            at com.esposito.afcfilehandling.AFCFileOutput.<init>(AFCFileOutput.java:21)
            at com.esposito.afcmainmethod.AFC.main(AFC.java:42)Note - this builds and runs fine in the IDE (eclipse)
    Can anyone please help?

    Your classpath is setup correctly inside of your IDE. However, your distribution apparently has a bad classpath or a missing jar.

  • Help needed with jar file

    hi, first of all sorry if my post is in wrong forum...but my application is done using swing so i am posting this here....and regarding my question...
    I have made an GUI using Java swings and my application is working fine. Now i want to make an executable jar file for my GUI. I have read some tutorilas on making jar files and this is what i have done...
    i have created a manifest file called mainClass.txt which has
    Main-Class: MainWindow ,where MainWindow is my main class name.
    Then i ran the jar utility with this command line:
    jar cmf mainClass.txt example.jar *.class
    With this line, I told jar to create a JAR file (option c) with modifications to the manifest file (option m) as specified within mainClass.txt, naming the JAR file (option f) as example.jar and including everything that matches the pattern *Class
    everything is file till now but my problem is ...I have some library files from JFreechart software included in my GUI to generate barcharts..How can i include these library files in my example.jar file..
    Kindly help me
    Thanks
    byee

    I had this problem too. I ran my program out of JCreator and it worked flawlessly. I jarred it up into and Executable Jar and I would get a runtime error explaning I have not included the correct libraries.
    What I did was look at the error, for example say it said something like:
    org.uhoh.PathSys ClassDefNotFound (or something similar to this)
    What I did was extract the library that contained that class file. Then in my project file where I kept my classes I made the folder org, then in org I made uhoh. Inside uhoh I copied over PathSys.class.
    I hope I addressed the problem you speak of. I am only a novice but this is how I figured it out. If anyone knows a better way let us know =D

  • JAR file which needs other JAR files

    Hi,
    I try to run a jar file, which imports some external classes. These classes are in the library "reader.jar", which is added to the classpath. But if I start it with ...
         D:\TestProject>java -cp ./reader.jar -jar viewer.jar
    ... I get an error: java.lang.NoClassDefFoundError: de/readers/TestReader
    If I copy the file "reader.jar" to "... j2sdk1.4.2/jre/lib/ext", I can start
    "viewer.jar" successfull with ...
         D:\TestProject>java -jar viewer.jar
    Why can't I add "reader.jar" to the classpath or why is it not used by Java?

    When you run JAR's, you can not use the classpath defined at the command prompt (well, you can use it, it is just ignored). The JAR has its own class path defined in its manifest file. Add:
    CLASS-PATH: reader.jar
    to the manifest file of the viewer.jar and it should work.

  • Help needed: getting jar files to work.

    Right, to start off, i have been doing php and mysql for a long time and i thought it's time to start using java.
    So now im trying to create an application. I use eclipse. All works well if i run the program from eclipse. But i want to create and executable or a jar file first. I used JSmooth but with that i get an error "Could not find the main class".
    While exporting the project as a jar i specified the main class in manifest specification.
    So these are my classes:
    the Main.class
    public class Main{
         public static void main(String[] args)  {
              PageFrame page = new PageFrame();
              page.show();
    }and the PageFrame.class
    import java.net.*;
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    class PageFrame extends JFrame implements ActionListener,MouseListener{
         String[] skillnames = {"attack","hitpoints","mining","strength","agility","smithing","defence","herblore","fishing","ranged","thieving","cooking",
                   "prayer","crafting","firemaking","magic","fletching","woodcutting","runecraft","slayer","farming","construction","hunter","summoning"};
         JTextField username = new JTextField("",12);
         JTextArea box = new JTextArea(10,12);
         JButton search = new JButton("Search");
         int[] differences = {0,83,174,276,388,512,650,801,969,1154,1358,1584,1833,2107,2411,2746,3115,3523,3973,4470,5018,5624,6291,7028,7824,
                   8740,9730,10824,12031,13363,14833,16456,18247,20224,22406,24815,27473,30408,33648,37224,41171,45529,50339,55649,61512,67983,
                   75127,83014,91721,101333,111945,122660,136594,150872,166636,184040,203254,224466,247886,273742,302288,333804,368599,407015,
                   449428,496254,547953,605032,668051,737627,814445,899257,992895,1096278,1210421,1336443,1475581,1629200,1798808,1986068,2192818,
                   2421087,2673114,2951373,3258594,3597792,3972294,4385776,4842295,5346332,5902831,6517253,7195629,7944614,8771558,9684577,10692629,
                   11805606,13034431,14567891};
         URL page;
         static String name;
         JLabel[] skills  = new JLabel[24];
         JLabel skillicons  = new JLabel();
         public PageFrame(){
              super("Stats Lookup");
              setSize(800,600);
              setResizable(false);
              try{
                   UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
                   SwingUtilities.updateComponentTreeUI(this);
              }catch (Exception e){
                   System.err.println("Yo" + e);
              //teen labelid;
              for (int i = 0; i < skills.length;i++){
                   ImageIcon icon = new ImageIcon(PageFrame.class.getResource("images/skillimages/" + skillnames[i] + ".gif"));
                   skills[i] = new JLabel("00",icon,JLabel.CENTER);
              JPanel pane = new JPanel();
              GridBagLayout maingrid = new GridBagLayout();
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              GridBagConstraints constraints = new GridBagConstraints();
              JPanel skillPane = new JPanel();
              GridBagLayout levelslyo = new GridBagLayout();
              GridBagConstraints sConstraints = new GridBagConstraints();
              sConstraints.ipadx = 15;
              sConstraints.ipady = 10;
              skillPane.setLayout(levelslyo);
              int k = 0;
              int m = 1;
              buildconstraints(sConstraints,12,4,1,1,2,2);
              skillPane.add(skillicons);
              for (int i = 0; i < skills.length;i++){
                   buildconstraints(sConstraints,m,k,1,1,2,2);     
                        levelslyo.setConstraints(skills, sConstraints);
                        //skills[i].setText(" 0 ");
                        skillPane.add(skills[i]);
                        skills[i].addMouseListener(this);
                        m+=2;                    
                        if (m == 7){
                             m = 1;
                             k +=1;
              /*m = 0;
              k = 0;
              for (int i = 0; i < skills.length;i++){          
                   System.out.println("Paremale: " + m + " Alla: " + k);
                   buildconstraints(sConstraints,m,k,1,1,2,2);     
                   levelslyo.setConstraints(skillicons, sConstraints);
                   skillicons = new JLabel(icon);
                   skillPane.add(skillicons);
                        m+=2;                    
                        if (m == 6){
                             m = 0;
                             k +=1;
              buildconstraints(constraints,0,0,1,1,100,100);
              maingrid.setConstraints(username, constraints);
              buildconstraints(constraints,1,0,1,1,100,100);
              maingrid.setConstraints(search, constraints);
              buildconstraints(constraints,0,1,1,1,100,100);
              maingrid.setConstraints(skillPane, constraints);
              pane.setLayout(maingrid);
              constraints.fill = GridBagConstraints.BOTH;          
              search.addActionListener(this);
              box.setEditable(false);
              buildconstraints(constraints,1,1,2,1,120,100);
              maingrid.setConstraints(box, constraints);
              pane.add(username);
              pane.add(search);
              pane.add(box);
              pane.add(skillPane);
              setContentPane(pane);
              //getContentPane().add(scroll);
              pack();
              setVisible(true);
              WindowListener l = new WindowAdapter(){
                   public void windowClosing(WindowEvent evt){
                        System.exit(0);
              addWindowListener(l);
         void buildconstraints(GridBagConstraints gbc, int gx, int gy, int gw, int gh, int wx,int wy){
              gbc.gridx = gx;
              gbc.gridy = gy;
              gbc.gridwidth = gw;
              gbc.gridheight = gh;
              gbc.weightx = wx;
              gbc.weighty = wy;
         /*Vector ranks = new Vector();
         Vector levels = new Vector();
         Vector exp = new Vector();*/
         class Stats{
              int[] levels = new int[34];
              int[] experience = new int[34];
              int[] ranks = new int[34];
         Stats stats = new Stats();
         public void getStats(URL url){          
              URLConnection conn = null;
              InputStreamReader in;
              BufferedReader data;
              String line;          
              StringBuffer buf = new StringBuffer();
              try{
                   conn = this.page.openConnection();
                   conn.connect();
                   //box.setText("Connection opened");
                   in = new InputStreamReader(conn.getInputStream());
                   data = new BufferedReader(in);
                   //box.setText("Reading data...");
                   int ts=0;
                   while ((line = data.readLine()) != null){
                        buf.append(line + "\n");
                        StringTokenizer tokenize;
                        tokenize = new StringTokenizer(line.toString(),",");
                        int[][] paarid = {{1,0},{2,3},{3,6},{4,1},{5,9},{6,12},{7,15},{8,11},{9,17},{10,16},{11,8},{12,14},{13,13},
                                  {14,5},{15,2},{16,7},{17,4},{17,10},{19,19},{20,20},{21,18},{22,22},{23,21},{24,23}};
                        if (ts < 25 && ts > 0){
                             int slot = paarid[ts-1][1];
                                  stats.ranks[slot] = Integer.parseInt(tokenize.nextToken());
                                  int yo = Integer.parseInt(tokenize.nextToken());
                                  stats.levels[slot] =yo;
                                  stats.experience[slot] = Integer.parseInt(tokenize.nextToken());                         
                        ts++;
                   for (int i = 0; i < skills.length;i++){
                        String text = ""+stats.levels[i];//testings[i];//
                        skills[i].setText(text);
              }catch(IOException e){
                   box.setText("Insert a username \nfirst!");
         public String getNextXp(int level, int currxp){
              String nextXp;
              if (level > 98){
                   nextXp = "N/A";
              }else{
                   nextXp = ""+(differences[level] - currxp);
              return nextXp;
         public void actionPerformed(ActionEvent evt){
                   String newuser = username.getText().toString();
                   name = newuser;
                   String address = "http://hiscore.runescape.com/index_lite.ws?player="+name;
                   try{
                        page = new URL(address);               
                        getStats(page);
                   }catch(MalformedURLException e){
                        box.setText("Insert a username");
                   repaint();
         public void mouseEntered(MouseEvent e) {
              //if (experience[].isEmpty()){          
                   Object s = e.getSource();
                   for (int i = 0; i < skills.length;i++){
                        if (s == skills[i]){
                             box.setText("Rank: " + stats.ranks[i] + "\nExperience: " + stats.experience[i] + "\nExp until next: " + getNextXp(stats.levels[i],stats.experience[i]));
         public void mouseExited(MouseEvent e) {
    box.setText("");
         public void mouseClicked(MouseEvent e) {
         public void mousePressed(MouseEvent e) {
         public void mouseReleased(MouseEvent e) {
    This is just a little project i thought i'd make for learning.
    But can anyone help me make a working jar or an exe file?
    The Jar i created does nothing, no error or anything.
    Thanks for Help.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    How should i run the jar file then? I am double clicking it yes.
    EDIT: i ran the program through command line and i got an error:
    Exception in thread "main" java.lang.NullPointerException
    at javax.swing.ImageIcon.<init>(Unknown Source)
    at PageFrame.<init>(PageFrame.java:41)
    at Main.main(Main.java:4)OK - so it looks like you've found a command line!
    You read these stack traces from the top down. Often the most interesting line is the first line that refers to your code. In this case line 41 of PageFrame.java which, I guess is this:
    ImageIcon icon = new ImageIcon(PageFrame.class.getResource(
            "images/skillimages/" + skillnames[i] + ".gif"));The ImageIcon constructor is grumbling about being told to construct an icon from a null resource. getResource() will return null if it cannot find the resource that you specify.
    The first thing to do is check that the .gif image is where it should be. You have specified it as "images/skillimages/etc" so use the command line to view the contents of the .jar file (or maybe Eclipse will let you do this). Next to PageFrame.class there should be a folder "images" and within it a folder "skillimages" and within that the image file. If not then your jar export has been seen up wrongly and is not including the required resource files.
    (The "View" command is explained here: [http://java.sun.com/docs/books/tutorial/deployment/jar/view.html].)
    Next check the case of the file names. On Windows getResource() will not worry about the cAsE of filenames so the resources will be located fine when running the program unjarred (including within Eclipse). But it does worry about the case of jar entry names. Bottom line: keep the file names all lower case because you use them that way in the code.
    Finally, in case it is a particular image resource that's causing the problem you could add some code to print out its name just before you try and create the icon.
    for (int i = 0; i < skills.length;i++){
        System.out.println(
                "About to make icon from " + "images/skillimages/" + skillnames[i] + ".gif");
        ImageIcon icon = new ImageIcon(PageFrame.class.getResource(
                "images/skillimages/" + skillnames[i] + ".gif"));
        skills[i] = new JLabel("00",icon,JLabel.CENTER);
    }

  • Why won't some .jar files open of my mac

    It is a MacBook Pro 15inch core duo from late 2008. It is running what ever software it came with. It opens a select few .jar files but the majority it will not open.
    I would like to solve this without having to update the software, so if you thibk you have a solution please share it.

    Most likely because the jar file was created using a later version of Java than you have on your system. So, you need to bring your version of Java up to date.

  • Jdeveloper remove some Jar files while create deployable of ADF Application

    Hi,
    i am using JDeveloper11.1.1.5 with weblogic server 10.3.5
    i have created one ADF application.
    it works fine with integrated server.
    now i want to create the Deployable EAR file for this application to deploy it on another server (Other Than IntegratedWeblogic Server)
    when i try to create the EAR following trace would be printed on Deployment-Log
    [05:39:40 PM] ---- Deployment started. ----
    [05:39:40 PM] Target platform is (Weblogic 10.3).
    [05:39:40 PM] Running dependency analysis...
    [05:39:40 PM] Building...
    [05:40:12 PM] Deploying 3 profiles...
    [05:40:16 PM] Wrote Web Application Module to D:\PIAF_ADF v1.0\ViewController\deploy\PIAF_v0_ViewController_webapp1.war
    [05:40:16 PM] Wrote Archive Module to D:\PIAF_ADF v1.0\Model\deploy\PIAF_v0_Model_adflibPIAF_v0.11.jar
    [05:40:17 PM] Removing the following prohibited entry from the EAR: lib/trinidad-api.jar --------------------------------------------------------------- @
    [05:40:17 PM] Removing the following prohibited entry from the EAR: lib/trinidad-impl.jar --------------------------------------------------------------- @
    [05:41:01 PM] Wrote Enterprise Application Module to D:\PIAF_ADF v1.0\deploy\PIAF_v0_application1.ear
    [05:41:01 PM] Elapsed time for deployment: 1 minute, 21 seconds
    [05:41:01 PM] ---- Deployment finished. ----
    if you see the lines highlighted by @
    here it removes the trinidad-api.jar and trinidad-impl.jar from my EAR saying that "Removing the following prohibited entry from the EAR: lib/trinidad-api.jar "
    so why this happen ?
    this EAR file creates problem while deployment.
    if i manually put both Jars in EAR, it works fine..
    can anybody please help on this ?
    thanks in advance...

    hi timo,
    thanks for quick reply..
    but i don't think so it is present on weblogic because i not put that files in EAR it gives me some classDefNotFound or classNotFound exception.
    and when i put those files, my application is deployed and workes fine..
    thanks,

  • Need JAR files for load testing the dicoverer plus 9.0.4

    I am able to capture the Applet events in oracle discoverer plus 9.0.4 using loadrunner. But i am not able to replay the script. For replaying the script it needs some jar files to be included in the classpath. Source.jar,Xmlparserv2.jar,inner.jar and remoteclient.jar files. I am not able to find out the source.jar and remoteclient.jar in server.
    Any one help me out to get all these jar files with complete stuff to include in classpath and replay that is run the script in loadrunner.
    i need these jar files urgently. Version is discoverer plus 9.0.4

    Hi, Bhushan and all!!
    I have the dll's needed for the connection:
    - GxSiebelBridge.dll
    - Interop.SiebelApplicationServer.dll
    - Interop.SiebelBusObjectInterfaces.dll
    - Interop.SiebelDataServer.dll
    Tell me if you want it. You can implement these dll's with JNI (Java Native Interface).
    I need the jars, too. If anyone have it, please send me.
    Thanks!!

  • Do I need to add to add a new jar file to the WLS ?

    I am new to java development and would like to know if I were to use a new jar
    file developed by another party in my EJB development, do I need to have this
    jar file available in WLS when I deploy the EJB to it ?
    I think this is not required but just need a confirmation.
    Thanks

    Hi,
    I take this to mean you are using java classes from the 3rd party jar in your
    EJB bean class. If that is the case, then you need the jar file in your classpath
    when you compile the EJB classes.
    Also, you will need the jar file to be in the classpath when the EJB is used.
    You can do this in a variety of ways. If the 3rd party jar is going to change
    infrequently, then you can put it in the system CLASSPATH in your startWebLogic
    script. Or you can add all the classes of the jar file in the root level of the
    EJB (Yuck!!).
    Perhaps the best answer is to create an enterprise application (EAR). Then you
    place the jar file in the root level of the EAR. In the META-INF\MANIFEST.MF
    file of the EJB place
    Class-Path: filename.jar
    Then when you build the .ear file use:
    jar -cvfm ..\commuterLog.jar META-INF\MANIFEST.MF *
    hope this helps,
    pat
    "John" <[email protected]> wrote:
    >
    I am new to java development and would like to know if I were to use
    a new jar
    file developed by another party in my EJB development, do I need to have
    this
    jar file available in WLS when I deploy the EJB to it ?
    I think this is not required but just need a confirmation.
    Thanks

  • Oracle 9iR2 in RHLE3 AS... I need some files...

    Hi!!!
    I need a patches to Install Oracle 9i(9.2.0.1) in RHEL3.
    I know that they are in metalink, but I don't login to metalink site... *^^*
    I need some patche files...
    opatch.zip
    p1866899_8171_linux.zip
    p2974664_11i_GENERIC.zip
    p3006854_9204_LINUX.zip
    p3095277_9204_LINUX.zip
    p3119415_9204_LINUX.zip
    p3016968_9204_LINUX.zip
    p3078144_9204_GENERIC.zip
    p2617419_210_GENERIC.zip
    Could somebody send them to email, my email address is [email protected]
    Thanks, Have a good day
    p3095277_9204_LINUX.zip -> usuable my FTP site
    ftp://www.oorizip.org

    I'm sorry. My mistake.
    Now my ftp site is avaliable.
    Thank you joel.

  • Add jar files and use those classes at the runtime

    Hi All,
    I need to add some jar files at the runtime depends on which the user selects where the jar file is located and i need to import those classes in other class for some functionalities . I could add jar files by using the URLClassLoader and Class.forName("myjar.myclassname") is also succeeded and i have no clue how to use those classes with in the jar file as i couldn't import those classes also in the source because the jar files are being added at the runtime(This leads to class not found exception at the compile time).
    I had found a complicated way of using those classes after being added at the run time as below.
       Class clazz = Class.forName(myClass);
                final Method method = clazz.getDeclaredMethod(requiredMethod, new Class[]{URL.class});
                final Object returned = method.invoke(clazz.newInstance(), new Object[]{request}); but, its really pain to use in this way in all the places.
    Does any of you have simpler suggestions on how to achieve this?
    Thanks,
    Venky.

    Thanks jschell. Yes, you are right. I had found that using reflection API is the only way to load classes at the run time. But according to our application using reflection makes the application little complex, so while start of the application or during other modifications, i am overwriting my jar file to the latest one using FileChannel class as below
          FileChannel ic = new FileInputStream("new.jar").getChannel();
          FileChannel oc = new FileOutputStream("old.jar").getChannel();
          ic.transferTo(0, ic.size(), oc);
          ic.close();
          oc.close();After this code is executed, our application totally uses the new jar file.It is little fast than using reflection. Is this a good idea?

Maybe you are looking for