Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,150 members, 7,818,463 topics. Date: Sunday, 05 May 2024 at 04:21 PM

Mimohmi's Posts

Nairaland Forum / Mimohmi's Profile / Mimohmi's Posts

(1) (2) (3) (4) (5) (6) (of 6 pages)

Computers / Re: Ubuntu Linux by mimohmi(m): 10:23pm On Nov 28, 2006
@adewaleafolabi


Finally got the celtel connection working, speed was just good enough.
Infact am making this post with the connection. Here are the procedure.
PROCEDURE 1

open the terminal and type
sudo wvdialconf celtel // just to setup another connection, named it celtel

A file name celtel will be created for your. So type
sudo gedit celtel and edit the file as follows

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
; Phone = *99#
ISDN = 0
; Password = 0000
; Username = 0000
Stupid Mode = 1
Modem = /dev/ttyACM0
Baud = 460800
FlowControl = Hardware (CRTSCTS)

save the file.
To avoid editing other files manually type
sudo pppconfig
just file the stuff as we did earlier,
specify the DNS, PAP authentication and co.
when you are through.

Type sudo wvdial celtel
you should get an output like this.

mimoh@mimoh-laptop:~$ sudo wvdial celtel
Password:
--> WvDial: Internet dialer version 1.55
--> Warning: section [Dialer celtel] does not exist in wvdial.conf.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Nov 28 21:52:25 2006
--> Pid of pppd: 7648
--> Using interface ppp0
--> pppd: ��[05][08]
--> pppd: ��[05][08]
--> pppd: ��[05][08]
--> local IP address 10.100.134.216
--> pppd: ��[05][08]
--> remote IP address 192.168.100.101
--> pppd: ��[05][08]
--> primary DNS address 196.46.241.5
--> pppd: ��[05][08]
--> secondary DNS address 196.46.241.6
--> pppd: ��[05][0

do worry, you will get the connection, but still can browse.
open your browser, click Edit ---- Preferences
click Connection Setting and select Manual Proxy Configuration and type
172.18.254.5
in the Http Proxy textfield and 8080 in the proxy port field restart the browser and
enjoy free celtel internet access.




Programming / Re: Sun Relicenses Java Under Gpl by mimohmi(m): 5:50am On Nov 28, 2006
Welcome to the open JDK. Everything is just open from jdk to jvm.
Catch up with the vibe at https://openjdk.dev.java.net/
Computers / Re: Ubuntu Linux by mimohmi(m): 4:15am On Nov 28, 2006
@Christino

Thanks for this mighty effort, these are the required download.

Solaris 10 OS, x86 Platform - Solaris 10 6/06 Operating System
Required (These files must be downloaded for the product to work.)
Solaris 10 6/06 x86 CD 1, Multi-language sol-10-u2-ga-x86-v1-iso.zip 303.54 MB
Solaris 10 6/06 x86 CD 2, Multi-language sol-10-u2-ga-x86-v2-iso.zip 357.38 MB
Solaris 10 6/06 x86 CD 3, Multi-language sol-10-u2-ga-x86-v3-iso.zip 167.12 MB
Solaris 10 6/06 x86 CD 4, Multi-language sol-10-u2-ga-x86-v4-iso.zip 588.02 MB
Solaris 10 6/06 x86 CD 5, Multi-language sol-10-u2-ga-x86-v5-iso.zip 419.92 MB
Optional (Download the following files to add more functionality or learn more about this product.)
Download Now! Solaris 10 6/06 Languages CD, Multi-language sol-10-u2-ga-x86-lang-iso.zip 458.60 MB
Download Now! md5 checksums for x86 binaries, Multi-language md5sum-x86.list 1.08 KB
Computers / Re: Ubuntu Linux by mimohmi(m): 5:45am On Nov 26, 2006
@christino

Thanks for the offer, here is the link to solaris solaris download page,
On the page, select only solaris.
http://www.sun.com/software/solaris/get.jsp

@adewaleafolabe
Used same script we have been build. The only difference was
that I had to get the celtel IP address from windows system,which
i posted. Notice that you have to set your phone to use data as against sim
for the motorola blade. Basically, switch whatever phone to data, or data/voice
if availabe. Connection was very slow. Before, I forget also make sure you are
able to connect directly from the phone before setting it up with your system.
Sorry, I don't use GSM, Why very personal.

@rozilla
Basically, your message indicate that the starcomm modem was detected by your system.
So,you get to it details like manufacturer, model,driver, etc So, what you need to do know is
type run the configuration wizard like, this will actually tell you which /dev the modem is
attached to and build your connection scripts for you. Dead simple ok ! Just follow this step

sudo wvdialconf
--detech the modem and the /dev which it attached, write your first script /etc/wvdial.conf
next command

sudo pppconfig
--GUI application easy to use, just supply username and password, DNS ip address, authentication
method, alway use PAP, starcomms does't support CHAP. Also, use static IP not dynamic.
Finally
pon starcomms
you sre connected.
Last thing to note. If you have other usb devices connected to your system, it is better to
unplug them, run your configuration and then re-plug them back,the reason, is Ubuntu
dynamically hotplug usb devices, and the wvdialconf might not be able to detech the modem.
If you must leave them, then you either have to plug the modem and re-start the system or
hit ctr-alt-backspace to restart the system without having to shutdown.Then run the config tools


Computers / Re: Ubuntu Linux by mimohmi(m): 12:04am On Nov 26, 2006
@rozilla

These are just the characteristics of the modem and the driver. We don't need most
of these infos to use the modem. Ok type dmesg on your terminal. You should get a
message like this :
[17183626.236000] BANDWIDTH_OUT:IN= OUT=ppp0 SRC=10.132.192.33 DST=195.248.90.38 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=19145 DF PROTO=TCP SPT=49674 DPT=80 WINDOW=30408 RES=0x00 ACK URGP=0
[17183626.412000] BANDWIDTH_IN:IN=ppp0 OUT= MAC= SRC=195.248.90.38 DST=10.132.192.33 LEN=1500 TOS=0x00 PREC=0x00 TTL=52 ID=46433 DF PROTO=TCP SPT=80 DPT=49674 WINDOW=29 RES=0x00 ACK URGP=0
[17183626.580000] BANDWIDTH_IN:IN=ppp0 OUT= MAC= SRC=195.248.90.38 DST=10.132.192.33 LEN=1500 TOS=0x00 PREC=0x00 TTL=52 ID=46434 DF PROTO=TCP SPT=80 DPT=49674 WINDOW=29 RES=0x00 ACK URGP=0
[17183626.580000] BANDWIDTH_OUT:IN= OUT=ppp0 SRC=10.132.192.33 DST=195.248.90.38 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=19146 DF PROTO=TCP SPT=49674 DPT=80 WINDOW=30408 RES=0x00 ACK URGP=0
[17183626.756000] BANDWIDTH_IN:IN=ppp0 OUT= MAC= SRC=195.248.90.38 DST=10.132.192.33 LEN=1500 TOS=0x00 PREC=0x00 TTL=52 ID=46435 DF PROTO=TCP SPT=80 DPT=49674 WINDOW=29 RES=0x00 ACK PSH URGP=0
Take a look and try to figure out some lines and also why these stuffs
Computers / Re: Ubuntu Linux by mimohmi(m): 1:22am On Nov 25, 2006
@All

One fact about Linux, it gives us the power to explore. So if a particular process works for me,
it might not work for you. Why ?, different kernel exit for different processor. Personally, am using
amd, but an Intel clone works for me, however slow. So had to download the amd k7 kernel, and
my speed was hoooommme. My advice on dual system, is to install windows first, as the boot loader
will detect it, but if you install Linux first, the MBR of the HDD will be overridden by windows
installation. If possible to use the boot loader to install windows, but long process.
For the partitioning, I stick my neck, please don't cut it sha, with partition magic, your window
installation remains intact.

@ adewaleafolabi

Please can u help me download sun solaris 10. I uses dial up with make downloading large files
difficult, and with our brother PHCN, one can't be sure of power for that long. Thanks in
anticipation
Computers / Re: Ubuntu Linux by mimohmi(m): 1:05am On Nov 22, 2006
@christino

Is you system connected to the net ? Pls let me know
so that I can guide you on how to use the apt-get tools
to install packages on ubuntu.
Sorry am out my laptop is going down thanks to
PHCN (Pls Hold your Candle Nearer)
Computers / Re: Ubuntu Linux by mimohmi(m): 12:38am On Nov 22, 2006

Hey guys lets not give up. Quitters never win and Winners never quits.
Ok, the problem with installing Linux on a system with windows already
installed is always getting the partition right. Most of with laptops bought
them with windows pre-installed. So, if you must keep your windows, you
have to resize the partitions first. You can use partition magic, version 8
recommended. What it does is that it is able to determine the size of
your hard drive presentely occupied by windows and the free space in the
Hard drive. So, you just give the size you want for windows and the remaining
part becomes free for you to install your linux.
To install linux in general, always boot from the cdrom, then follow the wizard,
then you get to the partition aspect, always look for manual partitioning option,
here you need to create at lest two partitions, a root partition with a / and a
swap partition. As a rule of thumb, the swap size should be at lest twice
the size of your RAM. If you already have up to 3 partitions, create a logical
partition, where the linux partition will be created. Like on my system, I had
C, system recovering drive and e drives before i installed by ubuntu. So after
using partition magic to resize my window partition, i had to create a logical
partition as against a primary partition type. All you need to do this is the
partition manager that comes with ubuntu, same with other linux systems
(it's GUI, so always easy to use). Finally, I created my root, swap,home,opt
usr and var linux partitions. If you don't know the exact size to allocate to these
partitions, just create the swap as discuss above and allocate the remaining to
root partition, linux will create the remaining partition using default value
as size. Most times that will just be ok.
Alway allow linux to configure the X windows during installation, it is able
to probe your VGA and monitor. You might have to supply few info, but
don't worry, it is gui stuff, so easy to fill. Then setting up dual booting,
most linux these days uses the gruid boot loader as aginst lilo. Choose
the default OS, so that when you power on the system, gruid gives you
some time to select the os you want to boot, use the down arrow to select it
or the default option will be loaded.
Wao, very long I guess, so just get started and post the problem as you progress,
and we tackle them along that line to.

@heyprof, lets get started again. Together we all can learn.


Computers / Re: Ubuntu Linux by mimohmi(m): 11:31pm On Nov 21, 2006
@adewaleafolabi

Where you still able to connect with your celtel, if no. Here is the solution.
Had to collect a friend's motorola blade. The problem with the previous
solution was that we did not set the primary and secondary DNS IP addresses.
So, got the DNS ip address from windows. Also make sure you use PAP autentication.
Ok, here are the DNS ip addresses

DNS Servers . . . . . . . . . . . : 196.46.241.5

196.46.241.6
Don't forget the phone number is #999#
User Name 0000
password 0000
This should get your gprs up.
Programming / Re: Java Programming For Dummies by mimohmi(m): 3:25am On Nov 21, 2006
@Taysay

Hey ma guy, please never turn off deprecation warning. It's a valuable feed back
mechanism that inform you of a new implementation in the library. If it because of
the 1.4 exams, i will advice you go for the 5.0 version. There are a number of materials
available for the exams. If not, you will have to go for upgrade later. That means more
bucks and effort.


To the hot static puzzle, let's play with it a bit

@subcarrer

public class Testing{
public static int age = 3; //class variable, created before the class object (b4 constructor get called)

public static void main (String[] args){
System.out.println( age); //age is already created and intialized so can be used.
} // the funniest part is it can only be called from a static method
} // because the method also belong to the class, ie it is not tied to
// any instance of the class.
@2

public class Testing{
public int age = 3; // instance variable, initalized after the constructor is called
//not availabe until the new class operator.
public static void main (String[] args){
System.out.println( age); //screeching by compiler, age is an instance variable
} //method is class method
}

@3
What of this
public class Testing{
public static int age = 3;

public static void main (String[] args){
System.out.println( age); //prints 3

Testing test = new Testing();
System.out.println(test.age); //prints 3
}
}

May be like this
public class Testing{
public static int age = 3;

public Testing(){
age = age + 1;
}
public static void main (String[] args){
System.out.println( age); // prints 3

Testing test = new Testing();
System.out.println(test.age); // prints 4 ---
}
}
Programming / INEC Voter Registration Exercise- IT Analysis by mimohmi(m): 2:44am On Nov 21, 2006

Hello everybody, I have been following the present INEC Registration EX, much have been
said by people, from the Senate, Reps and Nigerians in general. So, just want us to look
at it from an IT perspective. When embarking on such Data Collection project, what are
the requirements to be considered before and after such project. What measures
should be taken to avert its failure. Finally, How should the data be stored to prevent loss
or corruption.

https://www.nairaland.com/nigeria/topic-30847.0.html#msg708260
http://www.inecnigeria.org/newsview.php?newsid=201

Computers / Re: Ubuntu Linux by mimohmi(m): 3:54am On Nov 07, 2006
@rozilla

can anyone tell me how to configure my starcomms landline phone's wireless modem in ubuntu

Ok, to set up your internet with your starcomms phone, just follow this steps,
Quite easy.

1. Open two terminals.
on one type this command, just to view you log messages as you progress.
sudo tail -f /var/log/messages

2. Plug your phone to your computer, laptop or desktop, usb or serial connector.
Watch the log message, it should display that a device has be detected and gives the
locatiion of the device. Something like ttyUSB0 for usb or ttyS1 for serial. Note it down.

3. On the second terminal, type this command

sudo wvdialconf

This command should be able to detect you modem and determine the best speed
for your modem. Ok. Before, I forget, the output is written to /etc/wvdial.conf.

4. On the terminal type

sudo pppconfig

A GUI appears, provide all the required info, at the end you should have
a similar screen on this link

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

5. On the terminal type

pon starcomms ----- to start the pppd

or
poff starcomms --- to shutdown the connection

Note:
You will need the IP address of starcomms DNS, get it from you windows.
Happy surffing on Ubuntu
Computers / Re: Ubuntu Linux by mimohmi(m): 3:17am On Nov 07, 2006
@adewaleafolabi

showed failed to start partition


From your post, your system already have 2 partitions ie recovery partition and
the C partition. If you have other partitions or the window partition uses all the HDD,
too bad. But there is a way out, get partition margic version 8.0, use it to resize your HDD.
You can do this without affecting your data. Then install the Ubuntu linux of the free partition.
Mind you, if you have up to three partition, it is advisable to make the Linux partition a logical
partition, then create at least a swap and root partition on the logical partition to
install the Ubuntu. GRUB will be able to figure the new HDD structure. With this, you should be ok,


i just borrowed a dongle from someone i was able 2 transfer files but to serve as dial up connection i failed if anyone knows how plz share


I haven't tried getting a dongle to work on linux before, but i think it shouldn't be that hard to do. Just plug it into the system,
check the log messages and find out where the device reside as in something like /dev/------, then use it for your
network connection configuration.Give it a shot and post your message.


thanks mimoh


I must say a big thanks to you too, for bringing out the challenges in you and making me
part of it. To think of it am just a linux freek. Have a wonderful day.
Programming / Re: Junit: How To Set Classpath On Windows Xp by mimohmi(m): 2:31am On Nov 07, 2006
@Taysay

Sorry for my late response. Ok, all you have to do is add the junit.jar to
your classpath. You don't need to add it to the window classpath, instead
to the javac and java classpath, so that the imported Libraries can be found.
So, from your working directory jusu do this;

javac -classpath c:/junit3.8.1/junit.jar MyTest.java

and to run the test app, you also need to add the junit.jar;

java -cp .;c:/junit3.8.1/junit.jar junit.awtui.TestRunner MyTest

-cp .;c:/junit3.8.1/junit.jar -- Here we are adding the junit libraries to our path.
like telling the JVM, where your included import statements are.
junit.awtui.TestRunner --- This is the TestRunner class, that's actaully running your test class.
You can have also swingui and text test runner. Check the junit doc.

I think you are using netbeans IDE, you don't need to add junit to your classpath,
when you create a new project, a test package is added for you. So all you need to do
is go to the test package, right click and select new -- junit, a junit class is created for
you, so just modify it to suite you requirements. More help pop it here,
will be watching.
You can go through these links for more details on classpath.
Hope, it helps.
http://www.javaden..com
https://www.nairaland.com/nigeria/topic-8060.0.html#msg234211
Computers / Re: Ubuntu Linux by mimohmi(m): 5:42am On Nov 06, 2006
@rozilla

What type of adapter are you using ? is it a usb connector or serial connector ?
Let me know so that I can guide you through. I use starcomms too but with a
usb connector with my laptop and serial connector with my desktop.
Hoping to hear from you.

@adewaleafolabi
That's kool. It shows that your are learning fast. The best bet in to return to your old
source list.
gksudo gedit /etc/apt/sources.list~

Re-save the file as /etc/apt/sources.list
If you are online run

sudo apt-get update

it should be able to fix the error.

@both
Check this link

https://www.nairaland.com/nigeria/topic-24348.0.html#msg621765

Computers / Re: Ubuntu Linux by mimohmi(m): 11:29pm On Nov 03, 2006
@adewaleafolabi


To enjoy playing music and videos on ubuntu, just follow this tips
on installing codecs on ubuntu.

sudo apt-get install gstreamer0.10-ffmpeg gstreamer0.10-gl gstreamer0.10-plugins-base \
gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse \
gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse w32codecs

To add DVD playback, install this

sudo apt-get install libdvdread3
sudo /usr/share/doc/libdvdread3/examples/install-css.sh
sudo apt-get install totem-xine
Programming / Netbeans 5.5 Released -- Order For A Free Copy Now by mimohmi(m): 5:46am On Nov 02, 2006

Netbeans just released the 5.5 version of their IDE.
You can place an order for a free copy. Might take between
10 to 14 days for delivery. Here is the link, just click on the
Get Free CD icon, then fill the order form.

http://www.netbeans.org/

Computers / Re: Ubuntu Linux by mimohmi(m): 12:03am On Oct 31, 2006
@@adewaleafolabi

The easiest way is to open the DOS prompt and type the following command
ipconfig /all

It displays all your network details.
Hope it helps.
Programming / Re: Am I Nigeria's First Scea ? by mimohmi(m): 12:59am On Oct 29, 2006

Hey guys, let's stop attacking wale, instead encourage and assist him to complete
and pass the exams. Wale, well done, if you have any questions, feel free to post it
on this forum. All the best.
Computers / Re: Ubuntu Linux by mimohmi(m): 12:31am On Oct 29, 2006
@adewaleafolabi


Ok, sorry for late response, as you did noticed over the weekend, the site was down.
Hope my appology is accepted. Ok, back to our gist. I will try and break it down from
the log message.

[size=10pt]ttyACM0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"


From this, your phone Usb modem was detected and assigned to /dev/ttyACM0 and the modem speed is 460800.
Check your /etc/wvdial.conf , it should be similar to this.
note this // are just comments, don't include the them in your scripts

[Dialer Defaults]
Modem = /dev/modem //yours should be /dev/ttyACM0
Baud = 115200 //460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
; Phone = <Target Phone Number>
; Username = <Your Login Name>
; Password = <Your Password>

It is exactly same with your, but just same format.
Don't edit it, we are going to use the pppconfig (GUI) to edit it.
Run this command in your terminal

sudo pppconfig

displays a GUI, use your tab, arrow and enter key to navigate and select your options.
In the first window, leave the options on create and use the tab key to select Ok, hit enter.

Next is the provider window, replace provider with the name of your provider, and note
this will also be the file/connection name, in your case, Celtel.

next window select dynamic (this options doesn't work well on most linux systems, edit and
choose static, ie if the dynamic fails), the way around it is to log to windows and retrive your
ip and dns address.
Note :
phone number, most gprs network uses *99#
enter the user name and password, get this from your service provider, I think for MTN. it is
wap, wap.
For authentication use PAP, used by most networks.
Save your settings, you have succeded in edit a number of scripts from one spot.
Finally enter the
sudo pon celtel
Don't add <> to it. and to disconnect
sudo poff celtel

This is to show you, a clip of my pppconfig UI.
[/size]

Computers / Re: Ubuntu Linux by mimohmi(m): 4:46am On Oct 25, 2006
@ Christino


Downloaded Vmware and installed it. But, my finding is that
I can't access my windows programms, may be I will have
to install the window XP through the VM.

@ adewaleafolabi
No problem, will check it later during the day.
Computers / Re: Ubuntu Linux by mimohmi(m): 11:52pm On Oct 24, 2006
@ Christino

Why do want to hang on to MS office, the open office on linux is even
more powerful than MS Office. It allows you to save your documents in almost
any format including .doc. You can easily migrate your office documents to it.
Well, MS Office can be used in linux through the emulators.

@ adewaleafolabi

Just copy your log message, so that i can know where thing went gaga!!.
to view your log message just do run this command in a new terminal.

sudo tail -f /var/log/messages
Software/Programmer Market / Re: Ineed A Fellow Java Developer by mimohmi(m): 11:52pm On Oct 23, 2006
hey was up ? What are the plans ?
To find me just do a google search using
"mimoh_mi" or "mimoh" or "mi mohammed"
thanks.
Computers / Re: Ubuntu Linux by mimohmi(m): 11:29pm On Oct 23, 2006
Hi,

Ok, i don't really play games, but wine supports most of window games,
for a better performance, it better to install the games using wine. It will
run the installer and place a short cut in the start up menu, under wine.
Ok, look at some demo.

Computers / Re: Ubuntu Linux by mimohmi(m): 11:24pm On Oct 22, 2006
@Christino


If you hava internet Connection,
open the Synaptic Package Manager, click on search icon and type wine,
you should see two wine packages, select wine and mark for install.
Then apply for the app to be downloaded and install on your system.
Next just do
wine <your.exe>
Good to go
or you can use the apt-get to install it, just follow these steps
Add wine repository to your source list

sudo gedit /etc/apt/sources.list

Add these two lines to the source list

deb http://wine.budgetdedicated.com/apt dapper main
deb-src http://wine.budgetdedicated.com/apt dapper main

Use you apt-get as follows

sudo apt-get update
sudo apt-get install wine

See also
http://www.winehq.com/
http://www.win4lin.com/
Any problem, just post.
Computers / Re: Ubuntu Linux by mimohmi(m): 2:09am On Oct 22, 2006
@Christino

Hey brother you don't to say good bye to your .exe files.
All you need to is install window emulator for Linux, alot out there
but most people use wine. I do use it too.
Computers / Re: Ubuntu Linux by mimohmi(m): 1:18am On Oct 22, 2006
Hey Guys

Doing nice work here. To connect ubuntu to internet using your mobile phone
is easy. Ubuntu can hotspot usb devices. Let me just run through the step here.
first open a terminal and type in this.

sudo tail -f /var/log/messages
This is to enable you view the log sort of monitoring

Next, connect the phone to you system, check the open terminal
to ensure, the phone was detected. Now type in the command in
a new terminal window.

sudo wvdialconf

Your phone modem, should detected by your system. Take note of
the point the modem is mounted, should look like
/dev/ttyACM0
and the speed.
From here the modem is setup, you can use any of the ppp config tools
to set up the connect. The easiest to to me is the pppconfig.
type sudo pppconfig and follow the instruction, fill in the
fields and run
sudo pon <connection-provider>.
to log off use
sudo poff <connection-provider>

any other problems, please post.

1 Like 1 Share

Programming / Re: Help,i Need A Guide To Scja Or Scjp Java Exams by mimohmi(m): 11:28pm On Oct 13, 2006
@chydon


Nice to hear you are preparing to take the SCJA and SCJP exams. I would want
you to register at http://www.javaranch.com , it's free. So that you
can share experience and problems with people also preparing for the exams.
In fact I used the site for my exams. Also, I would advice you go for the 5.0
SCJP first, the SCJA is a more generic exams, it's on General Java technologies
like Java SE, ME and EE. Alot of model and some xml. It just too wide. So your
best bet is to trash the SCJP. When you start your preparation let me know
so that i can send you some of my old materials but still relevant.
All the best and promise to be of help,during this exercise.

Programming / Re: Exception In Thread "main" NoclassDefFoundError; Class Name by mimohmi(m): 12:27am On Oct 11, 2006
@Taysay

Ok, just remembered, had a similar experience some time back. Which text editor are you using ?
The type of text editor can also cause such problem. When i used kedit(linux text editor for KDE )
the javac command runs fine but some how does not create the class file, which of generates the above error.
So, try using notepad to test a simple application, ie run the javac command and check if the
corresponding class file was created. if created run the java command. This should fix the problem.
Meanwhile thanks for the mail and call, hoping to see you, when you land lagos.
Programming / Re: Looking For People Interested In Exploring JavaEE 5 And EJB 3.0 by mimohmi(m): 3:11am On Oct 09, 2006
@subcareer

Hey, been knocking my head on the wall for sometime
now. I just got stock on exercise 2, number 5. Please how were you able to create the
black and white ranks for the pawns. Was i suppose to use the normal for statement
or for each, to get my ranks. Please will like to see your solution.
Thanks
Programming / Re: Exception In Thread "main" NoclassDefFoundError; Class Name by mimohmi(m): 2:09am On Oct 09, 2006
@Taysay

Thanks for your mail, but sorry for my late reply. If you have followed all the advice given
still doesn't work, check your class name, make sure you save the file with the class name, and pass
that same name to the compiler and java. e.g
If i have this class;

public class Demo {
    public static void main(String [] args){
        new Demo();
   }
}

save the file as Demo.java. to compile

javac Demo.java

and to run

Java Demo

If you have multiple JVM, unistall the two, try re-installing each one and try you application.
if this doesn't work, let me know the version you are using ie both the JDK and JRE. To get
the versions type

javac -version   ------ for jdk
java -version     ------- jre

Before I forget, also make sure the class file is in your classpath. Or just go to the folder directly and
compile directly and also try running from the folder. e.g if i saved my Demo.java in say c:\project
cd to C:\project

c:\project javac Demo.java
"" "" java Demo
Hope it helps
Programming / 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.

(1) (2) (3) (4) (5) (6) (of 6 pages)

(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. 102
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.