Results 1 to 2 of 2
  1. #1
    0 RP

    Join Date
    Aug 2010
    Country
    United States
    Posts
    1
    Thanks
    0

    Default How do i download jar files?

    Jad doesnt work on mine and i dont see jar help!

  2. #2
    Banned
    0 RP

    Join Date
    Jan 2013
    Country
    India
    Posts
    15
    Thanks
    21

    Default download jar files

    Try this. it works for me.

    File file = new File("c:\\myjar.jar");
    URL url = file.toURL();
    URL[] urls = new URL[]{url};
    ClassLoader cl = new URLClassLoader(urls);

    Class cls = cl.loadClass("com.mypackage.myclass");