Installing Eclipse IDE on Arch Linux

October 30, 2018 Andy 0

I recently updated my OS (Manjaro i3) and noticed Netbeans had been updated to 9.0. Keen to see what new features they had added, I promptly took a look! Sadly there were no new features at all! In fact, many features have been removed! It turns out Netbeans is going through some changes due to Oracle donating it to the Apache open source License. This move makes sense long-term in my opinion as it was in direct competition with Oracles JDeveloper IDE. Short-term however its made Netbeans kind of useless. As such I’ve decided to move back to Eclispe after […]

No Image

XWiki on Ubuntu 16.04 LTS with Nginx Reverse Proxy

February 26, 2018 Andy 0

Install XWiki and all dependant programs on a 4 GB cloud server. This means: 1) Java 2) Tomcat 3) MySQL/MariaDB 4) XWiki 5) Nginx Here we use Nginx as a reverse proxy to firstly redirect all HTTP to HTTPS and then forward all requests on port 80/443 to port 8080 (tomcat) on the localhost. Here I use LetsEncrytp for my SSL certificates. Before we begin… Setup DNS wiki.dummydomains.org.uk ——> 134.213.27.60 Prepare the Server Update Update and reboot the server. Enable the firewall Install Oracle Java This is a requirement before installing Tomcat or XWiki. At the time of writing, Java 8.x is […]

No Image

Installing Oracle Java on Ubuntu 14.04 LTS

April 9, 2015 Andy 0

You will need to run the following as the root user. To install Java 7… …and for Java 8… You will have to agree and accept the following licenses: You can quickly test both java and javac with the following…. …or you may want to check out one of my previous posts here. Related Documents https://salayhin.wordpress.com/2014/04/23/install-oracle-java-78-jdk-and-jre-in-ubuntu-14-04/ https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get http://askubuntu.com/questions/521145/how-to-install-oracle-java-on-ubuntu-14-04

No Image

Using HelloWorld to Test a JDK Installation

February 8, 2015 Andy 0

To test that your Java Development Kit (JDK) is installed correctly, you need to write a simple Java program, compile it, and run the compiled bytecode. A simple Java HelloWorld example looks like this. You compile Java code with the javac command, and then run the resulting file with the java command. You should note that although the resulting Java bytecode is a file called HelloWorld.class, you run the program without any file extension. You could take this a step further and write some code that returns some Java system properties about the current installation. The below code makes use […]