I can not understand the following error guide me

sir
operating system=window 2000
i build the jar file which contain one folder name images
set the classpath as following
classpath=.;e:\project demo\hospital\my.jar;
i want to access the files and images which is in the my.jar file
the code is as follows
import javax.swing.*;
import java.awt.*;
import java.io.*;
import java.util.*;
import java.awt.event.*;
import java.net.*;
public class SplashScreen extends JFrame implements Runnable
//define Variables
Properties prop=new Properties();
URL u1=null;
SplashScreen()
this.myproperties();
//rest of code
public void myproperties()
try{
u1=getClass().getResource("images/user.properties");
System.out.println("I am here one");
System.out.println("String is "+u1);
//print String is jar:file:/E:/project%20demo/hospital/my.jar!/images/user.properties
prop.load(new FileInputStream(u1.toString()));
System.out.println("I am here two");
name=prop.getProperty("name");
password=prop.getProperty("pass");
image=prop.getProperty("imagepath");
monop2=prop.getProperty("monop2");
backp2=prop.getProperty("backp2");
btnor=prop.getProperty("btnor");
btpress=prop.getProperty("btpress");
centerp3=prop.getProperty("centerp3");
piclabel1=prop.getProperty("piclabel1");
piclabel2=prop.getProperty("piclabel2");
piclabel3=prop.getProperty("piclabel3");
caps=prop.getProperty("caps");
}catch(Exception ex){System.out.println(ex.getMessage());}
}the Exception is
jar:file:\E:\project%20demo\hospital\my.jar!\images\user.properties (The filename, directory name, or volume label syntax is incorrect)
what can i do plz help me
my .jar is in the same directory where class file is located
i want to access the properties file which is in my.jar\images\user.properties
how can i access

u say use / instead of \
where should u means in the class path plz confirm me

