Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: how to specify file: URL in my class path

  1. #1
    Junior Member
    Join Date
    May 2014
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default how to specify file: URL in my class path

    I m using eclipse ..i have a src folder that contains a package Abc..Abc contains a folder named xyz and xyz contains a file named d.jar...Now how i will specify this path im my URL string....ie new URL("??????../d.jar")


  2. #2
    Member
    Join Date
    Oct 2013
    Location
    Manila, Philippines
    Posts
    285
    My Mood
    Amused
    Thanks
    6
    Thanked 64 Times in 61 Posts

    Default Re: how to specify file: URL in my class path

    I'm not familiar with eclipse IDE. But what I remember, if you want to add a jar file or library, you better use the build path of the eclipse. Using that, you can configure adding another jar or library.

Similar Threads

  1. [SOLVED] Get path of current executing class
    By Andrew R in forum What's Wrong With My Code?
    Replies: 12
    Last Post: August 25th, 2013, 11:08 AM
  2. JAVA applet URL path (My computer and Web Host)
    By rajma in forum AWT / Java Swing
    Replies: 12
    Last Post: June 17th, 2013, 02:02 PM
  3. File not found in class path
    By Jeff.Steinkamp in forum File I/O & Other I/O Streams
    Replies: 7
    Last Post: January 1st, 2013, 08:37 PM
  4. How to load class path for .properties file
    By kewlkeny in forum Web Frameworks
    Replies: 1
    Last Post: January 23rd, 2012, 08:40 AM
  5. how to get value path file from jsp form- input type file
    By meeGoreng in forum JavaServer Pages: JSP & JSTL
    Replies: 4
    Last Post: October 4th, 2011, 12:05 AM

Tags for this Thread