Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,810 members, 7,810,115 topics. Date: Friday, 26 April 2024 at 08:58 PM

Java On Ubuntu Linux - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Java On Ubuntu Linux (3097 Views)

Activating Wordpress Plugins On Your Localhost On Ubuntu / Compiling Programs On Ubuntu Platform Help! (2) (3) (4)

(1) (Reply) (Go Down)

Java On Ubuntu Linux by mimohmi(m): 4:55am On Sep 23, 2006
Hey, got an Ubuntu Linux cd from skima, installed on my Gateway amd laptop, no problem. As a Java Developer and
a Linux freak, I wanted to get up doing my Java stuff, but problems. OK, I will say some of the problems I encountered. The first
was and still is connecting my ubuntu to the internet using my CDMA phone with a usb converter. The second was installing
my Java SE development kits (jdk), this i partially did, partial because up till now I still unable to run my java GUI application
on ubuntu, the default JVM is still been used by the system. However, I have been able to set my classpath and
install Java Enterprise studio and the Gui runs fine.
My findings, don't want people to make the same mistakes, i made. Infact, I had to reinstall the ubuntu about four times
to get my classpath right. Ok, in ubuntu, unlike other Linux based system, setting your classpath in /etc/profile doesn't
work, you have to set it in a file called /etc/environment, also that will be for system level. When I did that, It worked as root
only, so i had to repeat it in my .bashrc file, after word, javac and other commands were now available to me (my login name), except
tools like policytool that require GUI, even my GUI codes can't run. As I explore more, I will be sharing it also. For people
who are able to install Linux, and don't know what to do after wards, just to do the things you do on your window system
on the Linux box, if you make any mistake and can not fix it, just do re installation and keep trying, it does't bite but
just the time and effort, which you will be happy about later. More to follow.
Re: Java On Ubuntu Linux by mimohmi(m): 12:38am On Sep 30, 2006
Hey, guys, mean nobody is interested in catching up in this new fun in linux. To my last post, Some how i was able to get myself started. Since I install my ubuntu, I have been unable to set up my internet connection for some obvious reasons that am still working on, so i had to download the binary version of jdk1.5.0_08 from sun's website. Now, this is what i did to get my sun's jdk and jre running. I created a system link called jdk to my jdk1.5.0_08 directory, all in my /usr/local directory. Next i edited my .bashrc,/etc/profile and /etc/environment files to reflect my new classpath. Now the funny part, I added my jre/bin as the first entry in the /usr/environment path file. Hulala, when i login with my user name, i can actually see my java pointing to the binary version i installed, now i can compile and run any java programme, was also able to install netbean and java studio. Now the problem, as root, my system still point to the ubuntu jvm.
Re: Java On Ubuntu Linux by mimohmi(m): 3:47am On Oct 01, 2006
Hey guys, my ubuntu is up and running, my internet connection, finally came up and my old java pal,
also sitting on mama ubuntu. Happy ubuntu.

Re: Java On Ubuntu Linux by mimohmi(m): 12:31am On Oct 03, 2006
@skima

Hey, am really down with this ubuntu, infact it's bye to windows for now.
Just discovered the support for ubuntu, especially if you have internet access.
All you have to do is connect and use the apt-get install command, your package is
downloaded and install for you without further configuration.
I finally got the chm reader for Linux on ubuntu. I will just add this link for anybody
who wants to explore ubuntu or debian linux system.

http://easylinux.info/wiki/Ubuntu_dapper
Re: Java On Ubuntu Linux by skima(m): 7:23pm On Oct 03, 2006
lol grin cheesy

I have to reformat my hard drive cos i went to do some data-recovery. (not coursed by ubuntu)
so i will now reinstall and explore more.
Re: Java On Ubuntu Linux by adewaleafolabi(m): 5:45pm On Oct 04, 2006
@ skima
i use a graphic recovery tool and its never crashed my pc its called handy recovery u might try it
http://www.handyrecovery.com/handyrecovery.exe

@mimoh_mi
does amoroc comes with ubuntu, or do i have to download it?
thnx
Re: Java On Ubuntu Linux by mimohmi(m): 11:54pm On Oct 04, 2006
@adewaleafolabi
No amarok does not come with ubuntu, but you can download
it from this site, just choose the one that suite your system.
http://amarok.kde.org/wiki/Download
and for installation check http://kubuntu.org/announcements/amarok-1.4.3.php
or if you are connected to the net, just do this,
apt-get install amarok
all the installation and configuration will be done for by the apt tool.
See ya.
Re: Java On Ubuntu Linux by mimohmi(m): 1:54am On Oct 09, 2006
Hey guys, just want to invite people with interest in ubuntu or
linux system. To keep a hook on this page. With my ubuntu box, there is
nothing I can't do, with it. Infact the multimedia packages are not more than splendid,
so many to mention are available, window media is just a child play. For hardware suport,
ubuntu supports plug and play for usb devices including mobile phones. On desktop, alot
to choose from, am using flutbox and gnome, hope to install kde an xfce soonest. Is it
development, alot of plugin IDEs are available. What more do want for free. Before i go,
broswers, there are lots, i used mozilla, fire fox and the cool opera.
Re: Java On Ubuntu Linux by joney360(m): 5:06am On Feb 10, 2007
guy's am interested in this ubuntu linux  operating system how do i change  my windows laptop plz my email is nd_john@hotmail.com am at nsukka
Re: Java On Ubuntu Linux by mimohmi(m): 4:23pm On Feb 14, 2007
No prob. You can install both on your laptop. If your laptop has
a single partition, you have to use partition manager 8.0, to
resize your system without affecting your window partition.
Welcome to the world of ubuntu.
Re: Java On Ubuntu Linux by skima(m): 5:02pm On Feb 14, 2007
@mi
As am talking to you right now havent installd ubutu on my new laptop. The stuff just hangs all time am always fedup wen eva i try to install.

Though i later installed FC4 but wen i wanted to reinstall it the CD went mad. I'd to lose my genuine OS cos my laptop went blank sort of.

Any guess sha.


I have been hell busy this year.
Re: Java On Ubuntu Linux by babake81(m): 8:11pm On Feb 14, 2007
hello mimoh_mi ,

HOW WERE U ABLE TO GET YOUR INTERNET CONNECTION UP USING UR CDMA PHONE, i'm currently stuck!!!

need ur help fast

thanx!!
Re: Java On Ubuntu Linux by mimohmi(m): 10:58am On Feb 20, 2007

@babake81



Sorry for this late reply. To connect ubuntu to the net using CDMA
require little configuration. If your system has a COM port, you are
lucky, as in you don't have to buy a serial to usb converter.
A lot has been said about this stuff. Pls try and follow this link.

https://www.nairaland.com/nigeria/topic-11508.96.html

Re: Java On Ubuntu Linux by skima(m): 3:56pm On Feb 20, 2007
@mi

How u dey? Any clue for my post?
Re: Java On Ubuntu Linux by mimohmi(m): 4:43pm On Feb 20, 2007
@Skima
Nice to hear from you. Have been very busy of late myself.
Don't know why you haven't been able to get this stuff running.
May be I have to make a note for you. Try using partition magic, so that
you don't have to mess up your system each time you go stunting.
Thanks.
Re: Java On Ubuntu Linux by skima(m): 4:51pm On Feb 20, 2007
i hv installed other distro i dont know wats wrong with ubuntu. each time i try to install it just hang in the process.

(1) (Reply)

My Advice To Seun On How To Improve Nairaland Programming Section / Help I"m Loosing Intrest Fast In Learning Programming. / The Secrets Of Programming That Only 5% Of Programmer's Know

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 33
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.