I have managed to add a class to a jar file but the class keeps its path. I need it to have no path. Is there a way I can do this? The class is stored on a server and needs to stay in that path.
If you run jar from the directory containing the class file then presumably it would have no path. I don't understand why you would need or want to do this, however.