Compiling with Older Version

Hello
I used to compile my code using an older version of jdk. It was definetely 1.3.1_xxx. The latest one available is 1.3.1_18 and i just downloaded it and tried to compile my codeand it gave me compile errors. I knew this code used to compile with an older version
so i have two questions
(1) I would like to know where is the download for the older versions
(2) if possible, can anyone tell me which version would have been.
The following is the code
decode(java.lang.String) in java.net.URLDecoder cannot be applied to decode(java.lang.String, java.lang.String)
Thanks...

so i have two questions
(1) I would like to know where is the download for
the older versionshttp://java.sun.com/products/archive/
(2) if possible, can anyone tell me which version
would have been.
The following is the code
decode(java.lang.String) in java.net.URLDecoder
cannot be applied to decode(java.lang.String,
java.lang.String)Another possibility is that you are not compiling with the compiler that you think you are.

Similar Messages

  • Trying to update to 4.0 on my Mac. When trying to drag new icon to applications folder, it says 4.o already in place (it isn't), nad do I want to relace with older version. I do this and then it says change can't be done because Firefox is in use. ??

    trying to update to 4.0 on my Mac. When trying to drag new icon to applications folder, it says 4.o already in place (it isn't), and do I want to replace with older version. I do this and then it says change can't be done because Firefox is in use. ??

    That version cannot be upgraded further if it's a 2G model. The 3G model can be upgraded to iOS 5.x.x. You can't have a 2G model because the maximum iOS version is 4.2.1.
    Upgrading iOS
       1. How to update your iPhone, iPad, or iPod Touch
       2. iPhone Support
       3. iPod Touch Support
       4. iPad Support
         a. Updating Your iOS to Version 6.0.x from iOS 5
              Tap Settings > General > Software Update
         If an update is available there will be an active Update button. If you are current,
         then you will see a gray screen with a message saying your are up to date.
         b. If you are still using iOS 4 — Updating your device to iOS 5 or later.
         c. Resolving update problems
            1. iOS - Unable to update or restore
            2. iOS- Resolving update and restore alert messages

  • I can't use Yahoo messenger (it doesn't open the dialogue window), but in other PCs with older versions of Firefox I don't have problems

    I can't use Yahoo messenger (it doesn't open the dialogue window), but in other PCs with older versions of Firefox I don't have problems
    As stated earlier even though when I have an incoming message I hear the "Beep" Firefox does not open the dialogue window as it used to do.
    Also I am not able to open a new dialogue window or tab by clicking on an online contact of mine.

    Known issue, See:
    * https://bugzilla.mozilla.org/show_bug.cgi?id=713014
    this issue maybe fixed in beta/ nightly, you should try it
    * firefox.com/beta

  • Files Created in Photoshop CC Not Compatable With Older Versions of Photoshop?

    I have heard that the new Photoshop CC uses a new file system that is not compatible with older versions of Photoshop so you can only edit them in the new Cloud version of Photoshop CC.  Is this true?

    i opened a fine in PSCS 13.1.2.I edited it a bit, converted a layer to a SO and used liquify on that layer.
    I saved it as a tiff. Did not try it as a psd.
    PSCS5 opened the tiff without complaint, including the SO+liquified layer. When i clicked on the liquify at bottom of the SO layer to try to edit it I got the notice "CANNOT FIND THE FILE", or something like that.
    So, I guess pscs5 is already done for.
    vince

  • Unable to upload a music album to music library. i was able to upload with older version of iTunes.

    unable to upload a music album to music library. i was able to upload with older version of iTunes. with the latest update this issue started happening

    You're probably trying to purchase iTunes Plus songs - which, yes, will require an updated version of iTunes to purchase. To play them, however, you won't need to update iTunes. This, like you said, will force you to purchase them on another computer and then transfer.
    More info on iTunes Plus:
    iTunes Store: iTunes Plus Frequently Asked Questions (FAQ)
    http://docs.info.apple.com/article.html?artnum=305567

  • Can we use latest version of Add-Ons and Toolkits with older version of LabVIEW core?

    Hi every body
    I'm new to LabVIEW
    I have a question .
    Can we use (indeed install) latest version of Add-Ons and Toolkits(for example 2009 or 8.6.1 version) with older version of LabVIEW core(for example LabVIEW 8.6)?
    No problem ?!
    I have LabVIEW 8.6(Evalution) and I want istall Real Time Module 2009.
    Message Edited by mostafi on 10-31-2009 02:49 AM
    Solved!
    Go to Solution.

    I think perhaps 8.6 and 8.6.1 is compatible. But I am 100% sure that 2009 and 8.6.(1) is not downwards compatible
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Visual Studio 2015 compatibility with older versions

    Hi,
    I have already installed Visual Studio 2010 and 2013 on my Windows Server 2012.
    I want to know can I install Visual Studio 2015 on same machine? is there possible any conflict with older version?
    I have many projects in old version and need to open and work on them too.  Thanks.

    Hi,
    I have already installed Visual Studio 2010 and 2013 on my Windows Server 2012.
    I want to know can I install Visual Studio 2015 on same machine? is there possible any conflict with older version?
    I have many projects in old version and need to open and work on them too.  Thanks.
    You should be able to install Visual Studio 2015 alongside 2013 and 2010. However, I'd advise against it until the release version of Visual Studio 2015 becomes available. There may be issues down the road upgrading the preview version of VS 2015 with the final
    retail version.

  • Compile for older versions

    Hi,
    I did some code and when trying to run the jar file in another computer i have the problem that the code was compiled in mine with version 1.6 and the other computer has java version 1.5.
    Is it possible to compile a jar file for older versions?
    Please help,
    Rodo.

    Here's an example of how flaky the -source and target flags are. This code compiles and runs fine under 1.5 (without flags):
    import java.io.*;
    public class VersionExample {
        public static void main(String[] args) throws IOException {
            PrintWriter out = new PrintWriter(new File("test.txt"));
            try {
                out.format("%s%n", "woops");
                out.flush();
            } finally {
                closeIt(out);
        static void closeIt (Closeable stream) {
            try {
                stream.close();
            } catch (IOException e) {
                e.printStackTrace();
    }Now supply flags -source 1.4 and -target 1.4 and you get one error message:
    path...\VersionExample.java:7: cannot find symbol
    symbol  : method format(java.lang.String,java.lang.String)
    location: class java.io.PrintWriter
                out.format("%s%n", "woops");It seems to be noting that format() was introduced in 1.5, right? But what about interface Closeable and constructor PrintWriter(File)? They were introduced in 1.5, too! Yet if you comment out line 7 above, the rest of the code compiles :-(. Odd...
    edit: I see what the compiler was choking on: format's use of varargs. If you rewrite the offending line as
    out.format("%s%n", new String[]{"woops"});it compiles with flags -source 1.4 -target 1.4 :-(

  • I recently installed Firefox 3.6.8 and all of a sudden I can't open/delete messages in revamped MS hotmail whereas I could with older version of Firefox

    ever since I updated to Firefox 3.6.8 I can no longer open/delete/etc e-mail on MS Hotmail's revamped version which I could with Firefox's older version. I cannot even highlite messages, no nothing
    I use Windows Vista
    == This happened ==
    Every time Firefox opened
    == I installed new version 3.6.8 of Firefox

    Similar problem here although it's since Hotmail changed (I guess it's rolled out in stages) for me not since I installed FF 3.6.8. The same problem occurs in IE8. Seems a Hotmail problem rather than a FF one but I';d really appreciate any help I can get.

  • Running executables that have been compiled with different versions of a same vi

    I am writing a LabVIEW 7 program on Windwos (NT 4.0 up through XP) that will have to simultaneously call and run at least two executable modules. Both of these modules will be written using some of the same utility vis from my user libraries. How can I run the two modules if they have each been compiled using different versions of the utility libraries (i.e. the two executables will have vis with the same name but with slightly different code)?
    I know i could dynamically call each vi by reference node, but that can get a bit cumbersome with dozens of vis...

    Hi meludwig,
    Unfortunately, LabVIEW keeps track of the different VIs in memory using the VI's name. Therefore, if you want to load multiple executables that use the same VIs but with different code, you will want to rename those VIs. LabVIEW cannot distinguish between 2 VIs with the same name but with different code. Dynamically calling the VIs using VI Server, like you mentioned, will also potentially cause problems because the executables might try to load same VI name into LabVIEW memory at a time and this will still causes problems.
    My suggestion would therefore to be to rename the utility VIs to another name and save it as a custom subVI in that program. Then, make sure to include that custom subVI in the App Builder executable and you should b
    e golden.
    Kileen C.
    NI

  • How do I open movies made with older versions of iMovie?

    I have newer iMac with iMovie 10.0.02 and would like to open movies created with an older version of iMovie.  I was informed by the people at the Apple Store this could be done.  Does anyone know how?  In the end I would like to create high def copies that can be viewed on a Mac laptop.

    Hi
    I was informed by the people at the Apple Store this could be done.
    That depends up-on from what old iMovie version.
    - iMovie 1 to HD6 - is one program and it's evolution - Will Not be possibly to open with any other program.
    - iMovie'08 v.7 to iMovie'13 v.10.0.x - is a compleatly other product (wrongly named as iMovie in my opinion) - can open older files from this evolution. (Not from iM 1 - 6)
    So it depends greatly from what version that You mean.
    Please tell.
    Yours Bengt W

  • What do you do with older versions of Logic?

    I have owned Logic back since Platinum 6, and now i have that version and 6 Pro just sitting around, in their massive boxes with those bible sized reference manuals. I'd like to get rid of them somehow but after checking with ebay, I don't think selling old software is a hot commodity. Plus, it seems complicated, with all the registration and XS key stuff.
    So just wondering what other people here do with their older versions of Logic (or older versions of any other music software) for that matter. It's just taking up a lot of space...

    To authorise stuff on your XSkey, you type in your authorisation codes for whatever product it is, and it gets stored on the key. One XSkey has an individual serial number, and your authorised products are keyed to that serial number.
    I got mine with Logic 5, then aadded the ES1 and EXS24 to it, then got a free Mac 5 authorisation when LPC was dropped which got stored on it, then the Logic 6 Pro upgrade which got stored on it, and then the Logic 7 Pro upgrade, and it also authorises Waveburner and SoundDiver.

  • ICloud apps Not Compatible with older versions if iWorks

    CAUTION
    If you haven't upgraded to the new version of iWorks that was released with Mavericks today, do NOT open any of your files in iCloud. If you do, you will no longer be able to open them with your older versions of the iWorks apps.
    For example, Apple today released Pages version 5.0. The last version of Pages was 4.3 (released in Dec 2012). If you create a new document in Pages 4.3, save it to iCloud and then open it in iCloud using Safari, you will no longer be able to open the same document in Pages 4.3. When you try, you'll get an error that you need a newer version of Pages.
    In other words, it's now imperative that you upgrade to the latest version of the iWorks apps that were released today as the earlier versions are NOT compatible with the iCloud apps.
    Hope this helps.

    The FAQ for iPad Pages has always made it clear that Pages import and export formats were Pages 09 only.  Nobody here can tell why Apple made it that way, but you can give them your views here:
    http://www.apple.com/feedback/pages_ipad.html

  • Can you run dreamweaver 11.5 with older versions of php?

    I believe I understand from this group that dreamweaver 11.5 needs to run with php 5.3.  I have version 5.1.6.  Is there a way to edit a config file and run with an  older version of php?  And is so, could you please name the config file?
    Thanks!!

    So i have code that was stripped down to 3 print statements.  Inside the print statements there is some html code.  With the dreamweaver 8, i see the output from the html code only as expected.  When I run with dreamweaver 11.5, I see the html code and all the "; print \n that was also in the statements like it is not interpreting the php correctly.  I backed out to dreamweaver 8 and it works again.  I'm at a loss as to why it stopped working with the upgrade.  Here's the code that's run on submit from the html page with the php in bold.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
    <!-- DW6 -->
    <head>
    <!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Texas Ethics Commission - Results of Query:</title>
    <!-- InstanceEndEditable -->
    <link rel="stylesheet" href="../3col_leftNav.css" type="text/css" />
    <link rel="stylesheet" href="../print.css" type="text/css" media="print" />
    <style type="text/css">
    <!--
    .style2 {
        font-size: 12px;
        color: #000000;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
    .style32 {
        color: #990000;
        font-weight: bold;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
    .style9 {
        color: #660000;
        font-family: "Times New Roman", Times, serif;
        font-size: small;
    .style25 {
        color: #000000;
        font-size: 12px;
        font-family: Arial, Helvetica, sans-serif;
    .style16 {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #990000;
        font-weight: bold;
    -->
    </style>
    <script language="JavaScript">
    <!--
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
       var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
       if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    //-->
    </script>
    <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
    </head>
    <body onLoad="MM_preloadImages('../images/texas_banner_r2_c2_f2.jpg','../images/texas_banner_r2 _c4_f2.jpg','../images/texas_banner_r2_c6_f2.jpg','../images/texas_banner_r2_c8_f2.jpg','. ./images/texas_banner_r2_c10_f2.jpg','../images/texas_banner_r2_c12_f2.jpg');">
    <div id="masthead">
    <!--masthead-->
    <table border="0" cellpadding="0" cellspacing="0" width="763">
    <!-- fwtable fwsrc="../images/texas_banner.png" fwbase="../images/texas_banner.gif" fwstyle="Dreamweaver" fwdocid = "1577967612" fwnested="0" -->
      <tr>
       <td><img src="../images/spacer.gif" width="178" height="1" border="0" alt=""></td>
       <td><img src="../images/spacer.gif" width="86" height="1" border="0" alt=""></td>
       <td><img src="../images/spacer.gif" width="12" height="1" border="0" alt=""></td>
       <td><img src="../images/spacer.gif" width="91" height="1" border="0" alt=""></td>
       <td><img src="../images/spacer.gif" width="7" height="1" border="0" alt=""></td>
       <td><img src="../images/spacer.gif" width="85" height="1" border="0" alt=""></td>
       <td><img src="../images/spacer.gif" width="9" height="1" border="0" alt=""></td>
       <td><img src="../images/spacer.gif" width="71" height="1" border="0" alt=""></td>
       <td><img src="../images/spacer.gif" width="8" height="1" border="0" alt=""></td>
       <td><img src="../images/spacer.gif" width="59" height="1" border="0" alt=""></td>
       <td><img src="../images/spacer.gif" width="10" height="1" border="0" alt=""></td>
       <td><img src="../images/spacer.gif" width="42" height="1" border="0" alt=""></td>
       <td><img src="../images/spacer.gif" width="105" height="1" border="0" alt=""></td>
       <td><img src="../images/spacer.gif" width="1" height="1" border="0" alt=""></td>
      </tr>
      <tr>
       <td colspan="13"><img name="../images/texas_banner_r1_c1" src="../images/texas_banner_r1_c1.gif" width="763" height="117" border="0" alt=""></td>
       <td><img src="../images/spacer.gif" width="1" height="117" border="0" alt=""></td>
      </tr>
      <tr>
       <td rowspan="3"><img name="../images/texas_banner_r2_c1" src="../images/texas_banner_r2_c1.gif" width="178" height="26" border="0" alt=""></td>
       <td rowspan="2"><a href="../tec/about.htm" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('../images/texas_banner_r2_c2','','../images/texas_banner_r2_c2 _f2.gif',1);"><img name="../images/texas_banner_r2_c2" src="../images/texas_banner_r2_c2.gif" width="86" height="23" border="0" alt=""></a></td>
       <td rowspan="3"><img name="../images/texas_banner_r2_c3" src="../images/texas_banner_r2_c3.gif" width="12" height="26" border="0" alt=""></td>
       <td rowspan="2"><a href="../tec/whatsnew.htm" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('../images/texas_banner_r2_c4','','../images/texas_banner_r2_c4 _f2.gif',1);"><img name="../images/texas_banner_r2_c4" src="../images/texas_banner_r2_c4.gif" width="91" height="23" border="0" alt=""></a></td>
       <td rowspan="3"><img name="../images/texas_banner_r2_c5" src="../images/texas_banner_r2_c5.gif" width="7" height="26" border="0" alt=""></td>
       <td rowspan="2"><a href="../tec/contact.htm" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('../images/texas_banner_r2_c6','','../images/texas_banner_r2_c6 _f2.gif',1);"><img name="../images/texas_banner_r2_c6" src="../images/texas_banner_r2_c6.gif" width="85" height="23" border="0" alt=""></a></td>
       <td rowspan="3"><img name="../images/texas_banner_r2_c7" src="../images/texas_banner_r2_c7.gif" width="9" height="26" border="0" alt=""></td>
       <td rowspan="2"><a href="../tec/sitemap.htm" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('../images/texas_banner_r2_c8','','../images/texas_banner_r2_c8 _f2.gif',1);"><img name="../images/texas_banner_r2_c8" src="../images/texas_banner_r2_c8.gif" width="71" height="23" border="0" alt=""></a></td>
       <td rowspan="3"><img name="../images/texas_banner_r2_c9" src="../images/texas_banner_r2_c9.gif" width="8" height="26" border="0" alt=""></td>
       <td rowspan="2"><a href="../tec/links.htm" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('../images/texas_banner_r2_c10','','../images/texas_banner_r2_c 10_f2.gif',1);"><img name="../images/texas_banner_r2_c10" src="../images/texas_banner_r2_c10.gif" width="59" height="23" border="0" alt=""></a></td>
       <td colspan="3"><img name="../images/texas_banner_r2_c11" src="../images/texas_banner_r2_c11.gif" width="157" height="1" border="0" alt=""></td>
       <td><img src="../images/spacer.gif" width="1" height="1" border="0" alt=""></td>
      </tr>
      <tr>
       <td rowspan="2"><img name="../images/texas_banner_r3_c11" src="../images/texas_banner_r3_c11.gif" width="10" height="25" border="0" alt=""></td>
       <td><a href="../tec/help.htm" onMouseOut="MM_swapImgRestore();" onMouseOver="MM_swapImage('../images/texas_banner_r3_c12','','../images/texas_banner_r3_c 12_f2.gif',1);"><img name="../images/texas_banner_r3_c12" src="../images/texas_banner_r3_c12.gif" width="42" height="22" border="0" alt=""></a></td>
       <td rowspan="2"><img name="../images/texas_banner_r3_c13" src="../images/texas_banner_r3_c13.gif" width="105" height="25" border="0" alt=""></td>
       <td><img src="../images/spacer.gif" width="1" height="22" border="0" alt=""></td>
      </tr>
      <tr>
       <td><img name="../images/texas_banner_r4_c2" src="../images/texas_banner_r4_c2.gif" width="86" height="3" border="0" alt=""></td>
       <td><img name="../images/texas_banner_r4_c4" src="../images/texas_banner_r4_c4.gif" width="91" height="3" border="0" alt=""></td>
       <td><img name="../images/texas_banner_r4_c6" src="../images/texas_banner_r4_c6.gif" width="85" height="3" border="0" alt=""></td>
       <td><img name="../images/texas_banner_r4_c8" src="../images/texas_banner_r4_c8.gif" width="71" height="3" border="0" alt=""></td>
       <td><img name="../images/texas_banner_r4_c10" src="../images/texas_banner_r4_c10.gif" width="59" height="3" border="0" alt=""></td>
       <td><img name="../images/texas_banner_r4_c12" src="../images/texas_banner_r4_c12.gif" width="42" height="3" border="0" alt=""></td>
       <td><img src="../images/spacer.gif" width="1" height="3" border="0" alt=""></td>
      </tr>
    </table>
    </div>
    <!--end masthead-->
    <div id="pagecell1">
    <!--pagecell-->
    <div id="navBar">   
    <!--navBar-->
    <div id="sectionLinks">   
    <!--sectionLinks-->
            <ul>
              <li>
                <div align="left"><a href = "../index.html"><span class="style2">Home</span></a></div>
              </li><li>
                  <div align="left"><a href = "../main/search.htm"><span class="style2">Search Campaign Finance and Lobby Reports</span></a></div>
              </li>
              <li>
                <div align="left"><a href = "../main/file.htm"><span class="style2">File Reports Electronically</span></a></div>
              </li>
              <li>
              <div align="left"><a href="../main/forms.htm"><span class="style2">Forms and Instructions </span></a></div>
              </li>
              <li>
              <div align="left"><a href="../main/research.htm"><span class="style2">Opinions, Statutes
                    &amp; Rules </span></a></div>
              </li>
              <li>
              <div align="left"><a href="../main/guides.htm"><span class="style2">Publications and Guides</span></a></div>
              </li>         
              <li>           
                <div align="left"><a href="../main/training.htm"><span class="style2">Online Ethics Training </span></a>
                </div><hr />
              </li><li><div align="center">
            <span class="style32">Filing Information For:</span>
            <table width="78%" border="0" cellpadding="0">
              <tr>
                <th scope="row"><div align="left"><a href="../main/coh.htm"><span class="style25">Candidates and Officeholders</span></a></div></th>
              </tr>
              <tr>
                <th scope="row"><div align="left"><a href="../main/lobbyist.htm"><span class="style25">Lobbyists</span></a></div></th>
              </tr>
              <tr>
                <th scope="row"><div align="left"><a href="../filinginfo/pfsforms&amp;ins.html"><span class="style25">Personal Financial Statement Filers</span></a></div></th>
              </tr>
              <tr>
                <th scope="row"><div align="left"><a href = "../main/pac.htm"><span class="style25">Political Committees</span></a></div></th>
              </tr>
              <tr>
                <th scope="row"><div align="left"><a href = "../main/party.htm"><span class="style25">Political Parties</span></a></div></th>
              </tr>
              <tr>
                <th scope="row"><div align="left"><a href = "../main/local.htm"><span class="style25">Local Filers and Filing Authorities</span></a></div></th>
              </tr>
              <tr>
                <th scope="row"><div align="left"><a href = "../main/officers.htm"><span class="style25">State Officers/ Employees </span></a></div></th>
              </tr>
              <tr>
                <th scope="row"><div align="left"><a href = "../main/other.htm"><span class="style25">Other Filers</span></a> </div></th>
              </tr>
            </table>
            </div></li>
              <li>
                <div align="left"><a href="../main/enforcement.htm"><span class="style2">Enforcement/Sworn Complaints</span> </a></div>
              </li>
            </ul>       
      </div>
      <!--end sectionLinks--> 
    </div>
    <!--end navBar-->
    <div id="content">
    <!-- InstanceBeginEditable name="EditRegion3" -->
    <?php
       print "<P align=\"left\"><strong><a href=\"cesearchSimple.html\">New Simple Search</a></strong>";
       print "<br><strong><a href=\"cesearchAdvanced.html\">New Advanced Search</a></strong>\n";
       print "<br> </P>\n";
    ?>
    <!-- InstanceEndEditable -->    </div>
    <div id="siteInfo">
      <div align="center"><span class="style9"><a href="http://www.texas.gov">Texas.gov </a>|
          <a href="http://www.texashomelandsecurity.com/">Texas Homeland Security</a> |
          <a href="http://www.tsl.state.tx.us/trail">Statewide Search</a> |
          <a href="../tec/policies.htm">Site Policies</a></span>  </div>
      <!--end siteInfo-->
    </div>
    <!--end content-->
    </div>
    <!--end pagecell1-->
    <br>
    </body>
    <!-- InstanceEnd --></html>

  • How to load an applet with older version of JRE?

    Hi All,
    I'm writing an applet which should read the username from the user's system using System.getProperty("user.name") method. I've JRE 1.4.2 in my browser, and it's throwing a AccessControlException whenever the applet is trying to read the "user.name" system property. So, I want to load this particular applet with an older version of JRE, say JRE 1.3. I've tried various approaches like,
    <jsp:plugin type="applet" code="LoginApplet.class" archive="login.jar"
         jreversion="1.3"     iepluginurl="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
    </jsp:plugin>
    and also tried OBJECT tag,
    <OBJECT
    classid="clsid:CAFEEFAC-0013-0000-0000-ABCDEFFEDCBA" codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0"
         width="200" height="200" align="baseline" >
    <PARAM NAME="code" VALUE="LoginApplet.class">
    <PARAM NAME="archive" VALUE="login.jar">
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
    <PARAM NAME="scriptable" VALUE="true">
    No Java 2 SDK, Standard Edition v 1.3 support for APPLET!!
    </OBJECT>
    I've not tried the simple APPLET tag because we can't specify a java plugin using the APPLET tag.
    In both the above methods, I'm still getting AccessControlException. In Java console, I'm seeing Java Plugin as 1.4.2.
    Can someone tell me is it possible to read the "user.name" system property from user's machine using Applets? If yes, how?
    Thanks,
    Tarun.

    Applets are prevented from doing certain things - reading data is one - to maximize security. You can either add permissions to the computer that the applet is running on, or you can sign the applet.
    See
    http://java.sun.com/docs/books/tutorial/security1.2/tour1/step2.html
    and
    http://forum.java.sun.com/thread.jspa?threadID=686184&tstart=45

Maybe you are looking for