Eclipse ganymede

22 posts / 0 new
Last post
culeaviorel
Eclipse ganymede

Am o problema cu Eclipse Ganymede...
Eu pama acum m-am folosit de Eclipse Helios, nu l-am instalat, doar l-am dezarhivat si double clik pe eclipse si merge fara probleme, am facut asa si la Ganymede insa nu vrea se bocheaza.... iata ce imi scrie in consola:

[root@localhost eclipse]# ./eclipse
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
^C[root@localhost eclipse]#

am instalat jdk, instalat eclipse si din surse si tot aceiasi problema
am facut si export PATH=$PATH:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/

sincer nu stiu ce sa-i mai fac ca sa il pornesc, are cineva vre-o idee cum sa ma folosesc de Eclipse ganymede in Mandriva 2010.1?

Multumesc

Patkos Csaba
Ai incercat sa stergi

Ai incercat sa stergi ~/.eclipse si sa incerci din nou ?

Csabi′s BLOG

Linux registered user # 457717

N3o
N3o's picture
Si incearca cu java-sun nu

Si incearca cu java-sun nu versiunea openjdk.

culeaviorel
am facut

am facut cum mi-ai spus N3o si tot nu merge
am sters si rm -Rf .eclipse si tot nu merge

[root@localhost eclipse1]# urpmi java-sun
To satisfy dependencies, the following packages are going to be installed:
Package Version Release Arch
(medium "Non-free")
java-1.5.0-sun 1.5.0.22 1mdv2010.1 i586
java-1.5.0-sun-alsa 1.5.0.22 1mdv2010.1 i586
java-1.5.0-sun-fonts 1.5.0.22 1mdv2010.1 i586
java-1.5.0-sun-jdbc 1.5.0.22 1mdv2010.1 i586
java-1.5.0-sun-plugin 1.5.0.22 1mdv2010.1 i586
76MB of additional disk space will be used.
18MB of packages will be retrieved.
Proceed with the installation of the 5 packages? (Y/n) y

http://ftp.surfnet.nl/pub/os/Linux/distr/Mandrivalinux/official/2010.1/i...
http://ftp.surfnet.nl/pub/os/Linux/distr/Mandrivalinux/official/2010.1/i...
http://ftp.surfnet.nl/pub/os/Linux/distr/Mandrivalinux/official/2010.1/i...
http://ftp.surfnet.nl/pub/os/Linux/distr/Mandrivalinux/official/2010.1/i...
http://ftp.surfnet.nl/pub/os/Linux/distr/Mandrivalinux/official/2010.1/i...
installing java-1.5.0-sun-plugin-1.5.0.22-1mdv2010.1.i586.rpm java-1.5.0-sun-fonts-1.5.0.22-1mdv2010.1.i586.rpm java-1.5.0-sun-1.5.0.22-1mdv2010.1.i586.rpm java-1.5.0-sun-jdbc-1.5.0.22-1mdv2010.1.i586.rpm java-1.5.0-sun-alsa-1.5.0.22-1mdv2010.1.i586.rpm from /var/cache/urpmi/rpms
Preparing... #######################################################################################################
1/5: java-1.5.0-sun-plugin #######################################################################################################
2/5: java-1.5.0-sun-fonts #######################################################################################################
3/5: java-1.5.0-sun-alsa #######################################################################################################
4/5: java-1.5.0-sun #######################################################################################################
5/5: java-1.5.0-sun-jdbc #######################################################################################################
[root@localhost eclipse1]# ./eclipse
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
^C[root@localhost eclipse1]#

N3o
N3o's picture
Ai facut ce o zis si Csabi

1. Ai facut ce o zis si Csabi mai sus?
2. Ai dezinstalat java-jdk dupa ce ai pus java-sun sau acum le ai ambele? si *sun si *jdk

Patkos Csaba
Scrie in consola java

Scrie in consola `java --version` si vezi ce-ti zice ... daca zice de OpenJDK sau Iced-Tea sau orice altceva decat `SUN`, atunci chiar daca le ai ambele instalate, cel implicit pe sistem este cel vechi. Acest lucru il poti schimba modificand linkul `/etc/alternatives/java-sdk` sa pointeze catre java-ul de la SUN in lock de OpenJDK.

Csabi′s BLOG

Linux registered user # 457717

culeaviorel
iata ce e

Da am facut cum mi-a spus am sters ~./eclipse
apoi am dezinstalat jdk si am instalat java-sun

iata ce arata

[root@localhost viorel]# java -version

java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Server VM (build 17.1-b03, mixed mode)
[root@localhost viorel]#

