/srv/irclogs.ubuntu.com/2007/04/01/#ubuntu-java.txt

=== AfC [i=andrew@ppp122-233.static.internode.on.net] has joined #ubuntu-java
=== man-di_ [n=mkoch@dynadsl-080-228-201-251.ewetel.net] has joined #ubuntu-java
=== vil [n=vladimir@ubuntu/member/vil] has joined #ubuntu-java
dokoman-di_, vil: it's weekend ;-) anyway, away for most of the time today08:04
vildoko, morning08:04
vildoko, looked at the bug and it seems ok, though i tested it only on i38608:05
vilyou can see few comments in my mail08:05
vildoko, reading your reply, i don't exactly understand, what shall i add to that bug? i don't have access to an amd64 to test my stuff08:08
dokoahh, ok, then nevermind08:09
vildoko, tested the updated disable-junit4 on ppc and that works, i guess we would like to get it to feisty08:10
vilhow difficult is it now to upload 3.2.2-0ubutnu2?08:12
=== man-di_ is now known as man-di
=== AfC [i=andrew@ppp122-233.static.internode.on.net] has joined #ubuntu-java
=== vil [n=vladimir@ubuntu/member/vil] has joined #ubuntu-java
=== golpira [n=golpira@c-69-137-166-192.hsd1.de.comcast.net] has left #ubuntu-java ["Konversation]
=== golpira [n=golpira@c-69-137-166-192.hsd1.de.comcast.net] has joined #ubuntu-java
=== netjoined: irc.freenode.net -> brown.freenode.net
=== man-di [n=mkoch@dynadsl-080-228-201-251.ewetel.net] has joined #ubuntu-java
=== man-di_ [n=mkoch@dynadsl-080-228-201-251.ewetel.net] has joined #ubuntu-java
=== b52laptop [n=mohammed@41.248.3.252] has joined #ubuntu-java
b52laptophi05:49
b52laptopjavac is not recognized like command in my system , in my .bashrc i got  05:50
b52laptopexport JAVA_HOME='/usr/lib/jvm/java-6-sun-1.6.0.00/'05:50
b52laptopPATH=.:$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH05:50
b52laptopanyone have an idea ?05:50
man-di_export PATH05:57
b52laptopman-di_,  it didn't change the javac result !06:00
b52laptop:(06:00
man-di_please do 'echo $PATH' end tell me06:01
man-di_and what shell are you using? bash?06:01
b52laptopyeap bash06:01
b52laptopecho $PATH06:02
b52laptop/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games06:02
b52laptopman-di_, 06:02
man-di_so its not in your PATH06:02
b52laptophm06:02
man-di_btw: should not be needed in there either06:02
man-di_sun-java6-jdk package is installed?06:02
b52laptopargh !06:03
b52laptopnop06:03
b52laptopi'm installing it06:03
=== b52laptop feel a little bit stupid
man-di_then do 'update-java-alternatives --set java-6-sun'06:04
man-di_then /usr/bin/javac and /usr/bin/java should point to the right thing06:04
b52laptopman-di_,  thanks man06:05
b52laptopworking06:05
b52laptoplike a charm :)06:05
b52laptopman-di_,  it works , but the JAVA_HOME VARIABLE and $ PATH are still empty and i need them to start tomcat :d06:16
man-di_tomcat from ubuntu or upstream tomcat?06:17
man-di_you dont need them for tomcat from ubuntu06:17
man-di_and you only need JAVA_HOME for upstream tomcat06:18
b52laptoptomcat for ubuntu 06:18
man-di_have you actually started a new terminal to get the new .bashrc sourced?06:18
b52laptopsource=.bashrc 06:18
b52laptop?06:18
man-di_then you dont need to set PATH and JAVA_HOME06:19
man-di_tomcat should use/find the JDK6 automatically06:19
b52laptoproot@med-laptop:/home/mohammed# /usr/local/apache-tomcat-6.0.10/bin/startup.sh 06:19
b52laptopNeither the JAVA_HOME nor the JRE_HOME environment variable is defined06:19
b52laptopAt least one of these environment variable is needed to run this program06:19
b52laptopi source the bashrc06:19
b52laptopbut :(06:19
man-di_thats upstream tomcat, not ubuntu tomcat06:20
b52laptopupstream = ?06:20
b52laptopyu mean a tomcat from ubuntu repo06:20
b52laptophm06:20
man-di_upstream = the version from the people who wrote the software06:20
man-di_from ubuntu = installed via apt-get from some repo06:20
b52laptophm ok06:21
man-di_to get your .bashrc read either start a new terminal or do 'source ~/.bashrc'06:21
b52laptop source /home/mohammed/.bashrc 06:22
b52laptopand still tomcat complaining :(06:22
b52laptopi think i must export the variable on the shell directly ?06:22
man-di_then something is wrong what you wrote into .bashrc06:23
b52laptophm06:23
man-di_show me your .bashrc by pasting it to http://rafb.net/paste06:23
b52laptopok06:23
b52laptopman-di_, http://rafb.net/p/sE6fO468.html06:24
b52laptopman-di_,  ls /usr/lib/jvm/java-6-sun06:26
b52laptopjava-6-sun/          java-6-sun-1.6.0.00/ 06:26
man-di_looks okay06:26
b52laptopshould i put java-6-sun in my bashrc06:26
b52laptop?06:26
b52laptopor java-6-sun-1.6.0.00 ?06:26
man-di_btw: you know that '.' in PATH can be a security issue?06:26
b52laptophm06:27
b52laptopif i remove it , it will work ?06:27
man-di_java-6-sun is a symlink to java-6-sun-1.6.0.0006:27
man-di_no, its independant06:27
b52laptophm ok06:27
man-di_please try 'export JAVA_HOME="/usr/lib/jvm/java-6-sun-1.6.0.00"' on the command line06:28
man-di_and btw setting your CLASSPATH globally in your .bashrc can be pretty harmful for your system06:29
man-di_and cause many issues (but not this one)06:29
b52laptop export JAVA_HOME="/usr/lib/jvm/java-6-sun-1.6.0.00"06:31
b52laptoproot@med-laptop:/home/mohammed# echo $JAVA_HOME06:31
b52laptop/usr/lib/jvm/java-6-sun-1.6.0.0006:31
b52laptoproot@med-laptop:/home/mohammed# 06:31
b52laptopbut still tomcat complaining !06:32
b52laptopwhat do you think if i make export PATH=/usr/lib/jvm/java-6-sun/bin//usr/lib/jvm/java-6-sun/jre/bin/:$PATH06:32
b52laptopin my bashrc?06:32
b52laptopwhat the other alternatives for CLASSPATH ?06:33
man-di_dont set CLASSPATH in your .bashrc, only set it in a script when you actually need it06:34
b52laptophm ok06:34
man-di_I dont know what tomcat 6 is checking for in JAVA_HOME, perhaps you need to install another package in addition06:35
b52laptophm06:35
man-di_you should look into the tomcat6 startup.sh script and check06:35
b52laptopok06:35
man-di_export JAVA_HOME="/usr/lib/jvm/java-6-sun-1.6.0.00" is definitely correct06:35
b52laptopok06:37
b52laptophm07:52
b52laptopapt-cache give me java607:52
b52laptopand i want to install java507:52
b52laptopfrom the repo07:52
b52laptop?07:52
b52laptophow could i do ?07:52
vilapt-cache search java507:55
b52laptopvil,  no result :d07:56
b52laptopopps07:56
b52laptopi just changed the repos07:56
b52laptop....07:56
vilb52laptop, http://packages.ubuntu.com/cgi-bin/search_packages.pl?keywords=sun-java5&searchon=names&subword=1&version=all&release=all07:59
vilyou must have some issue with repo config07:59
b52laptopvil,  yeap thanks , just fix it now07:59
=== b52lap [n=mohammed@adsl196-212-104-217-196.adsl196-12.iam.net.ma] has joined #ubuntu-java
=== doko_ [n=doko@dslb-088-073-096-183.pools.arcor-ip.net] has joined #ubuntu-java
vilman-di_, how do i select, which java compiler will be used for ant javac09:32
vil?09:32
vilis it JAVA_HOME?09:33
vilgot it09:38
man-di_normally ant uses 'modern' from JAVA_HOME09:39
man-di_but you can select the compiler in the javac tag09:40
vildoko, ping?10:34
dokovil: pong10:47
vildoko, good evening10:47
vili wanted to ask if we are going to upload the fixed eclipse for ppc?10:48
dokovil: sure, you can do that. but maybe update from the repository as well10:49
vilok10:49
vildoko, what will be the version number? 0ubuntu2?10:49
dokoyes10:50
dokoI think we didn't update debian yet10:50
vildoko, is there any process for this fix upload or can i "just" upload?10:50
dokojust upload10:50
vilok, that's it10:51
=== doko [n=doko@dslb-088-073-096-183.pools.arcor-ip.net] has joined #ubuntu-java
vildoko, i got this message when creating the package...11:26
vildpkg-source: warning: Version number suggests Ubuntu changes, but Maintainer: does not have Ubuntu address11:26
vilshould i mess with the maintainer or can i just go ahead?11:26
vilnite11:46
dokovil: you should "mess" with it11:56
dokoXSBC-Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>11:57
dokoMaintainer: Ubuntu MOTU developers <ubuntu-motu@lists.ubuntu.com>11:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!