Mac Compatible Client

Well, for some reason, when Mac users try to load my client, it just comes up with a straight white screen and doesn’t load the cache… Before you say something about the directory of the cache in signlink.java to “user.home”, I have already tried that, but to no avail. Here is my signlink.java, if anyone can help, I would be very appreciative. [code]public static final String findcachedir()
{
File[] drives = File.listRoots();

  String Home = System.getProperty("user.home");
  String s = Home + "/olympusv1.cache/";
  File file = new File(s);
  if ((file.exists()) || (file.mkdirs())) {
    return s + "/";
  }
  return null;
}[/code]

Try removing the fullstop on your cache name. And make these changes where necessary.

No luck with this

Bump

There’s more to it than just “Changing the cache path”.

Windows, unlike *nix, is not case sensitive. In windows, you can access a file named “thEFile.jar” by typing: “thefile.jar”, you try that on a *nix machine and you’re probably going to get an error.

Here’s a tip: Have those “mac users” you’re so worried about, post some debugging. They should be able to run the jar via terminal to get the printout if there is one… OR, the white page they get should be able to dump the error.

What makes you think it’s a cache problem? The client draws the loading screen itself without a cache.

You should probably look out for any exceptions or errors.
Also instead of returning null, in findcachedir() try returning a fallback option if tna.

[quote=“sk8rdude461, post:5, topic:553799”]There’s more to it than just “Changing the cache path”.

Windows, unlike *nix, is not case sensitive. In windows, you can access a file named “thEFile.jar” by typing: “thefile.jar”, you try that on a *nix machine and you’re probably going to get an error.

Here’s a tip: Have those “mac users” you’re so worried about, post some debugging. They should be able to run the jar via terminal to get the printout if there is one… OR, the white page they get should be able to dump the error.[/quote][quote=“my-swagger, post:6, topic:553799”]What makes you think it’s a cache problem? The client draws the loading screen itself without a cache.

You should probably look out for any exceptions or errors.
Also instead of returning null, in findcachedir() try returning a fallback option if tna.[/quote]

Thanks for the ideas guys, didn’t ever really consider it being a client problem :stuck_out_tongue: