Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Java, Netbeans Probleme
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
maestro
Tux's lil' helper
Tux's lil' helper


Joined: 22 Oct 2002
Posts: 91
Location: Krefeld/Germany/EU

PostPosted: Wed Oct 30, 2002 3:14 pm    Post subject: Java, Netbeans Probleme Reply with quote

tach zusammen...

hab auf meinem system jetzt das JDK 1.4.1 und als Editor Netbeans 3.4
installiert hat auch alles wunderbar geklappt. ENV-Variablen sind auch gesetzt, nur startet Netbeans (unter KDE3) nicht... fehler is aber nicht auszumachen... hat vielleicht jemand ne Idee?

mfg
maestro
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Wed Oct 30, 2002 3:26 pm    Post subject: Reply with quote

Wie wäre es mit einer Fehlermeldung?

Bei mir läuft NetBeans unter KDE3 ganz gut ..
Back to top
View user's profile Send private message
maestro
Tux's lil' helper
Tux's lil' helper


Joined: 22 Oct 2002
Posts: 91
Location: Krefeld/Germany/EU

PostPosted: Wed Oct 30, 2002 6:36 pm    Post subject: Reply with quote

ja, ne fehlermeldung wäre toll... nur leider krieg ich keine. :(

bei mir siehts ungefähr so aus:

[maestro@gott:~$] /opt/netbeans-3.4/bin/runide.sh
### wart, wart, wart... nix passiert ###
[maestro@gott:~$]

mehr sagt mir mein system nicht. unter gnome gehts auch nicht, also liegts nicht an KDE.
Am JDK kanns nicht liegen, oder? Bin momentan etwas ratlos...
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Thu Oct 31, 2002 6:51 am    Post subject: Reply with quote

Probiers einfach mal mit
'netbeans'
Back to top
View user's profile Send private message
maestro
Tux's lil' helper
Tux's lil' helper


Joined: 22 Oct 2002
Posts: 91
Location: Krefeld/Germany/EU

PostPosted: Thu Oct 31, 2002 11:19 am    Post subject: Reply with quote

'netbeans' funktioniert leider nicht...

[maestro@gott:~$] netbeans
bash: netbeans: command not found

muss jetzt wohl auf netbeans verzichten. :(
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Thu Oct 31, 2002 11:55 am    Post subject: Reply with quote

Upps.. hab mich vertan..
das war woanders so ;)

Ok..

hast Du mittles java-config Deine JDK richtig eingestellt?

Funktioniert es wenn Du einfach mal java eingibst?

Wenn ja versuch einfach mal ein

env-update
gefolgt von einem ldconfig

und dann nochmal probieren obs geht (mit runide.sh)
Back to top
View user's profile Send private message
maestro
Tux's lil' helper
Tux's lil' helper


Joined: 22 Oct 2002
Posts: 91
Location: Krefeld/Germany/EU

PostPosted: Thu Oct 31, 2002 1:05 pm    Post subject: Reply with quote

das mit env-update und ldconfig hätte die lösung sein können... hat nur leider auch nicht geklappt.

Ich hab ma nen strace auf runide.sh gemacht und zum vergleich das selbe auf meinem laptop (da startet netbeans ohne probleme) der auch auf gentoo läuft.

folgendes ergebnis:

(kommt noch ganz viel davor)
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigaction(SIGINT, {0x8075660, [], 0x4000000}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x8075660, [], 0x4000000}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
stat64("/home/maestro/.netbeans/3.4/update/download/install_later.xml", 0xbfffefe0) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
read(255, "\nrm \"$nbenvfile\"\n# and we exit.\n", 8192) = 32
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
stat64("/bin/rm", {st_mode=S_IFREG|0755, st_size=28120, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [RTMIN], 8) = 0
_llseek(255, -15, [10815], SEEK_CUR) = 0
fork() = 11207
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigaction(SIGINT, {0x8075660, [], 0x4000000}, {SIG_DFL}, 8) = 0
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 11207
rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [CHLD RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
--- SIGCHLD (Child exited) ---
wait4(-1,

"HIER SOLLTE EIGENTLICH NETBEANS STARTEN UND BEIM
BEENDEN DER FOLGENDE REST ERSCHEINEN, JEDOCH
PAUSIERT DAS SKRIPT NUR KURZ UND BEENDET SICH DANN"

0xbffff1cc, WNOHANG, NULL) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [RTMIN])
rt_sigaction(SIGINT, {SIG_DFL}, {0x8075660, [], 0x4000000}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
read(255, "# and we exit.\n", 8192) = 15
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
read(255, "", 8192) = 0
_exit(0) = ?

naja, doch werd ich auch noch nicht richtig schlau daraus. ob das wohl einen neuen Bug-Report gibt? :-)

Langsam verzweifle ich...
Back to top
View user's profile Send private message
maestro
Tux's lil' helper
Tux's lil' helper


Joined: 22 Oct 2002
Posts: 91
Location: Krefeld/Germany/EU

PostPosted: Mon Nov 04, 2002 12:05 am    Post subject: Reply with quote

Fehler gefunden!!! ... es liegt am SUN-JDK 1.4.1_01. weiss bloss noch nicht warum. Netbeans läuft jedenfalls mit dem Blackdown-JDK. Kann man also mit arbeiten. :-) Is bloss etwas kagge, dass es mit SUN nicht läuft... naja.

mfg
maestro
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Tue Nov 05, 2002 9:46 pm    Post subject: Reply with quote

hmm..
also bei mir auf der Arbeit klappt es mit Sun JDK 1.4.0_01 und zuhause auch!
Back to top
View user's profile Send private message
icecube
n00b
n00b


Joined: 30 Oct 2002
Posts: 34

PostPosted: Tue Nov 12, 2002 12:36 pm    Post subject: Problem resolved. Reply with quote

I had the same problem. What I found is that you cannot be logged in as one person and run as another (ie I was logged in as myself but was root in a terminal when I ran it). When I decided to try it as the logged in user it worked. Also did worked when logged in as root. Hope this helps even though it's not German.
Back to top
View user's profile Send private message
Smeedy
n00b
n00b


Joined: 28 Apr 2002
Posts: 6
Location: Deventer, the Netherlands

PostPosted: Mon Mar 03, 2003 3:54 pm    Post subject: Re: Problem resolved. Reply with quote

icecube wrote:
I had the same problem. What I found is that you cannot be logged in as one person and run as another (ie I was logged in as myself but was root in a terminal when I ran it). When I decided to try it as the logged in user it worked. Also did worked when logged in as root. Hope this helps even though it's not German.


Something else, you'll have to emerge lib-compat to get it working in combination with sun's JDK
_________________
--
31.69 nHz = once a year
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