Skip to main content

alphaWorks  >  Forums  >  Structural Analysis for Java  >  developerWorks

Alternate Method for Installation    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 0 - Pages: 1 Threads: [ Previous | Next ]
hathomson

Posts: 1
Registered: Mar 30, 2005 02:43:10 AM
Alternate Method for Installation
Posted: Nov 20, 2007 03:55:47 AM
Click to report abuse...   Click to reply to this thread Reply
Note: This application uses and older version of Java. The version is here:

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)

This can be downloaded from here:

http://java.sun.com/products/archive/j2se/1.4.1_02/index.html

The application does not seem to handle 1.4.2 nor any of the later JVM's too well. So you probably should install the older one. I selected the self-extracting package and installed in my home directory. These instructions use the jvm that was supplied with the installer. The Sun JDK instructions are also indicated.
If you did install the older JDK, you only need to set the home directory "JDKHOME" and run the suggested install procedure. For anything else, you can use these instructions, they appear to work every time.

---

Installation that works on Linux - Ubuntu Gutsy

1. Create a temporary directory to extract the Linux files

mkdir /work/Download/saj4

2. Change to the directory

cd /work/Download/saj4

3. Extract the Linux files

../StructuralAnalysisForJava_LinuxSetup.bin -is:extract

4. Change to the temporary directory

cd saj4

5. Create a temporary jvm directory

mkdir jdk41

6. Change to the directory

cd jdk41

7. Extract the version of Java tha came with Installer

../Linux-Sun-1.4.1_02.bin

8. Change back to the saj4 directory

cd ../

9. Export Java home

export JDKHOME=/work/Download/saj4/jdk41

10. Create the target directory. "~/saj4" is a good choicei [it's your
home directory].

sudo mkdir ~/saj4

11. Do the installation.

java -jar StructuralAnalysisForJavaSetup.jar

Note: Make sure you specify the correct installation path in the
GUI. The default uses a windows path.

---

For A Debug trace while installing:

java -Dis.debug=1 -jar StructuralAnalysisForJavaSetup.jar

12. Fix the startup scripts.

Here are two runtime possibilities:

A)

For using your existing JVM:

Edit the two shell scripts in the saj4 directory:

StructuralAnalysisForJava.sh
StructuralAnalysisForJavaCommandLine.sh

Change the './_jvm/bin/java' to just 'java'

B)

Or use this for running with the j2sdk1.4.1_02

Edit the two shell scripts in the saj4 directory:

StructuralAnalysisForJava.sh
StructuralAnalysisForJavaCommandLine.sh

Change the './_jvm/bin/java' to just '~/j2sdk1.4.1_02/bin/java'

Note: the above assumes you installed the 1.4.1 jdk in your home directory

13. Run it:

~/saj4/StructuralAnalysisForJava.sh

Point your RSS reader here for a feed of the latest messages in all forums