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

Similar Messages

  • 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

  • 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.

  • Deploying Java Desktop App using executable JAR files

    Hi there.
    Today I am very optimistic about java. I am a beginner, and I had tried (in my few free time) to understand how to deploy java desktop apps.
    I am using the lattest NetBeans IDE to do the programming and it is very very fast and optimized.
    Going to the point, I tried some time ago to deploy an application (made with this IDE) using JAR files, but even though the application run well on my IDE, when I packed it, it rised an error saying that
    java.lang.NoClassDefFoundError: org/netbeans/lib/awtextra/AbsoluteLayout
    I was using an absolute layout on my JFrame forms and this AbsoluteLayout is provided by netbeans and not by the normal SDK.
    I then looked for the absolute layout class and found a jar file in the following path:
    C:\netbeans\modules\ext\AbsoluteLayout.jar
    So I mounted the Jar file in my File Systems and then added the contents of the file to myApp.Jar file.
    I used the automated Jar Recipe Packaging feature of netbeans, that is why I needed to mount the AbsoluteLayout.jar file into my file systems.
    Now it runs fine by just right clicking the MyApp.jar file from Windows Explorer.
    In a next reply to this topic I will include some sample code so that anybody requiring to do such implementation can take this for help.
    Regards!
    JN

    Well,
    I will take some time here to show the basic source code and procedure to create a desktop application, pack it up in a Jar file for deployment, add other classes or jars to the deployment jar file and finally open the jar file as an executable. This applies for either windows and linux environments.
    Take in count i am using Netbeans IDE 3.x (3.5)
    First I open the IDE and create a new project called MyDesktopApp. This is done by going to the menu Project / Project Manager. Then click on the New button and specify the project name and click on OK.
    At this point, the Filesystems tab in the project explorer is empty. So I mount a directory to store myDesktopApp in it. I selected c:\MyDesktopApp but you can select any name you want.
    To mount the directory you follow these steps:
    1. Right-click on File Systems
    2. From the contextual menu select Mount > Local Directory
    3. In the filechooser window, you just browse it and SELECT the directory to mount. Be aware that you can even create the directory on this window. Do not enter (double-click) into the directory you want to mount, just select it and click on finish...
    4.Then the directory entry appears under the filesystems node of the project explorer.
    Now you have to create your application. You can either create a package (special configured and tracked directory) or you can create the clases directly inside the directory. For tidy project, I will create the package.
    To create the package follow these instructions:
    1. Right-click on the mounted directory and from the contextual menu select New > Java Package
    2. In the New Wizard - Java Package window, type the package name and click on finish. I use the "MyDesktopApp" as package name.
    OK. Now the package is created under the mounted directory. Now we have to create the Main Class. In this case I will use a JFRAME as the main class but you can create any class you want.
    To create the JFRAME as main class follow these steps:
    1. Right click on the java package you just created and select New>JFRAME from the contextual menu. If you do not see the JFRAME option on the NEW sub menu you will have to select the All Templates option. I explain the All Templates option now on, it will be easier to use the JFRAME if available. Once you use JFRAME with the all templates then the JFRAME will show up in further NEW usage.
    2. So finally we used the All Templates, and you select the Java GUI Forms > JFRAME form option and click on NEXT.
    3. Give it a name. (I used MyDesktopAppFrm) and click on finish. Be aware you can set advanced options by clicking on next. But for the purposes of this topic we will use default options so click on FINISH
    4. A new JFRAME form appears inside your package. Right click on the form and select Set layout > Absolute Layout.
    5. Add some controls and code. I added a label and a button. And coded the ActionPerformed event of the button to say hello! on the label. this is up to you. The code just looks as follows:
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    // Add your handling code here:
    jLabel1.setText("Hello folks!");
    6. Compile and execute the form.
    Let's say this is our Desktop Application. Now We will pack it in a Jar in two steps...
    A. Create a JAR file (Recipe)
    1. Right-click on your package and select New > All Tempaltes (Long Route) You can also select New > JAR Recipe if available.
    2. On the New Wizard Window, choose the JAR ARchives > JAR Recipe template and click on NEXT
    3. I used MyDesktopApp as the file name and Defaults and then click on Next.
    4. Specify the JAR Contents. Select the Package (not the mounted folder) from the mounted file system and click on add and then click on NEXT twice...
    5. On the JAR Manifest window, click on GENERATE
    6. Edit the manifest in the window to add the following code:
    Main-Class: MyDesktopApp.MyDesktopAppFrm
    7. Ensure the Main-Class definition is the same as your java package and JFRAME name. Click on FINISH
    8. At this point we have a jar file in your project directory but this file wont run because it is missing some Netbeans clases that we will add in the next set of steps... Just to check, compile the file (right click on the JAR file and compile) and try to execute. It must compile but must not execute.(well if it executes you are done. It may execute if you did not set the lay out of the form as AbsoluteLayout)
    B. Add the AbsoluteLayOut to the JAR
    1. Right click on File Systems and select Mount > Archive Files
    2. Look for your netbeans installation folder and select the following file:
    .../netbeans/modules/ext/AbsoluteLayout.jar
    3. Click on finish
    4. Now the JAR File is mounted in the file systems.
    5. Right-click on your MyDesktopApp.JAR file and select properties.
    6. Look for the contents property click once on it and then on its elipsis button [...]
    7. From the FileSystems box in the Contents window, select the AbsoluteLayOut file and click on Add
    8. Then the system asks you if you are sure. Of course you are so click OK. (If not sure, just read the message text and click OK...:-))
    9. Click on OK
    10. Compile your JAR Recipe (right click on it and Compile)
    11. Now you must be able to run the file by right clicking it and EXECUTE.
    12. Also you must be able to run the file by double clicking the file from a Windows Explorer. You may receive a message asking to select the program to run the file with. You must browse and select the Javaw.exe file in the bin directory of your Java RUn Time installation. This is typically located at C:\j2sdk1.4.0_01\jre\bin or something like that. Use the File-Search feature of window to locate the JAVAW.exe file if needed.
    I hope this long explanation helps somebody to deploy Java Desktop applications. Please reply the message if it helps you just to know it was useful.
    Thanks for your time....
    JN

  • 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.

  • 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.

  • 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);
    }

  • Java Plugin and GIFs from Jar file...

    This used to work and I haven't looked at it for a while. First thing I did is run the old java applet web page with the old jar file, kinda just to lay eyes on the thing again.
    It had to download a new plug-in from Sun, and upon doing so, reports a new error indicating that the value for the cache_version attribute in the HTML is incorrect. It was 1.0 (always has been) and the plugin says it needs to be in X.X.X.X format instead.
    So, that isn't a nice change to make in the plugin at this time. However, if I just click okay and close the error dialog, at least it works fine after that.
    In my attempt to get rid of the dialog I change the cache version to 1.0.0.0, upon doing this
    the toolbar images no longer load, it says there is a java.io.FilePermission error.
    We'll it doesn't make any sense that a mere change to cache version caused that so I changed the version back to the apparently erroneous value of 1.0, and then the toolbar images work again ! But I get the permission error.
    Any ideas how I can fix these pesky images loading from a jar ?
    Do you have any code that loads images out of a jar in an applet succesfully ?
    Or have any suggestions on what I could try ?
    Below is the code I'm using to load the images, where icoXXXX is a ImageIcon object, and fileameXXXX is a string containing a relative file path such as "images/highcolor/toc_color.gif" (this code executes in the applet's init() method (called by the plugin):
    java.net.URL urlToc = getClass().getResource(filenameToc);
    java.net.URL urlTocBW= getClass().getResource(filenameTocBW);

    dunno why but
    getClass().$blah... wouldn't work for getting images in an applet from a jar for me.
    But this does:
    Class c = Class.forName("java.lang.Object");
    InputStream in = c.getResourceAsStream("/images/myImage.gif");
    byte[] buffer = new byte[in.available()];
    in.read(buffer);
    icon = new ImageIcon(buffer);
    when included with the usual default exception handling.
    Lemme know if that doesn't work for you.
    cheers
    -Ragu
    Overweight is when you step on your dog's tail and it dies.

  • 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.

  • Java error while trying download jar file into SYS Schema

    Hi,
    I am trying to use UTL_DBWS package for Consuming Web Services in Oracle 10.2.0.4
    I donwloaded latest copy of the dbwsclient.jar file from the below link.
    http://www.oracle.com/technology/sample_code/tech/java/jsp/dbwebservices.html
    I chose the below option for downloading the jar file since i use 10.2.0.4 oracle version.
    10.1.3.1 Callout Utility for 10g and 11g RDBMS (ZIP, ~13MB)
    I tried to download the jar file into SYS schema using the below command.
    loadjava -u sys/password -r -v -f -genmissing -s -grant public D:\oracle\Product\10.2.0\DB_1\sqlj\lib\dbwsclientws.jar D:\oracle\Product\10.2.0\DB_1\sqlj\lib\dbwsclientdb102.jar
    But i keep getting the below error.
    class oracle/security/wss/interceptors/ClientSecurityDescriptor: resolution
    existing : Failures occurred during processing
    Can you please advice how do i resolve this error.
    Regards,
    MSP

    I suspect that there is more to the error message than what you are reporting.
    If so please post the entire message.

  • Need some important documents related to FundsManagement?????????

    Hi,
      Can you please send some important documents related to FundsManagement apart from help.sap.com PLZZZZ???
    Regards,
    Andy

    Dear Sandeep,
    Probably you can find good material in the following location :
    SAP Business One SDK General
    REgards
    Arshdeep

  • Import data using Excel and Oracle SQL Developer - I need some help

    Dear friends,
    I'm using Oracle SQL Developer 1.5.1 and I need to import an Excel file into a database table. If I try to import this file in XLS format, fields and headers are correctly being shown and separated, but if I press "Next" button, it simply doesn't do anything - it stays stopped.
    I did some search here in this forum and it seems to me that, when you try to import a file via XLS format, SQL Developer has bugs. Is this correct?
    If I save the same file in CSV format and try to import the same file, it goes ahead, but SQL Developer is not separating fields and headers correctly. It combines all CSV fields into one - let's say Column0 and fields 1;TEST;01/01/2000 below the same Column0.
    Saving the file in CSV format is not a problem, taking a very little time. But I don't know how to make SQL Developer import it correctly. Could somebody please help me? Thanks in advance.
    Best regards,
    Franklin

    Hello K,
    yes, you're right. I found the following topic after posting this question here.
    Re: After update to 1.5.1, import from Excel fails
    I downloaded version 1.5.0 and I'll use it whenever I import data from Excel.
    Thanks,
    Franklin

