cancel
Showing results for 
Search instead for 
Did you mean: 

Problem deploying Java - Sun\\jre160_x64\\bin\\%SystemDrive%

justin_willey
Participant
4,989

The 64-bit Java runtime included with Sybase Central in v12 has a folder that was not present in v11, and causes problems when trying to build an InstallShield installer. The issue sems to be a folder name that looks like an environment variable - %SystemDrive%. There are some files several levels further down that look like crash reports or something similar:

C:\\Program Files\\SQL Anywhere 12\\Sunjre160_x64\\bin\\%SystemDrive%\\ProgramData\\Microsoft\\Windows\\Caches
{6AF0698E-D558-4F6E-9B3C-3716689AF493}.2.ver0x0000000000000001.db
{DDF571F2-BE98-426D-8288-1A9A39C3FDA2}.2.ver0x0000000000000001.db
cversions.2.db
C:\\Program Files\\SQL Anywhere 12\\Sun\\jre160_x64\\bin\\%SystemDrive%\\ProgramData\\SQL Anywhere 12\\diagnostics\\sadiags.xml

so possibly created after the install??

My question is whether this folder and all its descendents can be safely omitted from an install. The docs say "Copy the entire jre160_x64 tree, including subdirectories."

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

The files in the %SystemDrive% folder were not part of the original install. Not sure why they were created, but they must have been created after the install. You can safely remove them your deployment. In the original install, the only sub-folders in the bin directory are new_plugin and server.

Answers (1)

Answers (1)

VolkerBarth
Contributor

I guess the following may be of help - though I don't think it's officially documented:

The Deployment Wizard seems to use a file called "master.xml" (in the %SQLANY12%Deployment dir) that seems to contain all the files necessary for the according feature.

So in your case, you can look for the list of files for the JRE160_X64 feature, and that don't list those suspicious files...

VolkerBarth
Contributor
0 Kudos

Just for curiosity:

Are my assumptions about the usage of this undocumented file correct?

Former Member

You are correct. That file is used as input to the deployment wizard and lists each file installed by SQL Anywhere.

justin_willey
Participant
0 Kudos

Thanks for the help and clarification - working now!