ubuntuusers.de

Minecraft mit proxy

Status: Ungelöst | Ubuntu-Version: Ubuntu 10.04 (Lucid Lynx)
Antworten |

-jak-

Anmeldungsdatum:
6. Januar 2012

Beiträge: Zähle...

Hallo

Um Minecraft zu spielen braucht man internet.

Da ich aber über einen proxy sever ins internet muss öffne ich Mincraft so:

 java -Dhttp.proxyHost=***.***.**.* -Dhttp.proxyPort=**** -Dhttps.proxyHost=**** Dhttps.proxyPort=**** -Xmx800m -jar /home/besucher/.minecraft/minecraft.jar

Jetzt wierd der Minecrat Launcher geöffnet und da wo nomalerweise die update news sind steht

Failed to update news java.io.IOException: Server returned HTTP response code: 407 for URL: http://mcupdate.tumblr.com/

wenn ich jetzt einloge kommt: can't connect to minecrat.net

Und im terminal steht:

 Unable to tunnel through proxy. Proxy returns "HTTP/1.0 407 Proxy Authentication Required"

ich hab dan mal nachgeforscht und herauf gefunden das es daran liegt das ich mich erst Authenticatiren muss. ich weiss aber nicht wie kann mir bitte jemand helfen.

danke im voraus

jakon Team-Icon

Lokalisierungsteam

Anmeldungsdatum:
16. November 2009

Beiträge: 419

Du musst noch http.proxyUser und http.proxyPassword angeben.

-jak-

(Themenstarter)

Anmeldungsdatum:
6. Januar 2012

Beiträge: 17

ok das hab ich gemacht:

java -Dhttp.proxyHost=***.***.**.* -Dhttp.proxyPort=**** -Dhttps.proxyHost=***.***.**.*  -Dhttps.proxyPort=**** 

http.proxyUser=**** http.proxyPassword=********  -Xmx800m -jar /home/besucher/.minecraft/minecraft.jar

jetzt öfnet sich der Minecraft launcher nicht mehr und es kommt fogende fehler meldung:

[1] 1700
Exception in thread "main" java.lang.NoClassDefFoundError: http/proxyUser=****
Caused by: java.lang.ClassNotFoundException: http.proxyUser=*****
	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: http.proxyUser=****. Program will exit.
Gi: Befehl nicht gefunden
[1]+  Exit 1                  java -Dhttp.proxyHost=***.***.**.* -Dhttp.proxyPort=**** -Dhttps.proxyHost=***.***.**.* -Dhttps.proxyPort=**** http.proxyUser=***** http.proxyPassword=******

jakon Team-Icon

Lokalisierungsteam

Anmeldungsdatum:
16. November 2009

Beiträge: 419

Warum lässt du da denn die -Ds weg? Die gehören da natürlich auch hin …

-jak-

(Themenstarter)

Anmeldungsdatum:
6. Januar 2012

Beiträge: 17

ok ich hab sie dran gemacht:

java -Dhttp.proxyHost=***.***.**.* -Dhttp.proxyPort=**** 
-Dhttps.proxyHost=***.***.**.*  -Dhttps.proxyPort=**** 
-Dhttp.proxyUser=**** -Dhttp.proxyPassword=*******  
-Xmx800m -jar /home/besucher/.minecraft/minecraft.jar

jetzt kommt das:

[1] 1715
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)
where options include:
    -d32	  use a 32-bit data model if available
    -d64	  use a 64-bit data model if available
    -client	  to select the "client" VM
    -server	  to select the "server" VM
    -cacao	  to select the "cacao" VM
    -zero	  to select the "zero" VM
    -hotspot	  is a synonym for the "client" VM  [deprecated]
                  The default VM is client.

    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A : separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose[:class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -jre-no-restrict-search
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions with specified granularity
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions with specified granularity
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                  see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument
    -splash:<imagepath>
                  show splash screen with specified image
See http://java.sun.com/javase/reference for more details.
Gi: Befehl nicht gefunden
[1]+  Fertig

jakon Team-Icon

Lokalisierungsteam

Anmeldungsdatum:
16. November 2009

Beiträge: 419

Du musst den Befehl ja auch in eine Zeile schreiben …

-jak-

(Themenstarter)

Anmeldungsdatum:
6. Januar 2012

Beiträge: 17

Hab ich auch. Nur damit du's besser lessen kann hab ich in verschiedene zeilen geschrieben.

cryptosteve

Avatar von cryptosteve

Anmeldungsdatum:
17. April 2007

Beiträge: 815

Wohnort: Nähe Hamburg

Moin, hast Du das mit minecraft via proxy in den Griff bekommen? Stehe aktuell vor dem gleichen Problem, die Credentials nicht vernünftig an den Squid zu bringen.

Antworten |