Posts Tagged ‘fedora

13
Oct
09

I am not a fan of WINE..

My fedora 11 linux machine was running good,with faster boot up[ 21 seconds to the login screen 🙂 ],until I installed WINE in it.As a web-developer,I am in need of IE6,for cross browser compatibility issues that will occur only in that browser,while others are working fine.so I had to install WINE,to run ies4linux script.Unfortunately,after installing WINE,my fedora freezes then and there.I cannot open a browser,I cannot open my back up drive.Everything freezes.Even my cpu2 performance level went for 30-50% increase.Also,WINE runs slowly.I am sure,that ies4linux caused such problem.Also,my booting of fedora went for more than a minute.So I uninstalled WINE and ies4linux,but still my bootup time got slow and my fedora freezes all of the sudden.so I went for reboot and used ‘ctrl+alt+F2’ at the login page.I don’t know what was the problem,so I logged in as root user and run ‘fsck‘ and it solved my problem.It seems that an unwanted script in ies4linux,has blocked my entire fedora.The fsck cleaned it with zero errors and now my fedora is back.

Advertisements
27
Sep
09

Install Eclipse Galileo/Ganymede on Fedora 11

Step 1:

Before installing Eclipse IDE,make sure you installed JDK/JRE.If you have not installed it,follow the instruction provided in the below link,

link

step 2:

Download the Eclipse IDE from eclipse download site,as tar.gz file.

step 3:

After the tar.gz file is downloaded,open the terminal and type

#tar xzvf filename.tar.gz

This will extract the file in the parent directory

step 4:

Move to eclipse folder,

#cd ~/eclipse

Open the eclipse.ini file,

#gedit eclipse.ini

The file will look something like this,

-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520
-product
org.eclipse.epp.package.jee.product
-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m

Now add the following lines before the ‘-vmargs’,

-vm
/[HOME-DIRECTORY]/jdk1.6.0_xx/bin/java

[ make sure you follow the same pattern as above,the path should be an absolute one starting from parent directory to the java,and replace ‘xx’ by the version you are using. ]

After adding the line,the file will look something like this,

-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520
-product
org.eclipse.epp.package.jee.product
-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
256m
-vm
/opt/jdk1.6.0_16/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m

Now save the file and close it.

Step 5:

Now open the terminal and navigate to eclipse folder and type,

#./eclipse

Now your eclipse is ready.

27
Sep
09

Installing jdk/jre on fedora 11

Download the required version of jdk or jre from the below link,
http://java.sun.com/javase/downloads/index.jsp

Download the bin file,not the rpm,
ex : jdk-6u16-linux-i586.bin

[ SAME PROCEDURE IS FOLLOWED FOR BOTH JDK AND JRE, FOR JRE TO BE INSTALLED USE JRE INSTEAD OF JDK HERE]

After the download is over,move the file to opt,

# mv jdk-6u16-linux-i586.bin /opt

Change the file permission as executable as,[THIS HAS TO BE DONE AS ROOT USER]
# cd /opt
#chmod +x jdk-6u16-linux-i586.bin

Execute the file,

# ./jdk-6u16-linux-i586.bin

After the file gets executed,remove the file,

#rm -rf jdk-6u16-linux-i586.bin

Now open with gedit,

#gedit /etc/profile.d/java.sh

Now paste the following,

export JDK_HOME=/opt/jdk1.6.0_xx
export PATH=$JDK_HOME/bin:$PATH

[replace xx by the version of your jdk]

Now, type the following command to make that file available:

#source /etc/profile.d/java.sh

Then type,

#/usr/sbin/alternatives –install /usr/bin/java java /opt/jdk1.6.0_xx/bin/java 2
#/usr/sbin/alternatives –config java

After entering the above command,it will ask for which java version to be used,press the number of updated version

After that enter,

#java -version

This will provide the java version used.
Now your Fedora is ready for java files to be executed…..