I am trying to use a relative path to locate an executable file within a Java class instead of hard-coded lines which worked, but using something like:
final static String directory = "../../../ggla/samples/obj/linux_x86"
fails... what is the proper way of using a relative path in Java?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…