View previous topic :: View next topic |
Author |
Message |
_ n00b
Joined: 24 Apr 2013 Posts: 15
|
Posted: Wed Oct 30, 2013 8:46 am Post subject: bluej (gelöst) |
|
|
Hallo, ich habe folgendes Problem mit Bluej,
Code: | Bluej war nicht in der Lage eine virtuelle Maschine (VM) zu erzeugen, um Projekte auszuführen. Dies ist ein ernstes Problem - Sie werden nicht in der Lage sein, Objekte zu erzeugen und Methoden aufzurufen, ohne das Problem zu lösen. Dies wird oft von Übermäßig einschränkenden Einstellungen der Firewalls verursacht |
Irgend eine Idee?
btw: Das steht auf der bluej-page:
Linux) Error: "BlueJ was unable to create a virtual machine (VM) to execute projects..."
On Linux, this problem can be caused by Security Enhanced Linux ("SELinux") or overly restrictive firewall rules. Consult your distribution's documentation to find out to disable or correctly configure SELinux and/or the firewall. More information is available on our firewall information page.
If you are running Debian "Sid" (the "unstable" Debian release) and you get this error message, it may be because of an apparent incompatibility or bug with Java. Some users have been able to resolve this by editing the file "/etc/sysctl.d/bindv6only.conf" and changing the setting "net.ipv6.bindv6only" from 1 to 0, and restarting the computer. However, we recommend that you do not run the unstable Debian release (or any other "unstable" Linux distribution or operating system) if you are not able to resolve problems like these on your own.
Last edited by _ on Wed Oct 30, 2013 9:31 pm; edited 1 time in total |
|
Back to top |
|
|
_ n00b
Joined: 24 Apr 2013 Posts: 15
|
Posted: Wed Oct 30, 2013 8:58 am Post subject: |
|
|
Anscheinend ist meine Firewall wirklich zu streng.. ich habe iptables für Testzwecke einen Moment deaktiviert und es kamen keine weiteren Fehlermeldungen.
Leider kenne ich mich mit iptables nicht super aus, was sollte ich ändern, damit bluej funktioniert?
Hier mein iptables script:
Code: |
#! /bin/sh
IPT=/sbin/iptables
$IPT -F
# policies
$IPT -P OUTPUT ACCEPT
$IPT -P INPUT DROP
$IPT -P FORWARD DROP
# exeptions:
# responses
$IPT -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT |
|
|
Back to top |
|
|
jhuebner n00b
Joined: 14 Aug 2007 Posts: 2
|
Posted: Wed Oct 30, 2013 3:22 pm Post subject: |
|
|
Meine Antwort in #funtoo hast Du gelesen?
iptables -A INPUT -i lo -j ACCEPT
oder
iptables -A INPUT -s 127.0.0.1 -j ACCEPT
bevor Du jeden eingehenden Traffic verbietest hilft wahrscheinlich. |
|
Back to top |
|
|
_ n00b
Joined: 24 Apr 2013 Posts: 15
|
Posted: Wed Oct 30, 2013 9:11 pm Post subject: |
|
|
Danke, ich habe ersteres verwendet funktioniert super.
Noch einmal vielen Dank.
MfG _ |
|
Back to top |
|
|
|