Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • Lotus Notes and Domino wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 6.0
  • 6.5
  • 6.5.4
  • 6.x
  • 7.0
  • 7.0.2
  • 7.5
  • 7.x
  • 8.0
  • 8.0.1
  • 8.0.2
  • 8.5
  • 8.5.1
  • 8.5.2
  • 8.5.3
  • 8.5.x
  • 8.x
  • address
  • admin
  • administering
  • administration
  • administrator
  • attachment
  • best practice
  • Blackberry
  • cache
  • calendar
  • Client deployment
  • contacts
  • DAOS
  • database
  • database properties
  • db2
  • DCT
  • demo
  • deployment
  • deployment Notes
  • directory
  • document
  • documents
  • Domino
  • Domino Server
  • Domino Web Access
  • dwa
  • email
  • getting started
  • http
  • IMAP
  • inotes
  • install
  • iPhone
  • LDAP
  • logging
  • Lotus iNotes
  • Lotus Notes
  • Lotus Notes Traveler
  • Lotus Traveler
  • mail
  • mail file
  • max
  • media_notes
  • memory
  • message
  • messaging
  • MIME
  • moving_advanced
  • moving_cal
  • moving_mail
  • ND6
  • notes
  • Notes ID Vault
  • notes.ini
  • NotesBench
  • performance
  • plug-ins
  • Policies
  • preferences
  • R5
  • reference card
  • replication
  • router
  • Sametime
  • search
  • Security
  • server
  • smtp
  • table
  • text
  • tips
  • to do
  • Traveler
  • troubleshooting
  • upgrade
  • user
  • using
  • video
  • videofest
  • web
  • Widgets and Live Text
  • Windows
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Troubleshooting > JavaCompilerTarget
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

JavaCompilerTarget 

expanded Abstract
collapsed Abstract
No abstract provided.
Explanation:

The JavaCompilerTarget INI setting lets you use features specific to different Java Development Kits (JDKs). You can set this variable to any value between 1.1  and 1.6, and then restart the client or server for this change to take effect. In each case, the "-source" flag is the latest source that can be specified with a particular "-target" flag.

You can also specify JavaCompilerTarget=CurrentJavaVersion. In this case, the target flag is synched to the Java version included in future Notes/Domino releases. For example, if a future Notes/Domino version were to include JDK 1.9, then values from 1.1 - 1.9 would be supported and the parameter, JavaCompilerTarget=CurrentJavaVersion, would create "-target 1.9".

If you use a value not shown below, the Java Debug console displays the usage guideline, "Warning: Invalid use of notes.ini variable JavaCompilerTarget ..." and substitutes the default value, JavaCompilerTarget=1.2.
If JavaCompilerTarget=
The resulting compiler flags are...
...And the agent would run on
Notes/Domino releases...
1.1
-source 1.3  -target 1.1
N/D 5.0 or later
1.2
-source 1.3  -target 1.2
N/D 6.0 or later
1.3
-source 1.3  -target 1.3
N/D 6.0 or later
1.4
-source 1.4  -target 1.4
N/D 7.0 or later
1.5
-source 1.5  -target 1.5
N/D 8.0 or later
1.6
-source 1.6  -target 1.6
N/D 8.5 or later
CurrentJavaVersion
-source 1.6  -target 1.6
N/D 8.5 or later


These settings might prevent compiled agents from running on some earlier Notes/Domino installations (and with any Java Virtual Machine [JVM] version earlier than the target flag), regardless of whether the new language features are actually used in the agent's code.

For example, setting the JavaCompilerTarget=1.6 could introduce the possibility of having an agent recompiled and replicated to a V8.0 server and then failing to run. Additionally, problems could arise editing and saving agents compiled in Notes/Domino installations that are not using the same notes.ini file setting. Therefore, it is suggested that organizations use a consistent setting across machines.

Developers who will not be using language features specific to later JDKs are encouraged to keep the default Notes/Domino behavior to maximize backward compatibility.

Default value:

The default behavior is equivalent to a JavaCompilerTarget=1.2setting.

UI equivalent:

None

Syntax:

JavaCompilerTarget=<number
 


Available since:

Lotus Domino/Notes 8.0

expanded Article information
collapsed Article information
Category:
Troubleshooting
Tags:
8.5, Agents, Domino Designer 8.5, Java, notes.ini

This Version: Version 2 August 24, 2009 8:59:42 AM by Michael Stewart  IBMer

expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (2)
collapsed Versions (2)
Version Comparison     
Version Date Changed by               Summary of changes
This version (2) Aug 24, 2009 8:59:42 AM Michael Stewart  
1 Aug 24, 2009 8:51:55 AM MichaelK Stewart  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • IBM Social Business User Experience Blog
  • IBMSocialBizUX on Twitter
  • IBMSocialBizUX on Facebook
  • Lotus product forums
  • IBMSocialBizUX blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use