source: other-projects/trunk/realistic-books/packages/AntInstaller/src/README.txt@ 19253

Last change on this file since 19253 was 19253, checked in by davidb, 15 years ago

Establishing a source code repository for Veronica's Realistic Book's software

File size: 3.1 KB
Line 
1
2This SelfExtracting archive should be run with Java to start the installation.
3________________________________________________________________________________
4
5If Java1.4 is installed correctly simply double click the .jar file in your
6file browser.
7
8
9To run the installer from the commandline
10WINDOWS
11 C:\> javaw -jar [installer-file].jar
12UNIX
13 > java -jar [installer-file].jar
14
15
16If the .jar extension has been reregistered you will need to specify the Java
17command
18
19WINDOWS
20
21 Right mouse click on the file and select "Open with" then "javaw"
22
23
24LINUX
25
26 Konquerer (KDE) right mouse click and select "Open with" then "java"
27
28
29
30
31
32TROUBLESHOOTING
33________________________________________________________________________________
34
35
36WINDOWS
37________________________________________________________________________________
38If you do not have the "javaw" entry in the "Open with" list
39 Check that you have a current version of Java ( >1.4 ) installed.
40 The Sun Java installation process registers javaw with .jars in the
41 installation.
42 You can reinstall Java if you still have the original installer.
43 If you don't have the installer, or don't want to reinstall Java, you can
44 modify the registration of the .jar extension.
45 In Explorer select "Tools" then "Folder options"
46 Select the "File types" tab
47 First check to see if teh JAR Extension is in the list
48 JAR extension IS in the list
49 click the "Change" button
50 find javaw in the list of files
51 click OK
52 JAR extension NOT in list
53 click the New button
54 enter "jar" as the file extension
55 Enter <New> as the file type
56
57
58
59
60
61LINUX
62________________________________________________________________________________
63
64Using X
65
66Log in to the shell as the user that is running X
67Ensure you have exported your DISPLAY variable (echo $DISPLAY) if not export it
68> export DISPLAY=127.0.0.1:0
69
70Check the default java is the correct version
71> java -version
72
73 If the java binary is not found, but you do have Java installed
74 Add the bin directory of the Java installation to your path
75 > export PATH=$PATH:[path to Java]/bin
76 run the installer with > java -jar [installer-file].jar
77
78 If the default java version is below 1.4
79 If you do NOT have a recent version installed anywhere on your system
80 install the Sun Java JRE or SDK for linux.
81 If/when you DO have a recent version of Java installed
82 find the location of the java installation
83 e.g /usr/java/j2sdk1.4.2_04
84 export the JAVA_HOME variable of the installation
85 > export JAVA_HOME=/usr/java/j2sdk1.4.2_04
86 run the following command
87 > $JAVA_HOME/bin/java -jar [installer-file].jar
88 You should consider adding the export JAVA_HOME entry to your profile
89 and/or ensure the location of the JAVA_HOME/bin directory for Java >1.4
90 is in your PATH
91
92 If the default java version IS above 1.4
93 run the installer with > java -jar [installer-file].jar
94
95
96Without X (command line)
97
98The installer will run on the command line with a text interface if it is not
99possible to load the GUI.
100running the following command without a DISPLAY variable or in runlevel 3 will
101start the installer in text mode
102> java -jar [installer-file].jar
103
104
105
106
107
108
109
Note: See TracBrowser for help on using the repository browser.