Reading a file from jar Follow
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.
Please sign in to leave a comment.
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?