Skip to content

Instantly share code, notes, and snippets.

@eendeego
Created February 5, 2013 21:39
Show Gist options
  • Save eendeego/4717970 to your computer and use it in GitHub Desktop.
Save eendeego/4717970 to your computer and use it in GitHub Desktop.
Launch TopCoder Arena on OS X with Java 7/8
#!/bin/bash
cd `dirname $0`
curl\
--remote-name \
--remote-header-name\
http://www.topcoder.com/contest/arena/ContestAppletProd.jnlp
JAVAWS="/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/javaws"
if [ ! -x "$JAVAWS" ]; then
# Fallback to PATH's javaws if the plugin isn't found
JAVAWS=javaws
fi
"$JAVAWS" ContestAppletProd.jnlp
@zroll
Copy link

zroll commented Jan 18, 2014

whatever I try, it doesn't work for me. I shows this exception: Found unsigned entry in resource: http://www.topcoder.com/contest/classes/7.0/log4j-1.2.13.jar. Any piece of advice would be highly appreciated!

@happinessnch
Copy link

It works for me, thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment