Control which version of JRE to be used on my sun box

I'm a Java novice. I learnt from my Sun Server (running Solaris 8 OE 02/02) that I've Java 2 SDK 1.2.2 installed with the OS by default and I found another version in "/usr/j2se/bin" which is version 1.3.1. I would like to ask how can I configure my server to always use version 1.3.1 instead of version 1.2.2? Some of my Server applications required version 1.3.1 api and libraries. Thanks for your guidance, appreciate your thoughts.

Many applications look for the JAVA_HOME or JAVA_ROOT environment variable to discover which java to use. When you ask about how to configure your 'server' do you mean some sort of appserver or do you mean that when running particular applications from a shell while logged into a server, you would like a particular java to be used? In the latter case, setting the JAVA_HOME environment variable will usually do the trick. In the former case, the AppServer which you are using (WebSphere, TomCat, etc.) probably has a configuration file that will allow you to specify the java path.
Setting environment variables is dependent on the shell that you're using. If you're using the c-shell (csh) then you would do it as follows:
setenv JAVA_HOME /usr/j2se/bin/java

Similar Messages

  • When opening a Photoshop file with Bridge, how can I control which version of Photoshop the file wil

    When opening a Photoshop file fthrough Bridge, how can I control which version of Photoshop the file will open in?
    I store my PSD files adjacent to the original RAW file from which it was derived.
    If I open the file folder and double click on that PSD file, it opens in CS6. But,if I use Bridge (CS6) to navigate to and open the same file, it first opens Photoshop CS5 and then opens that PSD file in CS5.
    How can I control which Photoshop will open a file I select when opening it through Bridge?.

    Interesting, but it doesn't give a clue what I'm supposed to do. No Photoshop ducuments listed.
    Look at the PSD file on the location Curt provided and search for Photoshop Document. Next to it ideally should show Adobe Photoshop CS6 if you have Bridge CS6 open. Click on it to provide the fly out menu and choose the correct Photoshop from the list.
    But probably something went wrong with your install. By default Bridge chooses the latest version of PS to open its file in.
    Maybe a reset of the preferences might also help you. Can you provide more details about OS version etc.
    And do you have a good reason for keeping your Raw and finished files in the same location. Personally I keep them apart and use a proper file name convention (yyyymmdd and details) so I can easily search for the DNG files in my archive if I needed them but I don't make mistakes in opening the wrong one

  • Is there a tool to determine which version of the WDK was used to build a binary?

    I'd like to ensure that our developers are all using the same WDK when building software.  Some of the binaries delivered to my team are from other organizations where we have less control over the build environment.  Is there a tool that I can
    run to identify which version of the WDK was used to build binaries that are built with MSBuild?  

    the quick answer is no, you can't verify it
    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

  • Which version of iPhoto should I use?

    When I picked up my repaired MacBook (Intel Core Duo) the person at the Apple Store showed me how to restore all of its data using my Time Machine backup.  He told me that during the repair they had installed Snow Leopard.  He had forgotten that I had told him when the MacBook first died we were told it was not worth repairing and we purchased a new MacBook Pro running Lion.  The TM backup was from that machine.  The intent was to have two machines with the same Apps & data so each of two users could take either machine and go forward from that point.  Each machine would then have its own TM Backup.
    After many discussions with tech support, almost everything except iPhoto (and incoming Apple Mail) on the MacBook works OK.  That's probably because during the restore, iPhoto 9.1.5 was installed.  It does not open because of a Frameworks conflict of some sort.  Earlier versions of iPhoto say the Library was created with a newer version.  (I temporarily moved the iPhoto Library out of my User>Pictures Folder, opened iPhoto 7.x and imported some photo's to create a new Library.  That worked.  My original Library is 35 GB so each attempt to fix anything in it has been time consuming.  That's why I'm asking the real experts.
    I've seen a suggestion from Terrance Devlin to "rebuild" the Library using the iPhoto Library Manager and others by Terrance, Neil, Old Toad, and Kappy to drag a different version of Frameworks into System>Library>?  (Apparently, some OS X 10.7 support files were loaded onto the MacBook.)  Which ones and which version?
    Which version of iPhoto should I use on the MacBook?  Which version does OS X 10.6.8 support?  Eventually, we'd also like to merge some of the individual Libraries into a shared Library.  Is iPhoto Library Manager the best way to do that?  (Speaking of that, I understand Apple does not support backup of non-Lion Mac's via Wi-Fi, except if using Time Capsule.  Seagate sells an external 2 TB Hard Drive that connects via ethernet to your Router, for that purpose.  Does it work well?)

    Terence,
    Below is a copy of the Problem Report I get after I double click the iPhoto (9.1.5) icon in my Applications folder.  Both iPhoto 6 and iPhoto 7 open but cannot read my iPhoto Library that was restored from a Lion TM backup.  I tried moving my iPhoto Library out of the Pictures folder and was able to create a new one using iPhoto 7.1.5.
    Inside of System>Library, there are two copies of the following folders:
    Frameworks
    PodcastProducer
    Keychains
    Java
    In each case, the name of the second folder includes "(from old Mac)" without the quotes after the folder name.  I believe my issue is being caused by the System using Frameworks instead of Frameworks (from old Mac), but I have not been able to switch them easily and, as you said, do not want to do serious damage.
    The only other thing that does not work properly is incoming IMAP mail via AOL and Google.  Outgoing works on those two plus Incoming and Outgoing work on the Verizon POP account.
    Here is the text from the Problem Report:
    Process:         iPhoto [1035]
    Path:            /Applications/iPhoto.app/Contents/MacOS/iPhoto
    Identifier:      com.apple.iPhoto
    Version:         ??? (???)
    Build Info:      iPhotoProject-6150000~3
    App Item ID:     408981381
    App External ID: 3922231
    Code Type:       X86 (Native)
    Parent Process:  launchd [521]
    Date/Time:       2011-11-13 10:59:32.771 -0500
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          10637 sec
    Crashes Since Last Report:           55
    Per-App Crashes Since Last Report:   8
    Anonymous UUID:                      1FDBF6A3-E712-44D7-B3AE-E47827AADE51
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Crashed Thread:  0
    Dyld Error Message:
      Library not loaded: /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
      Referenced from: /System/Library/PrivateFrameworks/ProKit.framework/Versions/A/ProKit
      Reason: image not found
    Binary Images:
    0x8fe00000 - 0x8fe4163b  dyld 132.1 (???) <4CDE4F04-0DD6-224E-ACE5-3C06E169A801> /usr/lib/dyld
    Model: MacBook1,1, BootROM MB11.0061.B03, 2 processors, Intel Core Duo, 2 GHz, 2 GB, SMC 1.4f12
    Graphics: Intel GMA 950, GMA 950, Built-In, spdisplays_integrated_vram
    Memory Module: global_name
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x86), Atheros 5424: 2.1.14.6
    Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: TOSHIBA MK3252GSX, 298.09 GB
    Parallel ATA Device: MATSHITADVD-R   UJ-857, 7.24 GB
    USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8501, 0xfd400000 / 2
    USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x0217, 0x1d200000 / 2
    USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8240, 0x5d200000 / 2
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8205, 0x7d100000 / 2

  • Which version of jwsdp is being used

    How can I determine which version of jwsdp is being used? Is it by jar name?

    Depends entirely on what you choose to export:
    File -> Export Photo
    Will export The current version, the original, a jpeg, tiff or png. All of them will be the edited version except the Original.
    If you want to move all your versions between Libraries check out iPhoto Library Manager
    Regards
    TD

  • I`m using samsung wave 7233 BADA os so which version of firefox i Should use?

    I`m using Samsung wave 7233 BADA os so which version of Firefox i Should use?

    We don't have a product that runs on BADA. Firefox Mobile needs Android 2.0+ or Mameo (MeeGo) devices.

  • How to specify which version of a function to use

    I tried to do what it said, but that resulted in error
    PowershellPS C:\WINDOWS\system32> Import-dscResource -ModuleName @{ModuleName="xPSDesiredStateConfiguration";ModuleVersion="3.4.0.0"}Import-dscResource : The term 'Import-dscResource' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.At line:1 char:1+ Import-dscResource -ModuleName @{ModuleName="xPSDesiredStateConfigura ...+ ~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Import-dscResource:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

A: How to specify which version of a function to use

(Btw: The Edge Web browser doesn't show the formatting toolbar in these text editors... I switched to IE to write this)I have this script and the problem is, there's two versions of xPSDesiredStateConfiguration in the wildTextconfiguration HTTPPullServer{ # Modules must exist on target pull server Import-DSCResource -ModuleName xPSDesiredStateConfiguration Node dc { WindowsFeature DSCServiceFeature { Ensure = "Present" Name = "DSC-Service" } WindowsFeature IISConsole { Ensure = "Present" Name = "Web-Mgmt-Console" } xDscWebService PSDSCPullServer { Ensure = "Present" EndpointName = "PSDSCPullServer" Port = 8080 PhysicalPath = "$env:SystemDrive\inetpub\wwwroot\PSDSCPullServer" CertificateThumbPrint = "AllowUnencryptedTraffic" ModulePath = "$env:PROGRAMFILES\WindowsPowerShell\DscService\Modules" ConfigurationPath = "$env:PROGRAMFILES\...

(Btw: The Edge Web browser doesn't show the formatting toolbar in these text editors... I switched to IE to write this)I have this script and the problem is, there's two versions of xPSDesiredStateConfiguration in the wildTextconfiguration HTTPPullServer{ # Modules must exist on target pull server Import-DSCResource -ModuleName xPSDesiredStateConfiguration Node dc { WindowsFeature DSCServiceFeature { Ensure = "Present" Name = "DSC-Service" } WindowsFeature IISConsole { Ensure = "Present" Name = "Web-Mgmt-Console" } xDscWebService PSDSCPullServer { Ensure = "Present" EndpointName = "PSDSCPullServer" Port = 8080 PhysicalPath = "$env:SystemDrive\inetpub\wwwroot\PSDSCPullServer" CertificateThumbPrint = "AllowUnencryptedTraffic" ModulePath = "$env:PROGRAMFILES\WindowsPowerShell\DscService\Modules" ConfigurationPath = "$env:PROGRAMFILES\...

  • How to find which version of JDK is loadjava using

    Hi All,
    How to find which version of JDK is loadjava using?
    I am using Oracle : 9.0.1.5.1 and I need to use class javax.crypto.Cipher which is shipped with JDK 1.4.2, but loadjava is unable to import javax.crypto.*;
    Any inputs would be greatly appreciated.
    Thanks and regards,
    Abba

    Abba,
    From memory only (since I haven't verified it), "loadjava" is a script, so you can have a look at its contents. I believe it actually uses JDK 1.1.8 (which is part of the Oracle installation). In any case, Oracle 9i is compatible with JDK 1.3 only.
    Oracle 10g is compatible with JDK 1.4.
    Good Luck,
    Avi.

  • How can I know which version of Firefox I'm using?

    I tried to download an EOB from my insurance company's website, and it won't allow me to view the EOB. I talked to their web support and was told that I have to use the same version of Firefox that they support, which is Firefox 26 or 27. I don't know how to find out which version I am using. If I am not using their version of Firefox (26 or 27), how can I download that version. I don't know which version is on my PC now and I don't know how to find it on Firefox. Thank you
    I just tried installing below this box on Troubleshooting Information, and Firefox would not allow me to install. What is going on?

    Is the EOB a PDF document?
    Firefox updates every 6 weeks and the current version is 31.0. Rolling back almost 6 months is not recommended for security reasons. If that's their best answer, I suggest we either figure out a workaround for getting the document, or you just use a different browser for their site.

  • I'm confused which version of workshop I should use?

    Our company is ready to use the workshop for web development.The workshop version we are using is 8.But i konw the bea have issue the workshop for version 9 and it is different from version 8,such as pluging in the eclipse.Now I'm confused which version I should use?

    Hello Huang,
    Workshop 9.2 is scheduled to be released shortly. We currently have a public beta available.
    More information is available at http://www.bea.com/framework.jsp?CNT=betas.htm&FP=/content/products/weblogic/
    the following dev2dev blog provides additional information on the comparison between the different Workshop products.
    Cheers
    Raj

  • I can't find which version of itunes I am using on windows

    I can't find which version I am using of itunes on windows.  Everything says go to help and check for update.  I don't have that option.

    Enable the menu bar with CTRL-B then use Help > About, or use ALT-H-A.
    tt2

  • Which version of JDeveloper has been used

    hi
    If one would stumble upon some source files of an ADF application for which there is not much context available (like e.g. in the forum thread "SelectBooleanCheckBox/SelectBooleanRadio and getTransaction().isDirty()") ...
    ... (q1) How can be determined which exact version of JDeveloper has been used to create (or work on) the ADF application?
    many thanks
    Jan Vervecken

    Thanks for the replies John and Timo.
    John Stegeman wrote:
    It's not as easy as it would seem.Hence the question.
    ... but even the metadata in there doesn't necessarily give you an exact answer.To avoid confusion, only an exact answer would seem to make sense.
    Timo Hahn wrote:
    ... check the version properties of the meta data files ... The highest number which is used points to the jdev version used to build the file. ...It seems rather inconvenient to have to check each and every meta-data file to determine the (exact/preferred) version of JDeveloper to work on the ADF application.
    I wonder what the Oracle intended/preferred approach is to determined the version of JDeveloper to use, based on the ADF application source files alone, answering (q1).
    (Also when extension are taken into account, see for example the somewhat related questions in forum thread "use the same extensions for all developers".)
    (This delayed reply was caused by the many "currently experiencing network connectivity errors" responses I got from the OTN forum, especially after login.)
    regards
    Jan

  • PI7.1 : which version of JRE

    Hi,
    with PI 7.1, is there a restriction with the version of JRE installed on our workstation ?
    so can I used the version 1.6 and do I have to use 1.5 like for PI 7.0 ?
    thanks.
    Mickael

    Dear Mickael
    JRE1.6 is only supported as PI PI7.1
    In XI3.0 /PI7.0 , you can use JRE1.5 or 1.4.2
    and for XI 3.0 and lower than SP11 , only JRE 1.4.2 is supported
    you can also refer to Note 801868
    Please let me know if this answers your question.
    Regards
    Monika

  • Which version of Quicktime is FCP using?

    I have QT7 Pro 7.6.6 and QT 10 on my Snow Leopard.  I'm trying to update the QT 7.6.6 to 7.7.7, but the installer won't let me, saying QT 10 is already installed.  I can't remember how I was able to install QT7 orginally.
    I don't have my Snow Leopard disk with me to do a re-install from the disk.
    I'm having some stuttering problems, playing QT movies with QT, and even in FCP (I'm currently editing a project that is HDV & XDCam).
    I've never had stuttering problems before on this particular laptop.  Or my previous one.  Both MacBook Pro's.
    Which version of QT does Final Cut Studio use?
    is there any way to update my QT 7 to the latest version ... which might hopefully ameliorate my stuttering issue?
    All ears,
    Ben

    Hi Meg The Dog,
    The software updates don't register any updates, when I run it.  But the Quicktime on the computer is 7.6, and on the Apple site there is a 7.7. for Snow Leopard.  So the updater says I'm up to date, and the Apple site has a more recent update.  I'm not sure how to read that.  It's just that a missing update might make sense, given both Quicktimes are still working, the only issue the lagging or stuttering.
    I've not had trouble before with HDV or XDCam.  At the moment I'm running them on their own native timelines.  I'll put them both on the ProRes timeline when I have to marry the sequences and send-to-Color.  In the meanwhile the stuttering is a bit of an issue.  I also want to run to a second monitor to screen scenes for those involved; but I have to reduce the resolution on the external monitor (at this point not an Apple) to not have stuttering.  I'm going to try out an Apple Cinema monitor shortly, to see if there is any difference.
    I've edited entire films, and using a second monitor, with this laptop, without any particularly noticeable stuttering of the image.  I've trashed the preferences on both QT's.  I've DiskWarrior'd the OSx hard drive.  But am still having this issue.  Jagged pans, jagged tracking ...
    Mmmm.  I just had an idea.  I used an older laptop to do the DiskWarrior on this newer one.  I'm going to go plug in the older laptop and see if I get the stuttering from it!  Will report back...
    Ben

  • Which version of JDeveloper should I use for Oracle Apps 11.5.10.2?

    I am developing a stand alone application using JDeveloper 10.1.3.3, because I don't want to use the OAF extension. Can I run this stand alone application using Oracle Applications server (Oracle Applications version 11.5.10.2)? If no, which JDeveloper version should I use? If yes, could you please provide some direction on the deployment of stand alone application? Thanks in advance.

    If you are using the application server that comes with Oracle Applications - you probably need to use the JDeveloper version that comes with that one too. (The OAF forum will have more info on this).
    If you are using JDeveloper 10.1.3 then you can use a stand alone OC4J 10.1.3 to deploy your applications - and save yourself the hassle of messing up with your apps server.

  • Maybe you are looking for

    • Windows clients unable to access File Sharing since upgrading to Mavericks Server

      This summer, I have been tasked to upgrade all the Macs on campus to Mavericks.  Including upgrading to Server 3.1.2.  Previously, we had an Xserve that ran 10.6.8 Server and two Mac mini servers that ran 10.8 Servers.  We have a new Mac mini to repl

    • Getting host name of the remote client using getRemoteHost() --Problem

      Hi everybody Does anyone know how I can get the Host name out of the request ? I just get IP address which I do not need at all , any suggestion ? Many thanks Arash

    • Tablet Zip the file through the algorithm

      My requirment is that I am to zip the file in xi and send to receiver using Soap Adapter. From Receiver again response will go to sender via XI. At the sender side again I want zipped file. Is it possible... Do i need to unzip the file at receiver en

    • Cancellation of excise invoice part II entry

      can anybody help me about cancellation of excise part II entry how it is done i did transaction <b>J1ih</b> for cancellation of excise invoice but it shows error <b>excise and modvat accout not defined for CEIV transaction and excise group</b>

    • Making a function private

      Trying to adjust a function in a package to make it private. And then adjust the procedure to utilize the function to display the results of the function I seem to be going in circles HELP!!! Thanks Mat This is the original Package CREATE OR REPLACE