Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bluej (gelöst)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
_
n00b
n00b


Joined: 24 Apr 2013
Posts: 15

PostPosted: Wed Oct 30, 2013 8:46 am    Post subject: bluej (gelöst) Reply with quote

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
View user's profile Send private message
_
n00b
n00b


Joined: 24 Apr 2013
Posts: 15

PostPosted: Wed Oct 30, 2013 8:58 am    Post subject: Reply with quote

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
View user's profile Send private message
jhuebner
n00b
n00b


Joined: 14 Aug 2007
Posts: 2

PostPosted: Wed Oct 30, 2013 3:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
_
n00b
n00b


Joined: 24 Apr 2013
Posts: 15

PostPosted: Wed Oct 30, 2013 9:11 pm    Post subject: Reply with quote

Danke, ich habe ersteres verwendet funktioniert super.

Noch einmal vielen Dank.

MfG _
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum