Skip to content

Instantly share code, notes, and snippets.

View Ahmedsaka's full-sized avatar

Saka Ahmed Ahmedsaka

View GitHub Profile
@Ahmedsaka
Ahmedsaka / gist:612a7819dbc2bec62756d7a076962c30
Last active September 2, 2019 23:54
How to add an environment variable for your java jdk unix OS
open the terminal, make sure you are in your home directory
run the following
=>ls
find the and open the .bash_profile file in an editor with "open -e .bash_profile file",
if not create using => "vim ~/.bash_profile"
enter : "export $JAVA_HOME=$(/usr/libexec/JAVA_HOME)"
run => source ~/.bash_profile
To verify the environment variable was been created, run => "echo $JAVA_HOME"or "export | grep JAVA"
@Ahmedsaka
Ahmedsaka / LinkedList.java
Created May 20, 2018 03:41 — forked from ericrswanny/LinkedList.java
A linked list class implemented in Java
/*============================================================================
Name : LinkedList.java
Author : Eric Swanson
Date : Sep 7, 2011
Version :
Description :
Copyright (C) 2011 Eric Swanson
This program is free software: you can redistribute it and/or modify