anchor.diff:        throw({stop, java_missing});
       Java ->
         JavaNode = java_node(),
  -      JPriv =
  -        case code:priv_dir(jinterface) of
  -          {error, bad_name} ->
  -            lager:info("Couldn't find priv dir for lucene_server, using ./priv"),
  -            "./priv";
  -          JPrivDir -> filename:absname(JPrivDir)
  -        end,
         Priv =
           case code:priv_dir(lucene_server) of
             {error, bad_name} ->
  
positive.code:                                   string:join(
                                      [Priv ++ "/lucene-server.jar",
                                       Priv ++ "/lucene-core-3.6.0.jar",
                                       JPriv ++ "/OtpErlang.jar"], ":"),
                                    "com.tigertext.lucene.LuceneNode",
                                    JavaNode, erlang:get_cookie()]}]),
        {ok, #state{java_port = Port, java_node = JavaNode}}
    end.
  
  -spec handle_call(X, _From, state()) -> {stop, {unexpected_request, X}, {unexpected_request, X}, state()}.
  handle_call(X, _From, State) -> {stop, {unexpected_request, X}, {unexpected_request, X}, State}.
  
negative.code:   case string:tokens(atom_to_list(node()), "@") of
      [Name, Server] -> list_to_atom(Name ++ "_java@" ++ Server);
      _Node -> throw({bad_node_name, node()})
    end.
  