Jump to content

nac

Members
  • Posts

    1
  • Joined

  • Last visited

nac's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hi everyone, I have some issue since many weeks ago. I developed my custom launcher on java which must be work with forge. I get this error: The text on bold is the main issue that I try to solve. I have do that in my java code: public String getUserPath() { String home = System.getProperty("user.home"); if(getOSType() == OS.WINDOWS) { return System.getenv("APPDATA"); }else if(getOSType() == OS.LINUX){ return System.getProperty("user.home", "."); }else { return home+"/Library/Application Support"; } } public String getWorkingDirectory(String name) { return getUserPath()+"/"+name; }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.