Maybe you are looking for

  • Need_help_in_an_update_query

    hi i have a requirement, wherein i have to update records in such a way that each student's marks are copied in a new column of the next student record. can anybody help me with it please regards ~aamir

  • File sharing with 3 computers, working partially but not entirely

    I have three computers on my network and file sharing works only partially. Here's my problem: Computer 1 can connect to Computer 2 and 3 And, vice versa, Computers 2 and 3 can connect to Computer 1 So file sharing is obviously working, to a certain

  • Finder "Not Responding" after start-up

    I'm trying to help my family member solve a long-distance mac problem, so I'll share as much detail as I've been able to gather through screen sharing. For about 3 weeks his iMac has been running slow, to the point of almost being un-usable, so I set

  • Image viewer overlaps the menu

    Hi, Please need some help with an imageviewer. I'm using a jquery.slidingGallery-1.2.min on my homepage: www.rusteloos.com I've placed this viewer in a cell. But when the window is made smaller the viewer overlaps  the menu. How do I make sure the vi

  • Help with vista(32) to win7(64)

    Hi, I was using Vista (Ultimate 32bit), having upgraded to 9.0.3 - it failed to connect to my iPhone due to Windows security update error. I backed up my USER\MY MUSIC\> to a USB stick and upgraded to Windows7 (Ultimate 64bit). Installed 9.0.3 and re