Jre 1.3.1_01 Self extracting for Solaris.

Im in the middle of making an app for college (Part of my final year project)
Basically I want to install the JRE 1.3.1_01 onto the PC for the app, but I need this process to be transparent to the user installing it.
I have opened the
JRE 1.3.1_01.sn
in the script we get the followign
#!/bin/sh
PATH=/usr/bin:/bin
libthread_path=
more <<"EOF"
**agreement text**
EOF
agreed=
while [ x$agreed = x ]; do
echo
echo "Do you agree to the above license terms? [yes or no] "
read reply leftover
case $reply in
     y* | Y*)
     agreed=1;;
     n* | n*)
echo "If you don't agree to the license you can't install this sofware";
exit 1;;
esac
done
outname=install.sfx.$$
trap 'rm -f $outname; exit 1' HUP INT QUIT TERM
echo "Unpacking..."
tail +276 $0 > $outname
if [ -x /usr/bin/sum ] ; then
echo "Checksumming..."
sum=`/usr/bin/sum $outname`
index=1
for s in $sum
do
     case $index in
     1) sum1=$s;
     index=2;
     2) sum2=$s;
     index=3;
     esac
done
if expr $sum1 != 32212 || expr $sum2 != 30194 ; then
     echo "The download file appears to be corrupted. Please refer"
     echo "to the Troubleshooting section of the Installation"
     echo "Instructions on the download page for more information."
     echo "Please do not attempt to install this archive file."
     exit 1
fi
else
echo "Can't find /usr/bin/sum to do checksum. Continuing anyway."
fi
chmod +x $outname
echo "Extracting..."
./$outname
if [ -n "$libthread_path" ] && [ -f "$libthread_path/`uname -r`/libthread.so.1" ]; then
echo "Making libthread links"
ln -s `uname -r`/libthread.so.1 $libthread_path/libthread.so.1
ln -s libthread.so.1 $libthread_path/libthread.so
fi
echo "Done."
rm -f $outname
exit 0
Basically I have changed more at the very top, to cat, which displays the entire agreement, and I made the agreed variable equal 1, so the installer always agrees to the licence text.
The problem is with the checksum I keep getting errors, mainly about the file being corrupt and it not liking that.
By removing
if expr $sum1 != 32212 || expr $sum2 != 30194 ; then
     echo "The download file appears to be corrupted. Please refer"
     echo "to the Troubleshooting section of the Installation"
     echo "Instructions on the download page for more information."
     echo "Please do not attempt to install this archive file."
     exit 1
fi
else
It skips and goes straight to the install but installs garbage . Any suggestions on making it work. I plan to package up the changed Script and put my own checksum onto it, and incorporate it into my overall project.

Problem is simple, your failing MD5 check for file.
Since this is not legal what you doing, so I will not tell you work around
HtH :)

