find /usr -name java
--find under the folder /user the name java. Can use wild cards like *.txt etc etc.
sudo alien --scripts oracle-xe-11.2.0-1.0.x86_64.rpm
sudo apt-get install alien libaio15. sudo ln -s /usr/bin/awk /bin/awk
7. dpkg --install ./oracle-xe_11.2.0-2_amd64.deb
8.grep /var/lock/subsys /etc/init.d/oracle-xesed -i 's,/var/lock/subsys,/var/lock,'/etc/init.d/oracle-xe
10. sudo usermod -a -G dba oracle |
sudo usermod -a -G dba mike |
11. Make sure these environment variables are set for all users
1) Get a xsd from an xml.
http://www.freeformatter.com/xsd-generator.html#ad-output
2) Generate the Java Objects
xjc.sh -p com.package.name books.xsd -d workfolder
3) Process it in Java
JAXBContext jc = JAXBContext.newInstance("com.package.name"); Unmarshaller unmarshaller = jc.createUnmarshaller(); Collection collection = (Collection) unmarshaller.unmarshal(new File("src/books.xml"));