Similar Messages

  • Error Posting IDOC: need help in understanding the following error

    Hi ALL
    Can you please, help me understand the following error encountered while the message was trying to post a IDOC.
    where SAP_050 is the RFC destination created to post IDOCs
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>FM NLS_GET_LANGU_CP_TAB: Could not determine code page with SAP_050 Operation successfully executed FM NLS_GET_LANGU_CP_TAB</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error: FM NLS_GET_LANGU_CP_TAB: Could not determine code page with SAP_050 Operation successfully executed FM NLS_GET_LANGU_CP_TAB</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Your help is greatly appreciated.............Thank you!

    Hi Patrick,
      Check the authorizations assigned to the user which you used in the RFC destinations, If there is no enough authorizations then it is not possible to post the idocs.
    Also Refer this Note 747322
    Regards,
    Prakash

  • My 5S is starting to scramble my calls so you can not understand the party you are speaking with, does anyone know why?

    My 5S is starting to "scramble" my calls so you can not understand the party on the other end.

    Basics from the manual are restart, reset, restore
    Have you tried all of these?

  • I do not understand the compiler error message

    The code below is supposed to get multiple integer inputs from the console, place them on an array, and check for the NumberFormatException. When I compile it, it is giving an error message that I do not understand.
         A console program that accepts integer input from the user and throws a NumberFormatException if the entry is not an integer.
         Created on: August 20, 2003
    import javax.swing.*;
    import java.util.*;
    public class ArgstoNumbers2
         public static void main(String[] args)
              //Prompt user for input
              System.out.print("Enter a number: ");
              //Create and array to accept the user's input
              int [] integerArgs;
              //Fill array with users input
              while(true)
                   try
                        integerArgs = getInt();
                        break;
                   //Verfy that the input is an integer
                   catch (NumberFormatException e)
                        System.out.println("Not a number. Please enter a number.");
                        System.exit(1);
         //Start of the getInt() method
         public static int getInt()
              String numberString;
              int intVal = 0;
              boolean endChar = false;
              while(!endChar)
                   try
                        numberString = getString();
                        intVal = Integer.parseInt(numberString);
                        endChar = true;
                   catch (NumberFormatException e)
                        System.out.println("Not a number. Please enter a number.");
                        System.exit(1);
              return intVal;
         //End of the getInt() method
         //Start of the getString() method
         public static String getString()
              int aChar = -1;
              String consoleChars = "";
              boolean endChar = false;
                   while(!endChar)
                        try
                             aChar = System.in.read();
                             if ((aChar == 10) || (aChar == 13)) endChar = true;
                             else consoleChars = consoleChars + (char)aChar;
                        catch (Exception e)
                             System.out.println(e.getMessage());
                             System.exit(0);
              return consoleChars;
         //End of the getString() method

    Hi,
    A possible problem would be at line
    integerArgs = getInt();
    since here you would get an incompatible types error since 'integerArgs' is an array and 'getInt()' returns a primitive int value.
    This needs to be changed and then am sure your code should compile.
    Hope the above helps.
    John Morrison
    PS: As paul was saying, putting in the error message would be a faster way to get an answer since most developers on the forum would be hard pressed for time and may not be able to actually try out your code.

  • I don't understand the following error on apache tomcat

    Good afternoon!
    I am using tomcat 6.0.13.When i try to perform my servlet, the following exception is gone off :
    exception
    javax.servlet.ServletException: Error allocating a servlet instance
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    java.lang.Thread.run(Thread.java:595)
    root cause
    java.lang.NoClassDefFoundError: mypackage/Transportadora (wrong name: Transportadora)
    java.lang.ClassLoader.defineClass1(Native Method)
    java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1817)
    org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    java.lang.Thread.run(Thread.java:595)
    Would be this a problem in the definition of the class?
    web.xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlnssi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    <display-name>Transportadora </display-name>
    <description>
    Projeto Transportadora
    </description>
    <servlet>
    <servlet-name>Transportadora</servlet-name>
    <servlet-class>mypackage.Transportadora</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Transportadora</servlet-name>
    <url-pattern>/transp</url-pattern>
    </servlet-mapping>
    </web-app>
    A great one I hug and grateful for the attention!
    Message was edited by:
    tarssa
    Message was edited by:
    tarssa
    Message was edited by:
    tarssa

    java.lang.NoClassDefFoundError: mypackage/Transportadora (wrong name: Transportadora) You need to make sure all your classes are in the classpath and/or you need to make sure you're calling the class by its correct name.

  • I can not perform the following command succesfully!!!

    Hello,
    Can any one help me solve this problem?
    this also have my enterprise manager not available
    how did I get out of this?
    SQL> ALTER DATABASE OPEN;
    ALTER DATABASE OPEN
    ERROR at line 1:
    ORA-16038: log 3 sequence# 6 cannot be archived
    ORA-19502: write error on file "", block number (block size=)
    ORA-00312: online log 3 thread 1: '/u01/app/oracle/oradata/orcl/redo03.log'
    SQL> ALTER USER SYS IDENTIFIED BY ORACLE;
    ALTER USER SYS IDENTIFIED BY ORACLE
    ERROR at line 1:
    ORA-01109: database not open

    That command is not giving me anything how to do that?
    QL> id
    df -h
    env | sortSP2-0042: unknown command "id" - rest of line ignored.
    SQL> SP2-0042: unknown command "df -h" - rest of line ignored.
    SQL> df-h anv | sort
    SP2-0734: unknown command beginning "env | sort..." - rest of line ignored.
    SQL> env | sort
    SP2-0042: unknown command "env | sort" - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SQL> df -h
    SP2-0042: unknown command "df -h" - rest of line ignored.

  • How can I fix the following error with my itunes 0x80090318

    My tunes has not opened on my laptop in over 2 years. One of the updates shut it down and Ive tried everything!! I need to get it sorted as Im trying to set up apple tv.

    I would try opening Disk Utility and repairing permissions.

  • Can not restore the ipad error 14

    I have tryed several times to restore my Ipad and get the new software version, but i receive a message error 14

    Have you found out how to fix this issue yet? I am still having this problem.

  • When downloading itunes onto my windows 7 pc I get the following error message "this installation package could not be opened verify that the package exists and that you can access it"

    I am having trouble downloading Itune, icloud etc onto my Windows 7 PC and keep getting the following error message "this installation pack could not be opened, verify that the package exists and that you can access it"

    tried downloading the quicktime installer, I get the same message with it too

  • All of a sudden my iTunes stopped working, and I get the following error messages:   1. the program can't start because MSVCR80.dll is missing from your computer. Try reinstalling the program to fix this problem   and   2. iTunes was not installed correct

    All of a sudden my iTunes stopped working, and I get the following error messages:
    1. the program can't start because MSVCR80.dll is missing from your computer. Try reinstalling the program to fix this problem
    and
    2. iTunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows error 126).
    Now I've checked the forums and followed the advice of uninstalling all Apple applications, rebooting, and reinstalling iTunes.
    This is not working. I've tried installing as Administrator but doesn't make any difference at all.
    There must be a way to fix this? I'm not a tech geek but I want to avoid having to take my laptop back to factory settings to sort this out.
    Thanks

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99192)

  • Can no longer access blueyonder emails on iphone.I get the following error message: The mail server 'imap4.blueyonder.co.uk is not responding', how do I fix pls?

    Hi there
    As I've mentioned above, I can't seem to access my emails from my blueyonder account on my iphone. When I first set up my account on the phone, I had no problems at all receiving emails. Then recently, just out of the blue I get the following error message: 'Cannot Get Mail, The Mail Server 'imap4.blueyonder.co.uk' is not responding.  Verfiy that you have entered the correct account info in mail settings.  I definitely have the right settings, I even checked with Virgin but they are not able to assist with my problem. Has anyone else experienced this problem, if so,how did you fix it? If you could explain in simple terms as I'm not tech savvy!
    Many thanks!

    http://www.apple.com/uk/support/iphone/mail/
    work through this

  • Starting in 2015 I get the following error when I try to import my photos. "The following files were not imported because they could not be read"  -DSC8416.NEF  I've been importing the same type of photos with no errors then 2015 came along and now I can

    Starting in 2015 I get the following error when I try to import my photos. "The following files were not imported because they could not be read"  -DSC8416.NEF  I've been importing the same type of photos with no errors then 2015 came along and now I can no longer import.

    The error message is misleading, the problem is that you need WRITE privileges added to the destination directory tree.
    Assuming you are using the "date" structure that LR defaults to, find the directory that contains the 2014 folder (the one that works) and add WRITE rights to the parent of "2014".
    While you are there, if you want, add "2015" folder to beside "2014" and add READ and WRITE rights to that new directory.

  • Tried to "Open As" in PS a NEF file I modified in LR.  Got the following error message:  "Could not complete your request because the file format module cannot parse the file."  I can "Open" the file in PS, but then the changes I made in LR (and saved in

    Tried to "Open As" in PS a NEF file I modified in LR.  Got the following error message:  "Could not complete your request because the file format module cannot parse the file."  I can "Open" the file in PS, but then the changes I made in LR (and saved in the associated meta data file with the "Control S" command) are not applied to the opened PS file.  HELP!

    If you are working with a file you modified in Lightroom, you should go to the Lightroom Photo menu and choose Edit in... and the version of Photoshop you want to open it in.
    There a dialog will ask if you want to transfer the LR settings you made to your photo when you open in Photoshop.
    Gene

  • After uprading to iOS 5.1 I can no longer play videos in my camera roll. I just get the following error "The  requested URL was not found on this server"

    After uprading to iOS 5.1 I can no longer play videos in my camera roll. I just get the following error "The  requested URL was not found on this server".
    Anyone have any ideas?

    You have two choices to try & fix this: 1. Backup your phone, then restore as a new device, then restore from the backup you first created, or 2. Follow the advise from this poster:
    I had the same problem with the black blocks after upgrading to iOS4 on my iPhone. The reason for the black blocks is that the thumbnail images for those particular images have not been created when the Photo Library has been updated to iOS4. I followed the advice on a couple of blogs and fixed the problem.
    1. I downloaded iPhone Explorer free software (http://www.macroplant.com/iphoneexplorer/) so I could view the photo data folders on my phone. I could see that the thumbnail images were missing.
    2. I followed a slight variation on the instructions on this blog. (http://blog.mbentley.net/2010/06/iphone-ios-4-upgrade-restore-lost-pictures-in-c amera-roll/)
    3. First I copied the Photo Data folder by dragging it from the iPhone Explorer window to my Mac desktop.
    4. Through iPhone Explorer I deleted the info.plist file in the Media/PhotoData/MISC folder.
    5. I also deleted the Photos.sqlite and PhotosAux.sqlite files in Media/PhotoData.
    6. I then rebooted the phone and launched the Photo Library.
    7. The Library rebuilt it's self again and recreated the thumbnails.
    8. The problem was fixed!!! Thank you M Bentley!
    I hope this helps - this has been bugging me for 2 weeks.
    Regards
    Alijm23

  • After installing Maverick, my downloaded movies will not play in Quick Time.  It gives me the following error "You can't open the application "QuickTime Player.app" because it may be damaged or incomplete."  What can I do?

    After installing Maverick, my downloaded movies will not play in Quick Time.  I receive the following error message:
    You can’t open the application “QuickTime Player.app” because it may be damaged or incomplete.  So I tried to unistall QT and I get an error that says, You can not delete this application as it is a requirement for the OSX.
    Well I did find a way to delete it, by going into the various components and one by one deleting it.  Now I reinstall it and  the message is that this Quick Time is for an earlier version before Maverick 7.  SMH....Now what.?

    Hello, terrygav. 
    I would recommend processing a reinstall of Mavericks.
    OS X Mavericks: Reinstall OS X
    http://support.apple.com/kb/PH13871
    Make sure to backup all of your data prior to reinstalling OS X 10.9.
    Back up your Mac
    http://support.apple.com/kb/PH11371
    Cheers,
    Jason H.

Maybe you are looking for

  • How to edit and save a document in Pages

    How do I edit and save a document in Pages with MacBook Air

  • Cant find movie from videora

    i just transfered my movie into a mp.4 using videora but i cant find the new file to add to my itunes library. on the one site that shows step by step instructions for videora it says the new file will be located in the " output video to: " folder, c

  • Help Please: Looking to contact Software Development Team

    I have been looking over the site, and I am struggling to locate a contact address for the development team. The query is this: Without giving too much away, I have in mind what I believe to be a highly innovative software concept / marketing method

  • Where can I get a replacement case fan for a HP Pavillion 180t

    The case fan on my 5 year old HP Pavillion 180t has begun to make noise when running.  This is the fan mounted to the back of the case, drawing air over the CPU cooling stack. From what I can gather from the HP support site, this model is no longer s

  • Printer - Canon Pixma 5520

    I've had a new HP 500amdA6 running Windows 8.1 for about a month. I also bought a Canon Pixma MG5520 printer.  It's all hooked up correctly.  It's supposed to be wireless, but I have it wired by USB to the computer. From the beginning, it is slow to