Things you can do with yum

Here are the 20 things you can do with yum. Nice article by Ravi.

http://www.tecmint.com/20-linux-yum-yellowdog-updater-modified-commands-for-package-mangement

Did you asked what is yum? Read this
yum Wiki  or
http://searchenterpriselinux.techtarget.com/definition/Yellowdog-Updater-Modified-YUM

Detailed man page is here
yum Help

Advertisements

Once upon a time I knew Java

After a long time working in Java. Started with the basic Java. Encapsulation, polymorphism, overloading, overriding blah blah blah. So write a small code without anyone’s help.

It takes the item details (item name, item price, item bar-code) from the user and prints the same in the console. Have a look.

ItemDetails.java

package item;

public class ItemDetails
{
public static void main(String[] args)
{
/*Input Data*/
inputreader read = new inputreader();
itemproperties itemprop = new itemproperties();

System.out.println();
System.out.println ("INPUT");

System.out.print("Enter Item Name : ");
itemprop.setItemName(read.getInputDetails());
System.out.print("Enter Item Price : ");
itemprop.setItemPrice(Integer.parseInt(read.getInputDetails()));
System.out.print("Enter Item Barcode : ");
itemprop.setItemBarcode(read.getInputDetails());

/*Output Data*/
System.out.println();
System.out.println ("OUTPUT");
System.out.println("Item Name : " +itemprop.getItemName());
System.out.println("Item Price : " +itemprop.getItemPrice());
System.out.println("Item Barcode : " +itemprop.getItemBarcode());
}
}

inputReader.java

package item;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class inputReader
{
public String getInputDetails()
{
String temp = null;
BufferedReader dataIn = new BufferedReader
(new InputStreamReader(System.in));

try
{
temp = dataIn.readLine();
}
catch( IOException e )
{
System.out.println("Error in getting Input");
}

return temp;
}


}

 

itemProperties.java

package item;

public class itemProperties
{
String itemName;
int itemPrice;
String itemBarcode;

/*Getter and Setter method*/

public String getItemName() {
return itemName;
}
public void setItemName(String itemName) {
this.itemName = itemName;
}
public int getItemPrice() {
return itemPrice;
}
public void setItemPrice(int itemPrice) {
this.itemPrice = itemPrice;
}
public String getItemBarcode() {
return itemBarcode;
}
public void setItemBarcode(String itemBarcode) {
this.itemBarcode = itemBarcode;
}
}

Tried In eclipse environment

eclipse java

After a long time not bad at all huh. What you say?

Installing Forms 10g in Windows Vista

Installing Oracle Forms 10g in Windows Vista system is tricky part. While installation it will give the following error

Checking installer requirements…
Checking operating system version: must be 5.0, 5.1 or 5.2. Actual 6.0
Failed <<<<
Exiting Oracle Universal Installer, log for this session can be found at C:\Program Files\Oracle\Inventory\logs\installActions2012-07-08_10-48-18PM.log
Please press Enter to exit…

clip_image002

After lot of finding finally able resolve the problem. We need to change the following thing to make it works. Here are the steps:-

1. Extract the Oracle forms Disk1 and Disk2 in C:\Oracledirectory.

2. Right click on setup.exe and click properties.

3. Navigate to Compatibilitytab.

4. Check the Compatibility mode set it for Windows XP (Service Pack 2). Also click the Show settings for all users. For other users also check the Compatibility mode set it for Windows XP (Service Pack 2).

clip_image004

clip_image006

5. Once done right click the setup.exe and click Run as administrator.

clip_image008

6. Next oracle universal installer screen will be displayed.

clip_image010

7. Follow the usual steps to install Oracle Forms 10g.

Note: – In Case if it throws any error related to paging sizes then change the paging size. To change the page size, right clicks on my computer and go to properties. Click Advance system settingsoption. In System properties click advanced tab–>performance settings tab. Click advanced and click change in virtual memory section. Set the custom page size as min 2048 and max 4096.

image

Oracle forms 10g Download Link

http://www.oracle.com/technetwork/developer-tools/developer-suite/downloads/101202winsoft-087370.html

Reader let me know your opinion.

Oracle forms 6i download

Well i know you are going to ask why their is post for de-supported product. My answer will be who knows when you need the old version. and their is proverb Old is good. to download oracle forms 6i use the following link

http://download.oracle.com/otn/nt/forms/6i_rel2_xp.zip

From oracle website you won’t find the link. As of now only the latest version 11g and 10g is available for download.

Note :- Direct link won’t work out. It will throw some licence agreement error. To avoid error first login to to oracle website then click the link.

Enjoy.

Junglee – Compare and buy

From next time onward when you are going to buy any item do visit junglee, service provided by Amazon.com. The very first impression is it’s nice and clean website.

Well you can’t buy any product from here but you can compare the price from both online and offline retailer. For the online retailer it’s provide direct link & contact details and for the offline retailer it’s provide contact details.

Starting from book, music, movies, cameras, home entertainment etc you can compare the price for almost 1.2 crore product (according to website).

So what you are waiting for visit junglee now…!!!