=== dalibor [~topic@p54A57F7A.dip.t-dialin.net] has left #ubuntu-java [] | ||
=== doko [~doko___@dsl-084-059-074-167.arcor-ip.net] has joined #ubuntu-java | ||
=== dalibor [~topic@p54A57F7A.dip.t-dialin.net] has joined #ubuntu-java | ||
=== dalibor [~topic@p54A54029.dip.t-dialin.net] has joined #ubuntu-java | ||
=== dalibor [~topic@p54A54029.dip.t-dialin.net] has left #ubuntu-java [] | ||
=== ivoks [~ivoks@lns01-0381.dsl.iskon.hr] has joined #ubuntu-java | ||
ivoks | hi | 08:03 |
---|---|---|
wasabi_ | hi | 08:04 |
ivoks | i'm having problems with eclipse in breezy, if this is good place to ask about it | 08:04 |
wasabi_ | THe perfect place. | 08:04 |
ivoks | hehe | 08:05 |
ivoks | well, starting eclipse brings me message A suitable Java Virtual Machine for running the Eclipse platform could not be located | 08:05 |
wasabi_ | Hmmm. | 08:05 |
wasabi_ | yeah, I can see that happening. We need to figure out a better way of going about that. | 08:06 |
wasabi_ | apt-get install java-gcj-compat | 08:06 |
ivoks | i did :( | 08:07 |
ivoks | i have everything | 08:07 |
ivoks | sun java too | 08:07 |
wasabi_ | Hmm. | 08:07 |
wasabi_ | Check out /etc/jvm.d/eclipse | 08:07 |
ivoks | right | 08:08 |
ivoks | that's it, i guess | 08:08 |
wasabi_ | Does that have /usr/lib/jvm/java-gcj listed in it? | 08:08 |
ivoks | yes | 08:08 |
ivoks | but before it it has j2sdk1.5 -> 1.3 | 08:08 |
wasabi_ | Does /usr/lib/jvm/java-gcj exist? | 08:08 |
wasabi_ | Yeah. | 08:08 |
wasabi_ | That should be fine. It will attempt to use those before it attempts to use java-gcj-compat | 08:09 |
wasabi_ | BUt since you don't have those. | 08:09 |
ivoks | i have j2sdk1.4 | 08:09 |
wasabi_ | Hmm. Is the path right? | 08:09 |
wasabi_ | Basically that file lets you choose the VM search oder. | 08:09 |
wasabi_ | order | 08:09 |
ivoks | i commented j2sdk, same problem | 08:10 |
ivoks | i could strace it.. | 08:10 |
wasabi_ | No need. | 08:10 |
ivoks | ok | 08:10 |
wasabi_ | run this | 08:10 |
wasabi_ | /usr/share/java-common/find_jvm.sh eclipse | 08:10 |
ivoks | JAVA-HOME= | 08:11 |
ivoks | s/-/_ | 08:11 |
wasabi_ | Hmmm. | 08:11 |
ivoks | that's the problem :) | 08:11 |
wasabi_ | what? | 08:11 |
ivoks | JAVA_HOME= should point to java libs, right? | 08:11 |
wasabi_ | You should not have to set Java_home at all anywhere. | 08:12 |
wasabi_ | It should be working right now. | 08:12 |
wasabi_ | paste me the contents of /etc/jvm.d/eclipse | 08:12 |
wasabi_ | and the output from dpkg -l java-common eclipse-rcp java-gcj-compat | 08:12 |
wasabi_ | Oh. Wait a sec. | 08:13 |
wasabi_ | I have a suspician. | 08:13 |
wasabi_ | env | grep JAVA_HOME | 08:13 |
wasabi_ | send me the output from that | 08:13 |
ivoks | no output | 08:13 |
wasabi_ | that's good | 08:13 |
ivoks | it worked before | 08:13 |
wasabi_ | That find_jvm command is supposed to scan the files in /etc/jvm and find the first working jvm. | 08:14 |
wasabi_ | but it's returning nothing. | 08:14 |
ivoks | yes.. | 08:15 |
ivoks | strace shows it drops right after zenity | 08:16 |
wasabi_ | strace isn't going to do much for you | 08:16 |
wasabi_ | send me the output of those files. | 08:16 |
ivoks | jvm.d? | 08:16 |
wasabi_ | It's just one very simple shell script. | 08:16 |
wasabi_ | jvm.d/eclipse | 08:16 |
ivoks | query | 08:16 |
=== ivoks_ [~ivoks@lns01-1080.dsl.iskon.hr] has joined #ubuntu-java | ||
ivoks_ | sorry about that... | 08:25 |
ivoks | great job! eclipse starts a lot faster now | 08:26 |
wasabi_ | thans | 08:27 |
wasabi_ | thanks | 08:27 |
wasabi_ | wasabi_ doko, what do you think about integrating a update-gcj-classmaps script into gij? | 08:52 |
wasabi_ | wasabi_ It doesn't belong in Eclipse, and it doesn't belong in j-g-c | 08:52 |
wasabi_ | wasabi_ It belongs with gcj-dbtool. | 08:52 |
=== ivoks [~ivoks@lns01-1080.dsl.iskon.hr] has left #ubuntu-java [] | ||
=== wasabi_ [~wasabi@c-67-174-81-195.hsd1.tx.comcast.net] has joined #ubuntu-java |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!