Learn the powerful enterprise adaptable database:

Getting Started With ADABAS & Natural

Sunday, February 21, 2016

Solution To: jboss studio does not accept java jdk version



Problem: jboss studio does not accept java jdk version

Solution: Install JDK 32 bit instead of 64 bit.

How To Create Portable JDK


.
How To Create Portable JDK

1) Download JDK

Download to your local folder.

2) Extract Tools.zip folder

Use 7zip to extract the tools.zip to your target folder
Rename the folder (optional).

3) Setup the tools

Run Cmd Windows.
Go into the target folder (e.g. cd c:\a\jboss\jdk)
Then, type the command to extract the tools.
for /R %f in (.\*.pack) do @"c:\a\jboss\jdk\bin\unpack200" -r -v -l "" "%f" "%~pf%~nf.jar"
Done.
You can test by typing java -version.

Reference

1) https://www.whitebyte.info/programming/java/how-to-install-a-portable-jdk-in-windows-without-admin-rights

2) http://oramack.blogspot.my/2015/08/portable-jdk-8.html

.

Sunday, February 7, 2016

104-How To Clone Remote GitHub Repo Using GitHub Desktop application


.
104-How To Clone Remote GitHub Repo Using GitHub Desktop application

1) Run GitHub Desktop application

2) Find the Add new project.

3) Clone the project

Select Clone button.
Select your local folder to clone the selected remote directory.
Done.
.

103- How To Save Remote GitHub Repo Using GitHub Desktop Application


.
103- How To Save Remote GitHub Repo Using GitHub Desktop Application

1) Log into GitHub account

2) Find the Download button

3) Dowload to local folder

Click the button and allow GitHub Desktop application to run.
Select your local folder to clone the selected remote directory.
Done.
.

102 How To Create Remote GitHub Repository on GitHub.com


.
102 How To Create Remote GitHub Repository on GitHub.com

0) Starting Up

1) Log into your GitHub account

You should see the green button “+New Repository”.
Alternatively, you can visit your account page eg https://github.com/notarazi and click the Repositories tab. Click the New button.

2) Create a new Project

Type the name “newproject” and click Create Repository.

3) Link your local project to the remote project

You may be required to enter your username and password during this process.

Done.

.

101 How To Create Local GitHub Repository Using Windows Command


.
101 How To Create Local GitHub Repository Using Windows Command

0) Pre-Requisite

Install GitHub to your computer. Download here.
Add GitHub program to your windows environment. Read here.
You have to register an account at www.github.com in order to work with GitHub Repository

1) Run Git Command via Windows Console

Press Windows Start Button, type cmd and press Enter key.
1.1) Type cd \ to go to root of your computer.
1.2) Assuming that you have already created a folder github, type cd github to go to that folder.
1.3) Type mkdir newproject to create a new project folder for your local repository (or repo).
1.4) Type cd newproject to go into the folder.
We are going to start typing git command.
1.5) Type git init
You should get a response...
Initialized empty Git repository in C:/github/newproject/.git/
(The screenshot below shows Steps 1 to 5)
1.6) Add a new text file using Windows Explorer.
1.7) Check the changes in Command Windows. Type git status
You should get a response…
On branch master
Initial commit
Untracked files:
  (use "git add <file>..." to include in what will be committed)
        New Text Document.txt
nothing added to commit but untracked files present (use "git add" to track)
(The screenshot below shows Step 7)
Git did not track your file.
You need to give a command for Git to track the file
1.8) Type git add “New Text Document.txt” and then ...
1.9) ...type git status to check the outcome.
(The screenshot below shows Steps 8 to 9)
Git has tracked your file.
1.10) Type git commit -m "add 'New Text Document.txt'" to put a note on what you have committed.
.

Using GitHub Automatic Page Generator


.
Using GitHub Automatic Page Generator

0) Pre-requisite

You need to create GitHub Page first. Go here to set it up.
It will appear under your repositories list.

1) Go into the page repository

Click Settings.
Scroll down the Settings Page until you find the GitHub Pages section.
Enter your contents.

2) Publish The Page

Scroll down until you see the “Continue to layouts”(Green) Button.
Click the button.
Select a template and click the Publish Button.

3) Test

.

Creating GitHub Pages




.
Creating GitHub Pages Using GitHub Page Generator

0) Pre-requisite

You have to register for a github account at www.github.com 

1) Create new repository

You need to create a new repository according to the format <username>.github.io where <username > is your username or organization name on github.

2) Using Page Generator

Go to the repository settings
Scroll down the page to find the button “Launch automatic page generator”.

3) Edit the page

Edit the page and click Continue to layout.

4) Select Theme

Select theme and click publish page.

5) Done

Test the url via web browser.
.