Reading a file from jar Permanently deleted user 创建于 2015年06月16日 03:56 Hi,Iam developing a plugin project, once i import my plugin as jar, for the new user who installs it, for the initial settings, i need to read a file from jar. How can i do it.can someone pls help.Thanks,Mangala
You can use the standard java.lang.ClassLoader.getResourceAsStream() method for this.
I tried it. It is not working. It is not reading the file from jar
Which path do you specify as a parameter?