Ubuntu 6.06

I just installed Ubuntu 6.06 on my laptop, everything is working fine, i've done the sudo apt-get install build-essential, sudo apt-get update, but now I am having trouble with installing JDK. I have installed it, done

sudo update-alternatives --config java

There are 3 alternatives which provide `java'.

Selection Alternative
-----------------------------------------------
1 /usr/bin/gij-wrapper-4.1
+ 2 /usr/lib/jvm/java-gcj/jre/bin/java
* 3 /usr/lib/jvm/java-1.5.0-sun/jre/bin/java

and selected 3.

When I type:
java -version

java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

When I type:
sudo update-alternatives --config javac

There is only 1 program which provides javac
(/usr/lib/jvm/java-1.5.0-sun/bin/javac). Nothing to configure.

When I type:
javac -version

javac 1.5.0_06
javac: no source files
Usage: javac
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are used
-classpath Specify where to find user class files
-cp Specify where to find user class files
-sourcepath Specify where to find input source files
-bootclasspath Override location of bootstrap class files
-extdirs Override location of installed extensions
-endorseddirs Override location of endorsed standards path
-d Specify where to place generated class files
-encoding Specify character encoding used by source files
-source Provide source compatibility with specified release
-target Generate class files for specific VM version
-version Version information
-help Print a synopsis of standard options
-X Print a synopsis of nonstandard options
-J Pass directly to the runtime system

Is everything set up right? Then when I try to "ant run" I get:
bash: ant: command not found

Do I actaully have to install ant. I thought it came with JDK. Sorry if all of these are bad questions, but I'm pretty new/lost with linux/ubuntu, and am just trying to get things going. I've been using the internet and ubuntu forms to get me this far, but can't find any other help on there. Also, if I have missed anything else in setting up ubuntu, please let me know. Thanks,

Andrew

jhunte@uoguelph.ca's picture

You have to get ant as well.

You have to get ant as well. Just sudo apt-get install ant and it'll set it up all nice and good for you.

Jess H.R. Hunte
2nd Year, B.Comp.
SOCIS Webmaster

jgaber@uoguelph.ca's picture

6.06?

Ubuntu 6.06 is a year and a half old. I would also recommend upgrading to a newer version. The more recent ones are a lot more laptop-friendly.
___________
Josh Gaber

Uprgrade problems

So I tried taking your advice, and was upgrading to 6.10. Everything was going good, it downloaded everything and was almost done installing when the computer sudenly completely shutdown without any warning (made a pop/crack noise too). So now I am unable to boot into linux and the GRUB loader gives me 2 options for Ubuntu now (even though neither work). This also happpened to me when I tried updating and I ended up just reinstalling ubuntu. Can anyone tell me why this might keep happening? Is it hardware (overheating or bad hardrive), software, or just me doing something wrong. Is there a way to recover this, or should I just reinstall again (I just finished downloading 7.04 so i am probably going to install that) Thanks,

Andrew

jgaber@uoguelph.ca's picture

A lot of people I know have

A lot of people I know have had problems upgrading from 6.06 to 6.10. Sorry for not stopping you. In the end, however, as long as you haven't done too much with the computer already, it's probably best in the end that you upgrade to 7.04. You should not have any problems upgrading to 7.10 when it comes out. The upgrading issues only seem to occur when you upgrade from 6.06.
___________
Josh Gaber

I'll uprgrade then

Thanks for the quick response. I hadn't really done much at all to it, so i will just install 7.04 and then upgrade to 7.10 when it come out.

Andrew

ahelmer@uoguelph.ca's picture

7.10 Gutsy Gibbon comes out

7.10 Gutsy Gibbon comes out in two days, dont bother updating to 7.04.

------------------------------
Andreas Helmer
SOCIS Assistant SysAdmin (F07)
2nd Year, B. Comp (Co-op)

jgaber@uoguelph.ca's picture

I disagree

I wouldn't recommend installing 7.10 until at least a few weeks have passed. There may still be bugs in it that affect its usability.
___________
Josh Gaber

bondg@uoguelph.ca's picture

I've generally had good luck

I've generally had good luck with using the Ubuntu releases as soon as they come out; they seem to be tested fairly well. I did some testing of gutsy tribe 4 a bit ago on my desktop and it was fairly stable for me, even then. I'll be installing 7.10 on my laptop this weekend.
-----
These are your father's parentheses. Elegant weapons, for a more... civilized age.

aberry@uoguelph.ca's picture

That sounds like a hardware

That sounds like a hardware issue for sure - be careful, back up your data in case your laptop bites the dust!

7.10's been out almost a week now and I haven't heard of any horrible issues. But if everything is working then I wouldn't rush on it :)

--
Andrew

Thats what I was afraid of

I installed 7.04 and didn't have any problems with it. But I also made sure my laptop had been off for a couple of hours first because I was thinking that it might have been overheating. Not sure though. I have everything on an external hard drive just incase it does suddenly bite the dust. Hopefully thats doesn't happen for a while though:) I'm just gonna stick with 7.04 until christmas since I have it working. Then over the break I might try upgrading to 7.10.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.