Developer Tools
Eclipse with Oracle Plug-in
Oracle XE Database Release 10.2.0.1.0
Apache Tomcat 9.0
Java Development Kit 1.8
Installation Guide (Release Directory)
Install jdk to program files for eclipse jdk 1.8.1
Unzip eclipse.zip to program files eclipse 4.0
Read JInstallWizard instructions for Home Office, Journey Life application installation
Eclipse (Getting Started)
Eclipse | Windows Preferences | Java | Installed JRE | Add | jdk1.8.1
Eclipse Project Configurations:
Window | Open Perspective | Java
Window | Open Perspective | Debug
Window | Open Perspective | Database Development
Window | Open Perspective | XML
Window | Open Perspective | Web
Window | Open Perspective | JavaScript
Import project (C:\Developer\Test\workspace)
Double click build.xml
Right click run target
Right click default target for distribution files (desktop/web application)
Desktop application
Import project (JourneymanSoftware)
Double click build.xml
Right click run target
Right click default target for distribution files
Web Project
Import project (JourneyLife)
Right click default target for distribution files (desktop/web application)
Web Application Deploy
Install Apache Tomcat
Copy dist/web - Web Archive to ApacheTomcat/webapps directory
http://localhost:8080/JourneyLife
Projects and Applications
Applications
Desktop application: JourneymanSoftware.jar
Web application: JourneymanSoftware.war
Install applications to eclipse\workspace
Install JourneymanSoftware to eclipse\workspace\JourneymanSoftware
Web application
Import project (Journey Life)
Right click default target for distribution files
Install Apache Tomcat from Release Directory
Right click deploy to publish:
Start Apache Tomcat Server (default 8080)
Right click test target
Open JourneyLife (web browser: http://localhost:8080/JourneyLife)
Apache Tomcat Service
Right click on :
Tomcat7.exe
Properties:
Compatibility
Run this program as administrator
Right click on :
Tomcat7w.exe
Properties:
Compatibility
Run this program as administrator
Open command prompt:
cd C:\Developer\apache-tomcat-9.0.11\bin
service install
Double click Tomcat7w.exe:
Logging Settings:
Log path: C:\Program Files\Apache\apache-tomcat-7.0.37\logs
Java:
Java Virtual Machine: C:\Program Files\Java\jre7\bin\client\jvm.dll
Java Classpath:
C:\Developer\apache-tomcat-9.0.11\bin\tomcat-juli.jar;C:\Developer\apache-tomcat-9.0.11\bin\bootstrap.jar
Open Services:
Tomcat 7
Startup Type: Automatic
Click Start
Java Database Connectivity
(Oracle Thin) Add [ORACLE_HOME]\jdbc\lib\classes12.jar
(Oracle JDBC) Add [ORACLE_HOME]\jdbc\lib\ojdbc14.jar
Command Prompt Scripting
Command Prompt: Java Scripting
Start | Run | cd
cd developer\test\ workspace\JourneymanSoftware
Copy JourneymanSoftware\dist to developer\Test\Applications
cd developer\test\Applications\JourneymanSofware
run install script
JarTool: Press Extract | JourneymanSoftware.jar | Press select
Exit JarTool
run JourneymanSoftware script
Environment Variables: Environment Script
set JAVA_HOME="C:\Developer\Java\jdk1.8.0_181"
set ANT="C:\Developer\apache-ant-1.9.13\bin"
set CATALINA_HOME="C:\Developer\apache-tomcat-9.0.11"
set TOMCAT="C:\Developer\apache-tomcat-9.0.11\bin"
set ECLIPSE="C:\Developer\eclipse"
set TEXTPAD="c:\Progra~2\TextPad 4"
set FIREFOX="C:\Progra~2\Mozilla Firefox"
set WINZIP="C:\Progra~2\WinZip"
set PATH=%PATH%;%JAVA_HOME%\bin;%TEXTPAD%;%FIREFOX%;%WINZIP%;%ECLIPSE%;%TOMCAT%;%ANT%;
color f2
Eclipse Import Projects
Install applications to eclipse\workspace
Web application: JourneyLife
Journeyman Software
Java Development Kit
wav, au - java sound files
Java Media Framework
mp3 - java media framework music files
Java Database Connectivity
(Oracle Thin) Add [ORACLE_HOME]\jdbc\lib\classes12.jar
(Oracle JDBC) Add [ORACLE_HOME]\jdbc\lib\ojdbc14.jar
Field Guide
Eclipse | ANT | build.xml
Run default target
Copy dist folder to Applications folder
Run install script
Extract JourneymanSoftware.jar
Extract JourneymanSoftware.war
Run JourneymanSoftware script