update-alternatives --config java
update-alternatives --config javac
31 December 2008
Debian - Set Sun Java SDK as default JVM
30 December 2008
Debian 4 - Dynamic MMap ran out of room SOLVED
Add the following line to either /etc/apt/apt.conf or /etc/apt/apt.conf.d/70debconf
APT::Cache-Limit "50000000";
APT::Cache-Limit "50000000";
Debian 4 - sources.list
Here is my APT sources.list
#
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-1 20070407-11:40]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-2 20070407-11:40]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-3 20070407-11:40]/ etch contrib main
deb http://security.debian.org/ etch/updates main contrib
# deb-src http://security.debian.org/ etch/updates main contrib
deb ftp://ftp.debian.org/debian unstable main contrib non-free
#deb ftp://ftp.debian.org/debian testing main contrib non-free
#
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-1 20070407-11:40]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-2 20070407-11:40]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD Binary-3 20070407-11:40]/ etch contrib main
deb http://security.debian.org/ etch/updates main contrib
# deb-src http://security.debian.org/ etch/updates main contrib
deb ftp://ftp.debian.org/debian unstable main contrib non-free
#deb ftp://ftp.debian.org/debian testing main contrib non-free
26 December 2008
OpenSuse 11.1 : Amarok and WMA files
Choose > Settings > Configure Amarok > Engine > Xine Engine
If you have scratched sound choose > Output plugin > alsa
If you have scratched sound choose > Output plugin > alsa
OpenSuse 11.1 : K3B doesnt recognize my DVD-burner
Add user to cdrom group then u could see your dvd devices.
Then add user to the disk group, then it seems to work fine.
Restart system and thats all.
Then add user to the disk group, then it seems to work fine.
Restart system and thats all.
23 December 2008
64-bit flash on opensuse 11.1
Finally adode realised that there are 64 bit machines. not bad it took them only few years.
So the offer a flash plugin for 64 bit.
http://blogs.adobe.com/penguin.swf/2008/11/now_supporting_16_exabytes.html
Now to install it is quite simple for firefox 3
get the file
http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz
untar
Source : http://blog.elenaworld.net/2008/11/64-bit-flash-on-opensuse-111.html
So the offer a flash plugin for 64 bit.
http://blogs.adobe.com/penguin.swf/2008/11/now_supporting_16_exabytes.html
Now to install it is quite simple for firefox 3
get the file
http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gz
untar
tar -xvf libflashplayer-10.0.d20.7.linux-x86_64.so.tar.gzsudo cp libflashplayer.so /usr/lib64/sudo ln -s /usr/lib64/libflashplayer.so /usr/lib64/browser-plugins/libflashplayer.soSource : http://blog.elenaworld.net/2008/11/64-bit-flash-on-opensuse-111.html
18 December 2008
How to: Fix PulseAudio and primary audio issues with Fedora 10
1. open volume control
2. Click preferences
3. Check "External Amplifier" and close
4. Click "switches" on the volume control
5. uncheck "external amplifier"
6. Close
2. Click preferences
3. Check "External Amplifier" and close
4. Click "switches" on the volume control
5. uncheck "external amplifier"
6. Close
15 February 2007
What is Linux ?
Linux is an operating system for your computer, in a similar way that Microsoft Windows and Apple's OSX are operating systems for your computer. Linux is very different however (and we believe, better!).
Linux was started in 1992 by then university student Linus Torvalds, who released his software for free, including all of the source code. Because Linus made his source code freely available, thousands of developers around the world have downloaded it, made changes and sent improvements back to him!
Because of this global collaboration effort, Linux is stable, extremely flexible and well supported. It is the fastest growing operating system in the world and it is freely available for you to install onto your computer! Sound great? It is!
Linux comes with thousands of free applications, which are maintained by thousands of volunteers around the world. These projects also release their source code, which means they too are 'open source'.
"But how can they do all this for free?" I hear you ask. The Linux and open source communities do all this for free because they love the software, not because they try to make money from it. They are doing it for prestige, honour and because they believe in open source ideals.
It is important to note that due to the nature of open source software (the ability to customise it however you like) there are many different version of Linux. This is great because you can find a version that suits you best! These different versions of Linux are called 'distributions'. This is because the creators of the various versions take Linux and make their own changes to it, add their own packages and then distribute it for free. It might sound complicated, but it's not. So don't worry, we'll help you get started on the right track!
We invite you to look further into Linux and welcome you to 'make the move' into an amazing new world.
Please read on, or skip through to the 'Get started!' section if you're ready to jump right in!
Linux was started in 1992 by then university student Linus Torvalds, who released his software for free, including all of the source code. Because Linus made his source code freely available, thousands of developers around the world have downloaded it, made changes and sent improvements back to him!
Because of this global collaboration effort, Linux is stable, extremely flexible and well supported. It is the fastest growing operating system in the world and it is freely available for you to install onto your computer! Sound great? It is!
Linux comes with thousands of free applications, which are maintained by thousands of volunteers around the world. These projects also release their source code, which means they too are 'open source'.
"But how can they do all this for free?" I hear you ask. The Linux and open source communities do all this for free because they love the software, not because they try to make money from it. They are doing it for prestige, honour and because they believe in open source ideals.
It is important to note that due to the nature of open source software (the ability to customise it however you like) there are many different version of Linux. This is great because you can find a version that suits you best! These different versions of Linux are called 'distributions'. This is because the creators of the various versions take Linux and make their own changes to it, add their own packages and then distribute it for free. It might sound complicated, but it's not. So don't worry, we'll help you get started on the right track!
We invite you to look further into Linux and welcome you to 'make the move' into an amazing new world.
Please read on, or skip through to the 'Get started!' section if you're ready to jump right in!
19 October 2004
MS Windows XP - change boot picture
This is cool! Mark Russinovich just "discoverd" a new boot.ini switch for winXP and 2003.
/BOOTLOGO
Use this switch to have Windows XP or Windows Server 2003 display an installable splash screen instead of the standard splash screen. First, create a 16-color (any 16 colors) 640x480 bitmap and save it in the Windows directory with the name Boot.bmp. Then add "/bootlogo /noguiboot" to the boot.ini selection.
/BOOTLOGO
Use this switch to have Windows XP or Windows Server 2003 display an installable splash screen instead of the standard splash screen. First, create a 16-color (any 16 colors) 640x480 bitmap and save it in the Windows directory with the name Boot.bmp. Then add "/bootlogo /noguiboot" to the boot.ini selection.
09 October 2004
JDataStore 7 - developer license
you will have to extract the jdatastore.license file out of the
original jdsserver.jar and add it to your /lib folder.
original jdsserver.jar and add it to your /lib folder.
06 October 2004
Borland JBuilder 2005 on Java 5 - guide
There are several steps to make JB2005 run on JRE1.5rc, instead of using its default JRE1.4.
Firstly, modify JBUILDER\bin\jdk.config, as the following:
#--------------------------------------------
#javahome ../jdk1.4/
javahome C:/jdk1.5.0/
#addpath ../jdk1.4/lib/tools.jar
addpath C:/jdk1.5.0/lib/tools.jar
addpath apache.jar
vmparam -Dswing.aatext=true
#--------------------------------------------
Notice we have another apache.jar. This is because in JRE1.5 Sun has changed package org.apache.* to com.sun.org.apache.*.internal, which makes JB cannot find the appropriate package, and throw exceptions, which will stop JB's starting-up. Sun's solution is recoding the source, which ofcoz not works in our circumstance. So i extract J2RE1.4.2's rt.jar (in JRE1.4.2/lib), pull out org/apache/, and compress it to be apache.jar. Then i put it into JBUILDER/bin.
Now its time to launch JB on JRE1.5rc! Enjoy!
Another thing: due to the changes made in LandF part in Swing of JRE1.5rc, JB cannot use Windows LF. Instead, i use Borland LF. It's also nice enough for me! Hope somebody could fix this. Also i want to use JRE1.5's default LF in JB, because it is very convenient to view, at least much better than the 1.4's default Metal LF!
Firstly, modify JBUILDER\bin\jdk.config, as the following:
#--------------------------------------------
#javahome ../jdk1.4/
javahome C:/jdk1.5.0/
#addpath ../jdk1.4/lib/tools.jar
addpath C:/jdk1.5.0/lib/tools.jar
addpath apache.jar
vmparam -Dswing.aatext=true
#--------------------------------------------
Notice we have another apache.jar. This is because in JRE1.5 Sun has changed package org.apache.* to com.sun.org.apache.*.internal, which makes JB cannot find the appropriate package, and throw exceptions, which will stop JB's starting-up. Sun's solution is recoding the source, which ofcoz not works in our circumstance. So i extract J2RE1.4.2's rt.jar (in JRE1.4.2/lib), pull out org/apache/, and compress it to be apache.jar. Then i put it into JBUILDER/bin.
Now its time to launch JB on JRE1.5rc! Enjoy!
Another thing: due to the changes made in LandF part in Swing of JRE1.5rc, JB cannot use Windows LF. Instead, i use Borland LF. It's also nice enough for me! Hope somebody could fix this. Also i want to use JRE1.5's default LF in JB, because it is very convenient to view, at least much better than the 1.4's default Metal LF!
Subscribe to:
Posts (Atom)