title: Get Firebase to work with java, not Android
body: <p>Im trying to get a libgdx project up and running and I want to firebase for user logins. I'm finding that the SimleLogin class is depending on Android.jar. Is there a way around this as I would like to have a desktop java application running as well as android.</p>
  
  <p>Here is the code that is causing the issue:</p>
  
  <pre><code>SimpleLogin authClient = new SimpleLogin(myRef);;
  
  authClient.createUser("myuser@gmail.com", "much wow",
          new SimpleLoginAuthenticatedHandler() {
  
              @Override
              public void authenticated(FirebaseSimpleLoginError error,
                      FirebaseSimpleLoginUser user) {
                  if (error != null) {
                      System.out.println(error);
                  } else {
                      System.out.println(user);
                  }
  
              }
          });
  </code></pre>
  
  <p>And this thowing this at runtime:</p>
  
  <pre><code>Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: java.lang.NoClassDefFoundError: android/net/Uri
      at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:120)
  Caused by: java.lang.NoClassDefFoundError: android/net/Uri
      at com.firebase.simplelogin.SimpleLogin.makeRequest(SimpleLogin.java:634)
      at com.firebase.simplelogin.SimpleLogin.createUser(SimpleLogin.java:417)
      at com.mygdx.game.MyGdxGame.create(MyGdxGame.java:63)
      at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:136)
      at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114)
  Caused by: java.lang.ClassNotFoundException: android.net.Uri
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      ... 5 more
  </code></pre>
  
  <p>Am I going about this or is the Java platform they claim to support really just android?</p>