iata ce imi arata in /etc/
ce sa editez?

[root@localhost viorel]# vi /etc/alternatives/java

java javadoc javah.lzma.ja_JP.eucJP java_sdk/ java_sdk_sun_exports/
java.1.lzma javadoc.1.lzma java.lzma.ja_JP.eucJP java_sdk_1.6.0/ javaws
javac javadoc.lzma.ja_JP.eucJP javap java_sdk_1.6.0_exports/ javaws.1.lzma
javac.1.lzma javah javap.1.lzma java_sdk_exports/ javaws.lzma.ja_JP.eucJP
javac.lzma.ja_JP.eucJP javah.1.lzma javap.lzma.ja_JP.eucJP java_sdk_sun/ java.xml
[root@localhost viorel]#

culeaviorel
Am facut din nou

Am sters tot si am instalat din nou java-sun 1.6.0....

Am incercat si tot nu porneste, imi arata aceiasi eroare cu GConf Error:

Nu stiu ce sa-i mai fac... undeva nu fac ce trebuie dar nu inteleg unde...

Orice sugesstie e bine venita.... multumesc anticipat

Patkos Csaba
Citat de mai sus ... mai clar

Citat de mai sus ... mai clar de atata nu am cum sa-ti zic:

> Acest lucru il poti schimba modificand linkul /etc/alternatives/java_sdk sa pointeze catre java-ul de la SUN in lock de OpenJDK.

Csabi′s BLOG

Linux registered user # 457717

culeaviorel
Sorry

imi cer iertare insa nu inteleg de unde sa schimb linkul, in ce fisier sau programa sa schimb....
nu prea stiu multe, de aia si intreb
multumesc

symbianflo
symbianflo's picture
ma da ce-l mai aburiti pe

ma da ce-l mai aburiti pe bietul om .....
asculta la mine ...
nu conteaza cite si care java ai instalate doar sa ai sun 6 pe linga altele , acuma deschizi un shell de root si scrii:

[code]alternatives --config java[/code]

dupa care te uiti la ce numar in lista are java-sun 1.6.0 si il tastezi si gata .
Exemplu:

[code]Yo Flo! wozzup!Today is ven 29 ott 2010, 17.16.26, CEST
[symbianflo@Mandriva2010 ~]$ sudo alternatives --config java

