Categories
Java Linux

Solving loading issue of Eclipse after upgrading Java version to Oracle Java 1.7 in Ubuntu 12.04

Few days ago I wanted to install latest version of Netbeans (version 7.4) on my Ubuntu 12.04 machine. One prerequisite of new Netbeans version is Java Oracle 1.7 and by default Ubuntu is shipped with Open JDK 1.6, therefore, I had to no way except installing Oracle Java 7 on my Ubuntu. For installing Java […]

Categories
C/C++ Java

Cloning ls command in C and Java programming languages

Long time ago I wanted to write one file manager as a fun project in either C or Java programming languages but unfortunately due to some issues and having no free time, the project was unsuccessful and I had to give it up in the middle of doing it. Although, I could not write my […]

Categories
Java

Dynamic array in Java

In the past I discussed about dynamic memory allocation and dynamic array in C programming language. In addition, I put examples for all explained methods. In this post I will cover dynamic memory allocation or more precisely dynamic array in Java. For recall dynamic array is useful when you do not know the number of […]

Categories
Java Linux

How to add CLASSPATH for jar files in Java in Ubuntu

When you do Java programming sometimes it happens that you need to add extra libraries to your application. In order to add those libraries you need to manipulate your CLASSPATH of Java programming language. Simply, CLASSPATH refers to the jar files libraries and this post shows “How to add classpath for jar files in Java […]

Categories
Java

Singleton Design Pattern

Design pattern is a part of object oriented programming which sometimes is difficult to understand or find a logical reason to apply them. Overall, up to now design pattern was not that much useful for me and just makes my application really complex and in some extends difficult to understand. Anyway, today I am writing […]

Categories
Java

Java Email API

If you want to integrate email application in your java program or like me you want to reinvent wheel for curiosity, you can use Java mail API. This API is available on Oracle website and free to download. So you can download it and add to your application to facilitate it with built in email. […]

Exit mobile version