Java Web Start 1.5

Source: Internet
Author: User
Document directory
  • File Names
  • File locations

In JWS console of jws1.4, you can select the console to output a file at a certain location, but this option cannot be found in 1.5, no relevant settings were found on the console. After searching, the setting rules were changed.

File Names

The names of the trace and log files are

plugin<modified version number>.trace 
plugin<modified version number>.log

Where<modified version number>Provided des the Major, minor and patch version numbers; e.g .,plugin142_06.traceOrplugin150.log

File locations

The default location (directory) of the trace and log files is:

  • <user.home>/.java/deployment/logOn Unix/Linux
  • <User Application Data Folder>/Sun/Java/Deployment/logOn Windows

Where<User Application Data Folder>Is as defined here.

If the environment variableUSER_JPI_PROFILEIs set<user plugin home>Then the trace and log files will be written:

  • <user plugin home>/.java/deployment/logOn Unix/Linux
  • <user plugin home>/Sun/Java/Deployment/logOn Windows

If the propertyjavaplugin.outputfiles.pathIs set<directory name>Then the trace and log files will be written<directory name>.

If bothUSER_JPI_PROFILEAndjavaplugin.outputfiles.pathAre set then the valuejavaplugin.outputfiles.pathTakes precedence, and the trace and log files will be written<directory name>.

 

Unique Java Plug-in property File

The property file is now nameddeployment.properties. It is located in the directory

<User Application Data Folder>/Sun/Java/Deployment

Where<User Application Data Folder>Is an application data folder specific to the user. As an example, for a userstanleyhOn a Windows XP system, the value<User Application Data Folder>Wocould be

C:/Documents and Settings/stanleyh/Application Data

This property file is used by version 1.4.2, as well as all later versions.

 

The value<User Application Data Folder>Is obtained from the Win32 API function callSHGetFolderPath()WithCSIDL_APPDATA.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.