Similar Messages

  • JRE 6.0 update 1 for Solaris 10 sparc 64 bit

    Will jre 6.0 come out as a patch for Solaris 10 sparc? Or should I install it from the Java download site (http://www.java.com/en/download/manual.jsp)? I currently have jre 5.0.11 (patches 118666-11 and 118667-11).
    Thanks.....

    Will jre 6.0 come out as a patch for Solaris 10
    sparc? Or should I install it from the Java download
    site (http://www.java.com/en/download/manual.jsp)? I
    currently have jre 5.0.11 (patches 118666-11 and
    118667-11).Yes, it's out for 6u1, or should be out by now, as sparc (125136-01 & 125137-01)
    and x86 (125138-01 & 125139-01).
    You cannot patch your way from 5.0 to 6. You need to install the 6 packages, and then you can install the 6u1 patch. (or you could just install the 6u1 packages, and patch from that point onward).
    As to the later question, yes, there isn't a formal JRE patch, but SUNWj6rt is essentially the runtime component of the JDK, so if you just had SUNWj6rt & SUNWj6cfg installed, you would have the equivalent of a JRE, though it still would be installed in a JDK directory. If you have just those two packages installed, then you could use 125136-01 as a JRE patch, since it will only update what installed. Oh yes, I forgot about the 64bit component to the runtime, SUNWj6rtx. If you intend on running the JRE in 64bit mode (-d64), you'd need SUNWj6rtx as well.
    Dave
    Sun Microsystems
    Message was edited by:
    katleman

  • Problem with Audigy self extracting file for Vi

    I have downloaded the latest Vista driver for the Audigy 2, which is a self
    extracting file. When I run it, I always get the same error message:
    file error[@s]crc,0xc50a2d5:0x0d8c70c
    and then the process aborts. When I download and run the file on my XP
    machine, it runs just fine and brings up the installation program. Any ideas
    on how I can get this thing to run under Vista. I went this route because I
    was never able to get the onboard Realtek '97 audio to work. Under that
    scenario, Control panel says the device is working properly and there are no
    conflicts, but the speaker icon in the system tray has a red x over it, and I
    get no sound. I would gladly accept a solution to either problem so I can get
    the audio working.
    Chuck

    Ok, I've edited the VI you posted to reproduce my error (this time with 8.0). 
    I added a "master stop" and "start log" button.  To demonstrate my problem:
    1.  Run the VI
    2.  Click "START LOGGING" - c:\test.txt is created
    3.  Click "STOP" - c:\test.txt is closed
    4.  Delete the file c:\test.txt with Windows shell or explorer
    5.  Click "START LGGING" - a new c:\test.txt file should be created but instead an error is raised in the Write LabVIEW Measurement File function.
    Any ideas?
    Thanks,
    Dave
    Attachments:
    Write LV Meas File 2.vi ‏96 KB

  • Jre for solaris x86

    hi,
    I know that there is a separate JRE for Solaris X86. But my problem is that i have Solaris x86 installed an amd 64 bit machine and also on an Intel 64 bit machine.
    I would like to know if it is possible to use the same jre for both the machines.
    Edited by: Diganth.A on Feb 4, 2009 11:16 AM

    Diganth.A wrote:
    hi,
    I know that there is a separate JRE for Solaris X86. But my problem is that i have Solaris x86 installed an amd 64 bit machine and also on an Intel 64 bit machine.
    I would like to know if it is possible to use the same jre for both the machines.
    Edited by: Diganth.A on Feb 4, 2009 11:16 AMThis all depends on the operating system your are using and the type of 64 bit hardware architecture type.
    Can you please provide more specific details about the architecture and operating systems you are trying to install your JRE on?
    Typically you will want to download a pre-configured JRE for your OS platform and hardware architecture.

  • JRE/JDK 1.1.6 for solaris

    Hi,
    I was looking for JRE/JDK 1.1.6 for solaris download, but it seems Sun has kept upto JRE/JDK versions 1.1.7 on the site. If anybody knows any URL, where they may have it archived, pls let me know
    Regards
    -- Amit

    Hi there,
    you can download jdk 1.1.6 from
    http://java.sun.com/products/jdk/1.1.6/
    there are versions for both the windows and solaris platforms.
    hope this helps,
    PSChan
    PSChan - Sun Microsystems

  • Updates for Java 2 Runtime Enviroment V1.4.2_08 and Java JRE 1.3.1_01

    Hello everyone,
    Thanks again for your help, I have a different question, because in my windows 2003 I have 2 versions, (I suppose)
    Java 2 Runtime Enviroment V1.4.2_08 and
    Java JRE 1.3.1_01 (Java 2 Runtime Environment Standard Edition v1.3._01)
    Anyeone here, that might help me to find out the difference, or JRE 1.3.1_01 is just an old version of V1.4.2_08. Thanks a lot!

    To answer " Anyeone here, that might help me to find out the difference, or JRE 1.3.1_01 is just an old version of V1.4.2_08. Thanks a lot!"
    Yes. 1.3.1_01 is very old, and 1.4.2_08 contains all the fixes/features/changes that are in 1.3.1_01. There is considerable change between the two.
    You are going to have to do some work to figure out the differences if that is your intention.
    Each family release moves the code base forward, containing all the features/fixes from the previous family.
    1.4.2 introduced new features, and had many, many fixes. Each 1.4.2 update has release notes that list the changes that you can find and read.
    Consider moving to 1.7
    Have fun!
    -Roger

  • Installation for Solaris 10

    Greetings all...I'm not sure where this is supposed to go so I figured I'll start here since I technically am new to java, hehe... New meaning new to the Solaris installation of Java, specifically in regards to downgrading the JDK/JRE from 1.5.0 (latest as of the 6/06 release of Solaris 10) to 1.4.2_12.
    More detail:
    We have four T1000s and four T2000s, all with Solaris 10 6/06 installed. Apparently, the latest 1.5.0 release of java is installed and used by default (java -fullversion shows 1.5.0_06-b05). JRE 1.4.2_11 is also installed but since then, 1.4.2_12 has come out and the developers that are going to be on this machine absolutely demand 1.4.2_12.
    For those familiar with Solaris and pkgadd/pkginfo/pkgrm, I'm looking to A: remove 1.4.2_11 and 1.5.0_06 and B: put in 1.4.2_12. I've done both the self-extracting .sh script as well as the packages but when I run that version of java, it comes back with the following error:
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object
    I've looked everywhere I can think of to fix this but I'm at a loss now. Anyone have any ideas? Not sure what PATH variable I'm supposed to have. Thanks in advance!

    Greetings all...I'm not sure where this is supposed
    to go so I figured I'll start here since I
    technically am new to java, hehe... New meaning new
    to the Solaris installation of Java, specifically in
    regards to downgrading the JDK/JRE from 1.5.0 (latest
    as of the 6/06 release of Solaris 10) to 1.4.2_12.
    More detail:
    We have four T1000s and four T2000s, all with Solaris
    10 6/06 installed. Apparently, the latest 1.5.0
    release of java is installed and used by default
    (java -fullversion shows 1.5.0_06-b05). JRE 1.4.2_11
    is also installed but since then, 1.4.2_12 has come
    out and the developers that are going to be on this
    machine absolutely demand 1.4.2_12.
    For those familiar with Solaris and
    pkgadd/pkginfo/pkgrm, I'm looking to A: remove
    1.4.2_11 and 1.5.0_06 and B: put in 1.4.2_12. I've
    done both the self-extracting .sh script as well as
    the packages but when I run that version of java, it
    comes back with the following error:
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object
    I've looked everywhere I can think of to fix this but
    I'm at a loss now. Anyone have any ideas? Not sure
    what PATH variable I'm supposed to have. Thanks in
    advance!No idea at all, but I'm just wondering how it managed to instantiate a NoClassDefFoundError, since it extends java.lang.Object ^^
    there should be some silly explanation I'm not aware of...

  • WL 7.0 for Solaris - Installation problem

    Hi
    I am trying to install WL 7.0 with SP2 for Solaris which was downloaded from the
    BEA Download Center.
    The following is the extract of the error :
    ==============================================================
    $ ./server702_solaris.bin
    ** The directory "/var/tmp/" does not have enough space for extraction.
    Please input another directory: /opt/utl/tmp
    Extracting 0%..................................................................)
    .100%
    ** Error during extraction, error code = 2.
    =====================================================
    what could be the problem?
    Thanks in advance
    Regards
    Ramkumar

    "Ramkumar" <[email protected]> wrote in message
    news:3ee5d2ca$[email protected]..
    >
    Hi
    I am trying to install WL 7.0 with SP2 for Solaris which was downloadedfrom the
    BEA Download Center.
    The following is the extract of the error :
    ==============================================================
    $ ./server702_solaris.bin
    ** The directory "/var/tmp/" does not have enough space for extraction.
    Please input another directory: /opt/utl/tmp
    Extracting0%..................................................................)
    100%
    ** Error during extraction, error code = 2.
    =====================================================
    what could be the problem?The installer is actually a self-extracting Zip-archive. It tries to unpack
    itself into /var/tmp/something-random, before starting the actual
    installation.
    If you do not have enough free space in /var/tmp, try creating a temporary
    directory somewhere else, move the installer into the new directory, and do
    an 'unzip server70..............bin'. Once you have unzipped the installer,
    I think you can look in a file called AUTORUN or something for the java
    command to run the installer manually.
    Good luck,
    Jan Bruun Andersen

  • Zip -E for Solaris 10?

    Hi, everyone
    I have a need for what I think is an older version of info-zip that used to have the -E (capital E) option that would encrypt the file but it could be scripted unlike the current zip -e which will prompt you to enter a password twice and cannot be easily scripted. I need the -E version so code changes don't need to be made in production.
    I can't seem to find this version of zip (source or binary) anywhere. Does anyone have any idea what happened to this option or where I might find the old source that contained this option?
    TIA

    Hi.
    Zip for Solaris 8 don't know -E.
    # zip -h
    Copyright (C) 1990-1997 Mark Adler, Richard B. Wales, Jean-loup Gailly,
    Onno van der Linden and Kai Uwe Rommel.
    Type 'zip -L' for the software License.
    Zip 2.2 (November 3rd 1997). Usage:
    zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list]
      The default action is to add or replace zipfile entries from list, which
      can include the special name - to compress standard input.
      If zipfile and list are omitted, zip compresses stdin to stdout.
      -f   freshen: only changed files  -u   update: only changed or new files
      -d   delete entries in zipfile    -m   move into zipfile (delete files)
      -R   recurse into directories     -j   junk (don't record) directory names
      -0   store only                   -l   convert LF to CR LF (-ll CR LF to LF)
      -1   compress faster              -9   compress better
      -q   quiet operation              -v   verbose operation/print version info
      -c   add one-line comments        -z   add zipfile comment
      -@   read names from stdin        -o   make zipfile as old as latest entry
      -x   exclude the following names  -i   include only the following names
      -F   fix zipfile (-FF try harder) -D   do not add directory entries
      -A   adjust self-extracting exe   -J   junk zipfile prefix (unzipsfx)
      -T   test zipfile integrity       -X   eXclude eXtra file attributes
      -y   store symbolic links as the link instead of the referenced file
      -h   show this help               -n   don't compress these suffixes
    # zip -E
    zip error: Invalid command arguments (no such option: E)
    # uname -a
    SunOS XXXX 5.8 Generic_117350-34 sun4u sparc SUNW,Ultra-1
    #Solaris binary compatible with previos version. So you can try just copy old zip to Solaris 10.
    Regards.
    Edited by: Nik on 12.04.2011 12:32

  • No JRE version found in launch file for this system

    Hi,
    I have an application which is launched by JWS.
    When we use JWS from 1.4, it runs fine. But JWS from 1.5.0_15 gives the error "No JRE version found in launch file for this system"
    In both the JWS(1.4 and 1.5.0_15)cases, we install JRE1.5.0_15 using the installer and used for invoking the application.
    We invoke mailclient.jnlp, which inturn invokes the installer.jnlp and KanaJreInstaller.asp
    <<mailclient.jnlp>>
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp
    spec="1.0"
    codebase="http://mpshanmu-gx520:80/10r3/"
    href="mailclient.jnlp">
    <information>
    <title>KANA Agent</title>
    <vendor>KANA Software, Inc.</vendor>
    <homepage href="http://www.kana.com"/>
    <description>KANA Suite 10.3.0</description>
    <icon href="images/mail_logo.gif"/>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="KANA1.5.0_15" href="KanaJreInstaller.asp"/>
    <jar href="lib/mailclient_s.jar"/>
    <jar href="lib/link_s.jar"/>
    <jar href="lib/spell_s.jar"/>
    <jar href="lib/ssce_s.jar"/>
    <jar href="lib/kc_framework_s.jar"/>
    <jar href="lib/kc_sharedGUI_s.jar"/>
    <jar href="lib/xalan_s.jar"/>
    <jar href="lib/xerces_s.jar"/>
    <jar href="lib/java2com_s.jar"/>
    <jar href="lib/jgl3.1.0_s.jar"/>
    <jar href="lib/rsrcbundle_s.jar"/>
    <jar href="lib/response_s.jar"/>
    <jar href="lib/HTMLEditorEnterprise_s.jar"/>
    <jar href="lib/jakarta-oro-2.0.4_s.jar"/>
    <jar href="lib/jdic_s.jar"/>
    <extension name="Sun Libraries" href="sunextensions.jnlp"/>
    </resources>
    <resources os="Windows">
    <nativelib href="lib/windlls_s.jar"/>
    <nativelib href="lib/jdic-native.jar"/>
    </resources>
    <application-desc main-class="kana.mail.wkstn.AppMain">
    <argument>-serverlist</argument>
    <argument>http://mpshanmu-gx520:80/10r3/servers.xml</argument>
    </application-desc>
    </jnlp>
    <<KanaJreInstaller.asp>>
    <%@ language="vbscript"%>
    <%
    Response.ContentType="application/x-java-jnlp-file"
    Response.AddHeader "x-java-jnlp-version-id","KANA1.5.0_15"
    dim fs,f,ts
    set fs=Server.CreateObject("Scripting.FileSystemObject")
    Set f=fs.GetFile("C:\Program Files\KANA\KANA Response Web Server_10r3\installer.jnlp")
    Set ts=f.OpenAsTextStream(1)
    Response.Write(ts.ReadAll)
    ts.Close
    set ts=nothing
    set f=nothing
    set fs=nothing
    %>
    <<installer.jnlp>>
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp
    spec="1.0"
    codebase="http://mpshanmu-gx520:80/10r3/"
    href="installer.jnlp">
    <information><title>KANA J2RE 1.5.0_15 Installer</title>
    <vendor>KANA Software, Inc.</vendor>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.3+"/>
    <jar href="lib/installer.jar"/>
    <jar href="lib/JRE_KANA1.5.0_15.jar"/>
    <property name="jre.container" value="JRE_KANA1.5.0_15.jar"/>
    <property name="jre.execute" value="bin\\javaw.exe"/>
    <property name="jre.version" value="KANA1.5.0_15"/>
    </resources>
    <installer-desc main-class="JREInstaller"/>
    </jnlp>
    Thanks

    >
    We are using sun JRE(1.5.0_15) only. We extract Sun JRE and build it as KANAJRE.jar and signing.>I have never heard of KANAJRE. Would you care to post a link to the site, or should we just keep guessing? (My patience for random guesses is running out.)
    >
    We install using Intaller class and that is getting listed in the Java Control panel and enabled too.>List as what?
    Does it list it with the entire string "KANA1.5.0_15" or is is just listed as "1.5.0_15"?
    Because this line from the JNLP file..
    <j2se version="KANA1.5.0_15" href="KanaJreInstaller.asp"/>..had me convinved it was a non-Sun JRE. Not so much the href, but most especially the version attribute.
    If it really is the Sun JRE, I would expect this to work.
    <j2se version="1.5.0_15" href="KanaJreInstaller.asp"/>And as an aside. If this installer is giving you trouble and the app. requires the 1.5.0_15 JRE, why not simply the default Sun JRE installer? What advantages do you think this installer offers?

  • Setting up a bridge for solaris 10

    Hi,
    I currently have a dual boot for on my desktop (Solaris 10 and WinXP). I'm currently looking for a way to get online while in solaris, my WinXP install is on a wireless network but it's almost impossible to find wireless drivers for solaris so i'm trying to use my ethernet capabilities.
    I bought a wireless print server which has a bridge feature and i'm hoping to find some information on how to setup a bridge on my solaris install.
    Any help or direction will help me a lot since I'm very new to solaris. Thank you in advanced.

    I have a similar issue but have not been able to get this solution to work.
    I have an Airport Extreme 802.11n that is set up in bridge mode and connected to a DSL modem that assigns IP addresses.
    I wish to use a remote Airport Express (late 2008) 802.11n to connect via ethernet to a PowerMac without wireless.
    In summary I desire: DSL-ethernet-AirportExtreme-wireless-AirportExpress-ethernet-PowerMac
    I have reset the Airport Express to factory defaults and then set to "Join wireless network" and checked allow Ethernet clients. The Airport Express gets an IP address but any number of Macs I have tried will not get an IP address in DHCP mode (except a self-assigned one). I have verified that the cable works: when I connect the Macs to the Airport Extreme base station, they all get an IP address. All versions of firmware are 7.4.1. I have also tried checking and unchecking "Allow this network to be extended" on the Airport Extreme.
    Please help. Thanks

  • JRE 1.4.2_07 only works for the installer user

    I installed JRE 1.4.2_07 today for a web based app my company uses on my development XPPro PC. The web based app launches the JRE fine and works fully, when logged in as the user who I installed the JRE under.
    If I logon as another user and try to access the web based system, it suggests that I do not have the JRE installed and tries to download an on-line download/install from the sun website.
    As I've packaged the JRE to be installed by our software deployment tool (Novadigm Radia), I need to know what components of the install I need to include in a user package (I.e. user specific components), so this can be deployed to every user allowing the JRE to work.
    I have already tried copying the files in the user's profile under: C:\Documents and Settings\<UserID>\Application Data\Sun to my new user's profile and this alone does not appear to solve the problem.
    Any ideas what I'm missing? Could the web based app look in the user Registry settings maybe?
    Any help would be appreciated.
    Thanks,
    Paul

    I'm sorry if I didn't explain myself correctly. I am
    the administrator and have full administrative
    priveleges on the development PC I am packaging on. I
    am trying to setup a package deployable by Novadigm
    Radia using the msi and 1033.mst extracted from the
    JRE setup exe. If I get Radia to deploy the JRE to
    the user I used for packaging then this works fine.
    If I try a different user, then the web based app
    doesn't recognise that there is a JRE installed and
    tries to download one from Sun.
    Cheers, PaulAnd is that "different user" one without administrative privileges? If so, I suspect that the JRE install isn't able to make the needed Registry entries, as was noted.

  • Installing OAS 10g Release 2 (10.1.2) for Solaris 10 sparc

    I am installing Oracle® Application Server 10g Release 2 (10.1.2) for Solaris Operating System (SPARC) for the first time on an unix server. What is required in unix as far as directories, mount-points and etc. before I start. After downloading the product, it says to extract the cpio file, move the cpio file to an empty directory, then do: cat filename.cpio | cpio -icd What directory do I run installerer in. I have reviewed the doumentation in Oracle for installing the OAS but it is the prep work that i am not sure about.
    Thank you for any help and guidance.

    OK, when you unzip this or untar or make cpio, you will get Disk1, Disk2, Diskn folders, the mount for this could be anywere, even if they are in different mount points of folders, it's better to have them all in a same folder cause the installer will find the disks by his own, but ifyou have them in diferent folders, the installer will ask for the directory where the disk are.
    Hope this helps
    Greetings.

  • Need Agent Installer for Solaris (SPARC)

    Hi All,
    I have downloaded Grid Control Agent Installer for Solaris from http://www.oracle.com/technology/software/products/oem/htdocs/agentsoft.html.
    When I tried to extract the zip file, I am getting the following error message.
    "Can not open file. It does not appear to be a valid archive. If you downloaded this file, try downloading the file again."
    Even I tried using http://sac.us.oracle.com/download/index.html also but getting the same error.
    Please send me the location if you have,
    Thanks
    Sumathi

    Most commands are identical. Performance analysis, loading all are similar. Tape interaction, creation of tape devices is going to be pretty much the same.
    The differences show up a lot at the hardware level. HBAs aren't usually the same, many drivers (and their quirks) are different between the architectures. If you're debugging connectivity to a tape library, those differences may be critical.
    So you can't get as close as you may want, but I'll bet it would still be helpful.
    Darren

  • I want to extract the Solaris media using "unpackmedia" option

    pack and unpack options operates on only miniroot archives and not on whole Solaris media.
    I want to extract the Solaris media using "unpackmedia" option.
    unpackmedia option of root_archive internally extract miniroots and additionally it extracts X.cpio.bz2 and pkg_db.cpio.bz2 based on some manipulations.
    man page of root_archive on solaris 11 still shows the information about these two removed options.
    Please let me know is there other way to achieve operations same as provided by unpackmedia option?
    Regards,
    Umesh

    When you intermix java/javascript code like this you have to realise the order in which this occurs.
    1 - all java code is executed - produces a static html
    2 - html is loaded, and javascript is run.
    So you can't run java code from an onClick event on the page.
    You have to submit a request (ie submit form/click link) to run java code, and it sends a response (new page) to the browser.
    So what you would end up with is code like this on your page
    Assuming you have three items in your list: {Item0, Item1, Item2} this will be the result:
    var z=0
    // for item0
    c.options[z]=new Option("Name0",Id0)
    z++
    c.options[z]=new Option("Name1",Id1)
    // for item1
    c.options[z]=new Option("Name0",Id0)
    z++
    c.options[z]=new Option("Name1",Id1)
    // for item2
    c.options[z]=new Option("Item0",Item0)
    z++
    c.options[z]=new Option("Item1",Item1)Suggestions as to what is wrong with this code
    1 - you only increment z once on each loop, but save two items.
    2 - you aren't using your counter 'I' in the get method.
    3 - you might need quotes around the values as well as the names.
    Personally, I think you're going the entire wrong way about this.
    Should you be using public static variable attributes? Are these values to be the same for every single user in the system?
    I would prefer to use a jsp scope (application scope if it is for all users) and just generate the html for the select right onto the page, rather than generating javascript to run and build the list.
    I would also use JSTL
    ie
    <select name="mySelect>
      <c:forEach var="asset" items="${assetList}">
        <option value="${asset.id}"><c:out value="${asset.name}"/>
      </c:forEach>
    </select>

Maybe you are looking for

  • Exception thrown while deleting (uninstalling) application in Weblogic 10.3

    Hello, I get following Exception the webpage when I uninstall application from Weblogic 10.3. I installed it as part of middleware 11.1.1.0.2 Unexpected Exception An unexpected exception has occurred processing your request Message: Stack Trace: webl

  • Had to download 3.5 to get some of my toolbars to work, as a result I lost all of my bookmarks. How do I get them back?

    Version 3.6.6 got hung up. A friend of mine looked at it and told me it was because of 2 of my favorite toolbars. He uninstalled it and reinstalled it, and it was still the toolbars. So he downloaded version 3.5, but it would only let me have my tool

  • UserId/Password Not Given-expected to run SQL Plus

    So that we may better diagnose DOWNLOAD problems, please provide the following information. I downloaded Oracle 9i and I'm trying to run SQL Plus and its asking me for a userid, password and a host string. I don't know what the userid, password or ho

  • Linking 2 different reports

    Hi Sanjeev, I have a question , 1)How to join two data objects 2) How to pass parameters from one report to the other Scenario 1) : I created two data objects,then I could create a plan and and bring in basic reports on the Dashboard using the SQL Qu

  • Data is not showing in print preview

    Hi i am trying to take the printout of service purchase order,but before saving i am not getting any content in the printout preview,but after saving i am getting the content,is there any thing do from functional side thanks vivek