Fixing TinyUmbrella 4.1.4 on Mac OS X Error

If you are having errors with TinyUmbrella on Mac OS X

Something is wrong:
You don’t have admin privileges or
You have something running on port 80 or
Your hosts file is not modifiable
Please check Anti-Virus software or shutdown Skype/Teamviewer/etc as these apps block access to port 80.

Try this method:

[bash]
cd Umbrella.app/Contents/Resources/Java
sudo java -jar umbrella.jar
[/bash]

The previous commands will run TinyUmbrella as root which is what the application is expecting.

Running the Umbrella.app by double-clicking it, or even via the Terminal with sudo open Umbrella.app, it will run the java app as the non-privileged user which is what is causing the error.


Posted

in

by

Tags:

Comments

16 responses to “Fixing TinyUmbrella 4.1.4 on Mac OS X Error”

  1. chance Avatar
    chance

    $ cd Umbrella.app/Contents/Resources/Java
    -bash: cd: Umbrella.app/Contents/Resources/Java: No such file or directory

    what do i do now!?
    thanks!

    1. Chris Carey Avatar

      Since you changed four directories with one command I have no way of knowing which folder is missing: Umbrella.app? Contents? Resources? Java? My guess is that you didn’t get the Mac OS X version and you dont have Umbrella.app

  2. Carlos Avatar
    Carlos

    Hello Chris,

    Thanks for posting this method. I can do the cd command to move to de directory where umbrella.jar is but when I run the sudo command I get this error:

    Exception in thread “main” java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)

    Any hint?

    Thanks,

    Carlos

    1. Chris Carey Avatar

      Yes, sounds like your version of Java is not up to date. The error is UnsupportedClassVersionError
      I assume you are on Mac and the standard software update usually keeps your Java up to date. Have you installed Java manually, maybe an earlier version? Check your Java version and compare. Type :

      java -version

      Mine is 1.6.0_20

  3. jc Avatar
    jc

    hey chris,

    i follow your steps..
    1. cd Umbrella.app/Contents/Resources/Java
    2 sudo java -jar umbrella.jar

    i am a mac user and my java version is 1.6.0_17

    i still get the same error
    Something is wrong:
    You don’t have admin privileges or
    You have something running on port 80 or…

  4. jc Avatar
    jc

    hi again chris,

    i updated to the latest java to 1.6.0_20, i still have the same error with port 80

    1. Chris Carey Avatar

      Check System Preferences -> Sharing

      and make sure that “Web Sharing” is not enabled. My guess is something already has port 80

  5. Diego Diaz Avatar
    Diego Diaz

    If web sharing is on, it will always give you the erro, if it is off it will start up fine.

  6. Jarjart Avatar
    Jarjart

    Holy shmoly, yes thank you so very much, WEBSHARING OFF guys ,it works !!! 😛 😛 😛 😛 😛

  7. Ryan Avatar
    Ryan

    Thank you! This has been bothering me for weeks.

    Just so people know, they probably need to put the path to the file in the code:

    cd /Users/Username/Desktop/Umbrella.app/Contents/Resources/Java

    that worked for me

  8. Alessio Avatar
    Alessio

    Got same errors as all of you guys, did as you all did, progressed beautifully, but when it came to “web sharing” mine was disabled and TinyUmbrella still freezes on startups. Any questions?

  9. Alessio Avatar
    Alessio

    Drawing [TinyUmbrella: Verifying Libraries…]
    Drawing [Unable to validate libraries… loading anyway…]
    Drawing [TinyUmbrella: Reticulating splines…]
    Exception in thread “AWT-EventQueue-0” java.lang.NoClassDefFoundError: ch/randelshofer/quaqua/SheetListener
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:171)
    at com.semaphore.os.UIHandlerManager.(UIHandlerManager.java:17)
    at com.semaphore.TinyUmbrella.(TinyUmbrella.java:131)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:171)
    at com.semaphore.TinyLoader.loadTiny(TinyLoader.java:255)
    at com.semaphore.TinyLoader.access$300(TinyLoader.java:29)
    at com.semaphore.TinyLoader$1$1.run(TinyLoader.java:47)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
    at java.awt.EventQueue.access$400(EventQueue.java:82)
    at java.awt.EventQueue$2.run(EventQueue.java:676)
    at java.awt.EventQueue$2.run(EventQueue.java:674)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.lang.ClassNotFoundException: ch.randelshofer.quaqua.SheetListener
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    … 23 more

  10. Nicolas Avatar
    Nicolas

    Someone may have solved thgis problem here
    http://moh2rescue.blogfa.com/post/1/TinyUmbrella-Fails-to-start

  11. jose mata Avatar
    jose mata

    hi, i follow the steps, but the file “java” doesnt exist, any adviced¿¿??

    1. Chris Carey Avatar

      Java does not ship with OSX any longer. You have to go to Oracle and download and install Java JRE

      1. Akiva Avatar
        Akiva

        What About this?

        Using Java v1.8.0_111 64 bit
        java.lang.NullPointerException
        at com.semaphore.util.TinyHttp.getHeaders(TinyHttp.java:139)
        at com.semaphore.util.pzip.HttpProtocolHandler.getRecords(HttpProtocolHandler.java:38)
        at com.semaphore.util.PartialZip.init(PartialZip.java:35)
        at com.semaphore.util.PartialZip.(PartialZip.java:31)
        at com.semaphore.util.TinyLib.load(TinyLib.java:54)
        at com.semaphore.util.TinyPkg.load(TinyPkg.java:21)
        at com.semaphore.util.TinyLibrary.loadLibrary(TinyLibrary.java:273)
        at com.semaphore.tu.service.LibraryResolverService.fetchLibraries(LibraryResolverService.java:35)
        at com.semaphore.tu.TinyLoader.main(TinyLoader.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:65)
        at com.install4j.runtime.launcher.MacLauncher.main(MacLauncher.java:67)
        Unable to load library quaqua.jar java.lang.NullPointerException
        at com.semaphore.util.FileUtil.writeFile(FileUtil.java:411)
        at com.semaphore.util.TinyLib.load(TinyLib.java:66)
        at com.semaphore.util.TinyPkg.load(TinyPkg.java:21)
        at com.semaphore.util.TinyLibrary.loadLibrary(TinyLibrary.java:273)
        at com.semaphore.tu.service.LibraryResolverService.fetchLibraries(LibraryResolverService.java:35)
        at com.semaphore.tu.TinyLoader.main(TinyLoader.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:65)
        at com.install4j.runtime.launcher.MacLauncher.main(MacLauncher.java:67)
        java.lang.NoClassDefFoundError: com/sun/jna/Pointer
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at com.semaphore.tu.TinyLoader.main(TinyLoader.java:78)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:65)
        at com.install4j.runtime.launcher.MacLauncher.main(MacLauncher.java:67)
        Caused by: java.lang.ClassNotFoundException: com.sun.jna.Pointer
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        … 9 more

Leave a Reply

Your email address will not be published. Required fields are marked *