There are 2 programs which provide `java'.

Selection Command
-----------------------------------------------
+ 1 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
* 2 /usr/lib/jvm/jre-1.6.0-sun/bin/java

Enter to keep the default[*], or type selection number:2[/code]

PS. si la opera 11 tot sun ii place .


http://www.mandrivausers.ro/ MRB aint no shit , :p Linux user number 507107 Nu dați banii pe prostii, puneți Linux pe PISI ![ARLUG]

Unix is user-friendly. It’s just very selective about who its friends are

culeaviorel
Da, multumesc de ajutor

Da, multumesc de ajutor symbianflo
am facut cum mi-ai spus si tot nu merge... am KDE 4.4.3

iata ce am facut si ce imi spune

[root@localhost viorel]# alternatives --config java

There is only 1 program which provides java

(/usr/lib/jvm/jre-1.6.0-sun/bin/java). Nothing to configure.

[root@localhost viorel]# cd Documents/Java\ Web/eclipse1/
[root@localhost eclipse1]# ./eclipse

GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)

[root@localhost eclipse1]#

N3o
N3o's picture
incearca sa pornesti

incearca sa pornesti cu:

**./cale_catre/eclipse -vm /usr/lib/jvm/java-1.6.0-sun-1.6.0.22/jre/bin/java**

Si de ce esti cu Ganymede cand o aparut Helios? Ganymede e din 2008!!!

Tip: De obicei ajuta f. mult daca dai un goagle dupa eroarea ta. Ia uite aici

Bafta!

symbianflo
symbianflo's picture
aha ...foarte bine ...dar de

aha ...foarte bine ...dar de ce il lansezi din root?
ia vezi din utilizator normal
mai nu mai lansa din root , of of
si nu inteleg de ce ganymede? vezi ca sunt 2 versiuni noi de atunci , 3.5 si 3.6 respectiv
galileo si helios ....
oricum vezi sa ai instalat policykit


http://www.mandrivausers.ro/ MRB aint no shit , :p Linux user number 507107 Nu dați banii pe prostii, puneți Linux pe PISI ![ARLUG]

Unix is user-friendly. It’s just very selective about who its friends are

symbianflo
symbianflo's picture
@N3o nici tu nu mai tii minte

@N3o nici tu nu mai tii minte ce belele am avut noi cu gconf din root? nu mergea gtksu si am incercat cu gksu ?
oricum tot nu inteleg de ce il lanseaza din root , parearea mea e o gainarie ...folosirea shelu-ului de root fara
cunostinta de cauza e cel mai mare dusman al oricarei distributii ....

In plus 3.4 este deja pe medii si nu trebuie decit instalat ( nu am stiut acuma il vad ganymede, io folosesc helios si inca nu mi-o crashuit)
PS: m-ai batut la timp .....sa-ti fie rusine :bigsmile:


http://www.mandrivausers.ro/ MRB aint no shit , :p Linux user number 507107 Nu dați banii pe prostii, puneți Linux pe PISI ![ARLUG]

Unix is user-friendly. It’s just very selective about who its friends are

culeaviorel
da, eu pana acum am folosit

da, eu pana acum am folosit galileo si a mers foarte bine pentru aplicatii desctop, acum vreau sa fac aplicatii Web si cineva mi-a recomanda ganymede, spunandu-mi ca e orientat spre asta.... de aia incerc sa vad, dar vad ca am mari probleme cu instalarea, cred ca o sa trec la galileo si o sa vad daca pot face tot in el referitor la Web....

Multmesc tare mult de ajutorul vostru

am folosit comanda

./eclipse -vm /usr/lib/jvm/java-1.6.0-sun-1.6.0.22/jre/bin/java

si tot nu a mers

este instalat policykit

multumesc tuturor...

symbianflo
symbianflo's picture
hai ca esti tare

hai ca esti tare ......
LANSEAZA-L DIN UTILIZATOR NU DIN ROOT, sau varianta 2:
`urpmi eclipse`

sau varianta 3 ...daca insisti din root logheazate in root cu :

su -
parola


http://www.mandrivausers.ro/ MRB aint no shit , :p Linux user number 507107 Nu dați banii pe prostii, puneți Linux pe PISI ![ARLUG]

Unix is user-friendly. It’s just very selective about who its friends are

culeaviorel
Referitor la helios, l-am

Referitor la helios, l-am incercat si eu, dar am avut o problema de care nu am putut scapa...

cand scriam ceva si faceam CTRL+Space ca sa se completeze se bloca pe o minuta ce ma scotea din sarite si am trecut la galileo care nu imi face asa ceva

culeaviorel
am incercat si urpmi eclipse

am incercat si urpmi eclipse si se instaleaza tot Ganymede si tot nu merge...
ceva la mine e pus ce nu trebuie si face conflict

eu stau pe user, numai cand imi trebuie sa instalez ceva sau sa configurez trec in root...

su

password

multumesc de sfaturi

Patkos Csaba
Daca tot nu-i dai de capat cu

Daca tot nu-i dai de capat cu Eclipse, incearca NetBeans ... eu personal dupa destul de multa vreme de Eclipse am renuntat la el in foavoarea NetBeans-ului. Pentru proiectele mele de PHP este mult mai bun si interfata este mult mai optimizata.

Csabi′s BLOG

Linux registered user # 457717

culeaviorel
Am inceput sa lucrez in java

Am inceput sa lucrez in java cu NetBeans, am fost multumit cum lucra, insa din motive de grefica am trecut sa incerc eclipse, si am invatat mai multe lucruri utile in eclipse fata de java care iti facea multe de-a gata si nu lucrau cum vroiam eu... (atunci nu prea stiam sa le modific) asa ca pana cand vreau sa stau in eclipse, pe viitor voi vedea...

symbianflo
symbianflo's picture
ti-am dat 3 rezolvari ok

ti-am dat 3 rezolvari ok ganimede de pe medii nu-ti merge , zici tu acum l-am installat si merge brici , ca root te loghezi nu cu "su" ci cu "su -" , sau foloseste ,,/eclipse ca si user nu ca si root , tu insisti sa nu zici nimic in afara de faptul ca nu merge, io renunt sorry asteapta pe altii .
Cred ca ar fi bine sa incepi sa inveti sa folosesti o distro si dupa aia sa te bagi la limaje sau java, dar tu fa cum vrei ,

PS:
un raspuns normal era :
solutia 1 nu merge ptr ca : eroarea_din_shell

solutia 2:si 3 la fel I don't work miracles .... sorry


http://www.mandrivausers.ro/ MRB aint no shit , :p Linux user number 507107 Nu dați banii pe prostii, puneți Linux pe PISI ![ARLUG]

Unix is user-friendly. It’s just very selective about who its friends are