J2SE JDK1.5.05 failed on Solaris 9

Hi,
I installed JDK 1.5.05 on my sun box workstation successfully. But when i try to run my script, it failed.
Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object
i have updated the classpath:
# which java
/SUNWj5rtx/reloc/jdk/instances/jdk1.5.0/bin/sparcv9//java
and all permissions of the files in the dir has been change via:
chmod 777 *
In fact, i couldnt even run the java file.
# java
Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object
I'm urgently seeking for help. Would appreciate if anyone can provide advice. Thanks.

Hi,
I installed JDK 1.5.05 on my sun box workstation
successfully. But when i try to run my script, it
failed.
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
i have updated the classpath:
# which java
/SUNWj5rtx/reloc/jdk/instances/jdk1.5.0/bin/sparcv9//j
ava
and all permissions of the files in the dir has been
change via:
chmod 777 *
In fact, i couldnt even run the java file.
# java
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
I'm urgently seeking for help. Would appreciate if
anyone can provide advice. Thanks.You are missing rt.jar in your installation which has the class file
for java.lang.Object. CHeck your installation.
In particular, note that a 64-bit intsallation overlays (or installs
"next to") an existing 32-bit installation. In ptherwords, to get
a fully working 64-bit installation, first do the 32-bit installation,
and follow that up with a 64-bit installation.
If instead you do just a 64-bit installation you will be missing certain
files in the installation and will get errors such as the one above.

Similar Messages

  • Font command fails on solaris

    I have a program which runs fine under Windows but fails in Solaris when it gets to the line
    font=new Font(null,FONT.plain,current_font_size);
    (I have tried SansSerif and Lucida in place of null.
    It is being run from a shell script as a batch process on the server. I have to access fonts to work out size of text objects - I presume my problem is to do with X11 - any advice.

    Hi,
    Can you provide the error you get?
    I guess you do need an X Window System ( http://www.xfree86.org ).
    If you already have one, try setting the environment variable DISPLAY as follows:
    - log on as root
    - for sh ksh:
    set DISPLAY=localhost:1.0
    export DISPLAY
    - or for csh:
    setenv DISPLAY=localhost:1.0
    If this doesn't work, try replacing 1.0 with 0.0
    Regards,
    Kurt.

  • Ddi_regs_map_setup fails in solaris 11

    Hi
    I have a driver (parent=isa) in x86 that ioremaps (ddi_regs_map_setup) a physical address range between 0xE0000 and 0xF0000.
    This is a device memory mapped region.
    The ddi_regs_map_setup was successful in solaris 10 (32 bit and 64 bit) but fails in solaris 11.
    The warning message
    WARNING: isa_apply_range: Out of range base <base> size <size>
    The ddi_regs_map_setup goes through for the same region if driver made as parent=pci instead of parent=isa.
    Would be helpful if someone could point out why this happens in solaris 11?
    cheers

    each of the registers covers an area of pci bus address space supplied by the card
    why don't you print out the return value from ddi_dev_regsize() as that will tell you
    how much space the card is exporting for each of the registers .
    tim

  • "java -version" fails in Solaris 5.9 with relocation error

    Hi all,
    Appologies for the Java 'newbie-ness' of this query from the outset... But here goes. My current configuration is ...
    SunOS 5.9 Generic_112233-11 sun4u sparc SUNW,UltraAX-i2
    and I'm trying to run with Java 2 SDK, Standard Edition Version 1.4.1
    As far as I know, local support has fed me with the required patches to get me up and running so as I can use 'jar' to upgrade a jarfile. But if I try to do this (or even just try "java -version"), I just get...
    Error: failed /usr/j2se/jre/lib/sparc/client/libjvm.so, because ld.so.1: java: fatal: relocation error: file /usr/j2se/jre/lib/sparc/client/libjvm.so: symbol __1cG__CrunSregister_exit_code6FpG_v_v_: referenced symbol not found
    I can only find this bug (?) referencing Solaris 5.7 at most recent. Am I missing something obvious?
    I've got...
    setenv JAVA_HOME /usr/j2se
    setenv LD_LIBRARY_PATH $JAVA_HOME/jre/lib/sparc/server:$JAVA_HOME/jre/lib/sparc
    Are the solaris 7 patches not necessarilly in the patch bundle I've had stuffed on here...?

    It looks like that the likely cause of this error is some failed library dependancy. You can manually check if all libraries libjvm.so depends on are actually present on the system by running the following commands:
    $ cd /usr/j2se/jre/lib/sparc/client/
    $ ldd libjvm.so
    The output of the ldd command should look something like the following with possible slight deviations:
    libCrun.so.1 => /usr/lib/libCrun.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libthread.so.1 => /usr/lib/libthread.so.1
    libsocket.so.1 => /usr/lib/libsocket.so.1
    libnsl.so.1 => /usr/lib/libnsl.so.1
    libm.so.1 => /usr/lib/libm.so.1
    libw.so.1 => /usr/lib/libw.so.1
    libc.so.1 => /usr/lib/libc.so.1
    librt.so.1 => /usr/lib/librt.so.1
    libmp.so.2 => /usr/lib/libmp.so.2
    libaio.so.1 => /usr/lib/libaio.so.1
    libmd5.so.1 => /usr/lib/libmd5.so.1
    /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
    /usr/platform/SUNW,Ultra-60/lib/libmd5_psr.so.1
    Check if all library path's are actually present on the system, otherwise you will need to satisfy the missing dependencies.

  • Ypinit fails in Solaris 10

    I am trying to set up a NIS client Solaris 10 for the first time. Ypinit fails with the errors:
    svcadm: Pattern 'network/nis/server:default' doesn't match any instances
    svcadm: Pattern 'network/nis/xfr:default' doesn't match any instances
    svcadm: Pattern 'network/nis/passwd:default' doesn't match any instances
    svcadm: Pattern 'network/nis/update:default' doesn't match any instances
    svcs -a doesn;t list any of those services. How do I create them? I have the SUNWnisr and SUNnisu packes on the host.

    Turns out the NIS server packages are required for the client to work. Installing SUNypu and SUNWypr tool care of the svcadm errors.
    Then, the network/nis.client service got disabled every time I ran ypinit -c.
    Turns out the user had a "securenets" file on the master that was not allowing access. After fiddling with svcadm for a while, everything seems to be working.

  • Installation fails on Solaris 10

    After downloading and executing the SGD shell script results in a failure.
    Same script
    worked fine on Solaris 9. Solaris 10 system details:
    root[csh]@broncos15[32]# cat /etc/release
    Solaris 10 3/05 s10_74L2a SPARC
    Assembled 22 January 2005
    root[csh]@broncos15[26]#sh ttaspso.shx
    Tarantella Secure Global Desktop Enterprise Edition
    Setup is verifying the shx file...
    Setup is checking for disk space requirements...
    Secure Global Desktop for SPARC Solaris 2.8+
    Preparing for installation...
    /tmp/install6aaaHh/checkinstall8aaaHh: /tmp/ttainst_1/tta.log: cannot
    create
    Error during installation. Setup will now exit.
    Please correct any errors described in /tmp/tta_inst.log, and then try
    again.
    root[csh]@broncos15[27]#
    root[csh]@broncos15[29]# cat tta_inst.log
    ===========================================================================
    Starting Setup
    ===========================================================================
    11+0 records in
    11+0 records out
    ===========================================================================
    Installing package <tta>
    ===========================================================================
    3+0 records in
    3+0 records out
    Pre-request detail for package <tta>
    ---> tta.prerequest
    24997+0 records in
    24997+0 records out
    Extraction detail for package <tta>
    Transferring <tta> package instance
    Install detail for package <tta>
    Processing package instance <tta> from </tmp/ttainst_1/ttapkg.3491/pkg>
    Tarantella Secure Global Desktop Enterprise Edition for SPARC Solaris
    2.8+(SPARC) 4.00.903
    Tarantella, Inc.
    pkgadd: ERROR: request script did not complete successfully
    Installation of <tta> failed.
    No changes were made to the system.
    Script detail for package <tta>
    root[csh]@broncos15[30]#

    Have a look at
    http://www.tarantella.com/documentation/sgd/ee/4.0/install.html - search
    for "Solaris 10" on that page, and try the workaround described there.
    Regards,
    Bill Weir, Tarantella Engineer.
    Ranjit Reddy wrote on 02/06/2005 00:41:
    After downloading and executing the SGD shell script results in a failure.
    Same script
    worked fine on Solaris 9. Solaris 10 system details:
    root[csh]@broncos15[32]# cat /etc/release
    Solaris 10 3/05 s10_74L2a SPARC
    Assembled 22 January 2005
    root[csh]@broncos15[26]#sh ttaspso.shx
    Tarantella Secure Global Desktop Enterprise Edition
    Setup is verifying the shx file...
    Setup is checking for disk space requirements...
    Secure Global Desktop for SPARC Solaris 2.8+
    Preparing for installation...
    /tmp/install6aaaHh/checkinstall8aaaHh: /tmp/ttainst_1/tta.log: cannot
    create
    Error during installation. Setup will now exit.

  • 9.2.0.3 patch set installation fails on Solaris 8

    i've installed Oracle9iR2 (64-bit) client on a Solaris 8 system and i'm now having problems installing the 9.2.0.3 patch set. during the installation process i get the following error message from OUI:
    Error in invoking target install of makefile
    $ORACLE_HOME/network/lib/ins_net_client.mk
    i checked the installation log and then $ORACLE_HOME/install/make.log. make.log reports that the failing command is:
    /usr/ccs/bin/make -f ins_net_client.mk install ORACLE_HOME=/opt/oracle9i/u01/app/oracle/product/9.2.0
    this command fails when trying to link trcroute. the link command seems to have incorrect paths as it seems to expect to find crt?.o files from $ORACLE_HOME/lib/WS6U1 while they are located in $ORACLE_HOME/lib/WS6U2/lib/v9. i modified $ORACLE_HOME/network/lib/env_network.mk (CCVER, COMPOBJ) so that crt?.o can be found.
    after this change the same link command fails with this message:
    ld: fatal: file $ORACLE_HOME/network/lib/s0nur.o:
    wrong ELF class: ELFCLASS32
    ld: fatal: File processing errors. No output written to trcroute
    *** Error code 1
    make: Fatal error: Command failed for target `trcroute'
    i checked the object files in network/lib and they all seem to be ELF 32-bit.
    does someone know what's causing these problems with the installation and how to fix it?
    best regards,
    aspa

    that's what i started to suspect as well. it's quite likely that the patch is for 32-bit installations. i'll try it with the 64-bit patch. thanks.

  • SSL/TLS clients binds fail to Solaris 10 06/06 DS5.2p4 Server

    hello all,
    this is a bizarre issue that i think is related to the solaris version that is running on the directory server, at least this appears to the the issue. i have 2 SunDS servers running solaris 10 06/06 and the other solaris 10 01/06 with DS5.2p4. both have SSL enabled, the certs i signed with my own CA which i maintain with tinyca2. the directory starts fine and is listening on both 389(ldap) and 636(ldaps). i am able to successfully bind to both servers on the non-secure ports fine, commands like getent, finger, id are pulling the people from the directory. when i enable the clients to use ssl/tls those same commands fail against the solaris 10 06/06 machine but NOT the solaris 10 01/06 server. on the linux machines i'm getting "nscd: pam_ldap: could not search LDAP server" errors and on the solaris machines "Mesg: openConnection: failed to initialize TLS security" and "libsldap: Status: 7 Mesg: Session error no available conn."
    using "ldapsearch -x -ZZ" from the clients is successful to both systems, and i can use "openssl s_client" to view the certs fine. another bizzare occurance is when i do "getent passwd" i see the local and ldap users but "getent passwd ldap_user" will return nothing. again this are against the solaris 10 06/06 machine.
    has anyone see this before? i'm going to open a service request for sun on this but i wanted to see if anyone else has run into this.

    there was a problem with the certificate db which was causing this.

  • Oracle 10gR2 installation fails in Solaris 10

    Hi All,
    I am facing the following problem in Solaris 10 SPARC 64 bit machine.
    1.     Downloaded Oracle 10g R2 installable from oracle
    2.     Created user oracle and group dba and modified project settings and permissions as per quick installation guide
    3.     Installation of software is successful. But dbca fails with following error message.
    ORA-19624: operation failed, retry possible
    ORA-19870: error reading backup piece /vol1/ora10gr2/product/10.2.0/Db_1/assistants/dbca/templates/Seed_Database.dfb
    ORA-19587: error occurred at reading 0 bytes at block number 1
    ORA-27091: unable to queue I/O
    ORA-27067: size of I/O buffer is invalid
    4.     I also tried creating scripts using dbca and running it manually. It fails with following error message in trace file
    Corrupt block 1 found during reading backup piece, file=/ora10gr2/ora10gr2/product/10.2.0/Db_1/assistants/dbca/templates/Seed_
    Database.dfb, corr_type=3
    5.     Creation of custom database also fails with similar error message
    It is Solaris 10 (Solaris 10 11/06 s10s_u3wos_10 SPARC) machine with patch level 125100-05 .
    I know this question has to be posted in Oracle forums. But I could not see others facing this issue in oracle forums. If anybody has faced this issue please let me know.
    Thanks!

    Yes, I was trying to install Oracle for Solaris sparc 64 bit.
    again I reformatted the system with Solaris 10 8/07 release but I am getting the same error. Machine model is v480. even i tried to create a database manually, CREATE DATABASE command fails with the same error
    Please find trace file content below
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    control_files            = /u01/ora10gr2/c1.ctl, /u01/ora10gr2/c2.ctl, /u01/ora10gr2/c3.ctl
    db_block_size            = 8192
    undo_management          = AUTO
    db_name                  = ORA10
    PMON started with pid=2, OS id=1331
    PSP0 started with pid=4, OS id=1333
    MMAN started with pid=6, OS id=1335
    DBW0 started with pid=8, OS id=1337
    DBW1 started with pid=3, OS id=1339
    LGWR started with pid=5, OS id=1341
    CKPT started with pid=10, OS id=1343
    SMON started with pid=12, OS id=1345
    RECO started with pid=14, OS id=1347
    MMON started with pid=16, OS id=1349
    MMNL started with pid=18, OS id=1351
    Tue Oct  9 16:45:17 2007
    create database ORA10
    logfile   group 1 ('/u01/ora10gr2/redo1.log') size 10M,
    group 2 ('/u01/ora10gr2/redo2.log') size 10M,
    group 3 ('/u01/ora10gr2/redo3.log') size 10M
    character set          WE8ISO8859P1
    national character set utf8
    datafile '/u01/ora10gr2/system.dbf'
    size 50M
    autoextend on
    next 10M maxsize unlimited
    extent management local
    sysaux datafile '/u01/ora10gr2/sysaux.dbf'
    size 10M
    autoextend on
    next 10M
    maxsize unlimited
    undo tablespace undo
    datafile '/u01/ora10gr2/undo.dbf'
    size 10M
    default temporary tablespace temp
    tempfile '/u01/ora10gr2/temp.dbf'
    size 10M
    Tue Oct  9 16:45:18 2007
    Hex dump of (file 0, block 9) in trace file /u01/ora10gr2/product/10.2.0/Db_2/rdbms/log/ora10_ora_1352.trc
    Corrupt block relative dba: 0x00000009 (file 0, block 9)
    Bad check value found during control file block write
    Please suggest some other troubleshooting steps

  • 10g R2 dbca fails in Solaris 10

    Hi,
    I am facing the following problem in Solaris 10 SPARC 64 bit machine.
    1.     Downloaded Oracle 10g R2 installable from oracle
    2.     Created user oracle and group dba and modified project settings and permissions as per quick installation guide
    3.     Installation of software is successful. But dbca fails with following error message.
    ORA-19624: operation failed, retry possible
    ORA-19870: error reading backup piece /vol1/ora10gr2/product/10.2.0/Db_1/assistants/dbca/templates/Seed_Database.dfb
    ORA-19587: error occurred at reading 0 bytes at block number 1
    ORA-27091: unable to queue I/O
    ORA-27067: size of I/O buffer is invalid
    4.     I also tried creating scripts using dbca and running it manually. It fails with following error message in trace file
    Corrupt block 1 found during reading backup piece, file=/ora10gr2/ora10gr2/product/10.2.0/Db_1/assistants/dbca/templates/Seed_
    Database.dfb, corr_type=3
    5.     Creation of custom database also fails with similar error message
    It is Solaris 10 (Solaris 10 11/06 s10s_u3wos_10 SPARC) machine with patch level 125100-05 . Please help.
    Regards
    Vijoy

    In both cases, there it is shown a block corrupt for database file 1, that means the install media was originally corrupt and the corruption was at the seed database files.
    Check the media consistency to discover if corruption was originally there. In case it was redownload the zip file for solaris and unzip it somewhere else. Look for the seed database files at the ORACLE_HOME/assistants/dbca/templates and replace them.
    When you created by scripts, ensure the option where the scripts only is selected, do not try to create the database by means of the dbca, run scripts from the OS.
    ~ Madrid

  • RenameTo on temporary file fails on Solaris 8

    Hi!
    I have problem using the renameTo method on a temporary file created using the File.createTempFile(filename, null) method call on a Solaris 8 machine. When I try to rename the temporary file, created in the /var/tmp/ directory, I get the false return value from method call.
    The temporary file created has read/write permissions for user, group and all, and it works to use the mv command on the command line to rename the temporary file. But I cannot do it using the renameTo method. The /var/tmp directory has the following rights "drwxrwxrwxt".
    I would really appreciate some help. I have no idea what could be the problem. Below is a test program that shows my problem.
    import java.io.*;
    public class Test {
    public static void main(String[] argv) {
    String str = "Hello World\n";
    try {
    if (argv.length == 1 ||
         argv.length == 2) {
         File saveFile = null;
         File tmpFile = null;
         OutputStreamWriter writer = null;
         saveFile = new File(argv[0]);
         System.out.println("Save file: " + saveFile.getAbsolutePath() + " created.");
         if (argv.length == 2) {
         tmpFile = File.createTempFile(saveFile.getName(), null, new File(argv[1]));
         else {
         tmpFile = File.createTempFile(saveFile.getName(), null);
         System.out.println("Temporary file " + tmpFile.getAbsolutePath() + " created.");
         writer = new OutputStreamWriter(new FileOutputStream(tmpFile));
         writer.write(str, 0, str.length());
         writer.close();
         System.out.println("Sleeping for 5 seconds.");
         Thread.sleep(5000);
         if (tmpFile.renameTo(saveFile)) {
         System.out.println("File renaming success.");
         else {
         System.err.println("File renaming failed.");
    else {
         System.out.println("Usage: java Test <filename> [directory]");
    catch (Exception ex) {
    System.err.println("ERROR: " + ex.getMessage());
    Best regards
    Lars

    You're probably trying to rename the file from one partition to another. This can't be done by a simple rename because the file data has to be copied.
    Try creating your temporary file in the intended destination directory.
    Sylvia.

  • Update of gtksourceview3 fails because solarized-dark.xml exists

    Hi there, I'm trying to upgrade my Arch with GNOME 3.12. When running pacman -Syu I get the following error...
    $ sudo pacman -Syu
    (162/162) checking keys in keyring [######################] 100%
    (162/162) checking package integrity [######################] 100%
    (162/162) loading package files [######################] 100%
    (162/162) checking for file conflicts [######################] 100%
    error: failed to commit transaction (conflicting files)
    gtksourceview3: /usr/share/gtksourceview-3.0/styles/solarized-dark.xml exists in filesystem
    gtksourceview3: /usr/share/gtksourceview-3.0/styles/solarized-light.xml exists in filesystem
    Errors occurred, no packages were upgraded.
    ...is it possible to figure out which package (perhaps from AUR) causes this conflict? Or is gtksourceview3 broken?
    Thanks
    Christoph

    Fixed with the help of https://bbs.archlinux.org/viewtopic.php?id=56373...
    $ pacman -Qo /usr/share/gtksourceview-3.0/styles/solarized-light.xml
    /usr/share/gtksourceview-3.0/styles/solarized-light.xml ist in gedit-solarized-git 20130705-1 enthalten
    showed me that gedit-solarized-git is the culprit, so i got rid of it...
    $ pacaur -R gedit-solarized-git
    @drcouzelis Thanks!

  • Oracle 9i install failing on Solaris 10

    Oracle 9i install on Solaris 10 fails at the Database creation stage with Ora error "Out of Memory"
    I have a Ultra 10 with 1GB RAM, 2GB swap and lot of space in the filesystem where I am installing Oracle
    The oracle release notes asks for increased value for shmmax, shmmni etc by editing /etc/system and according to Solaris 10, it is not required as kernel dynamically allocates those values. It looks like it is NOT. How can I verify?
    rcladm talks about shmmax values only with projects. How can I verify that all my applications running on a this box has a higher SHMMAX values and not on per project basis.
    In older versions, sysdef could tell us the current SHMMAX values. Is there any comparable commands in Solaris 10.
    I am not that comfortable with the rcladm features. Can some one show some examples.
    Is anyone successful in installing Oracle9i on Solaris 10. I heard Oracle patch set 9.2.0.5 and 9.2.0.6 is certified with Solaris 10. Does it mean the original version of 9.2 does not install on Solaris 10?

    'Net Configuration Assistant is failing" from installation. I tried twice and got the same problem. I tried to run 'netca' from the command line and got the same problem - Java runtime problem. I tried to install patch and could not find Oracle patches for Solaris 10 and the patches are for Solaris 9.
    Does anyone have suggestion?
    $ ./netca
    ld.so.1: /usr/ora/920/oracle.swd.jre/bin/sparc/native_threads/jre: fatal: relocation error: file /usr/ora/920/oracle.swd.jre/bin/../lib/sparc/native_threads/libawt.so: symbol XShmQueryExtension: referenced symbol not found (/usr/ora/920/oracle.swd.jre/bin/../lib/sparc/native_threads/libawt.so)
    ld.so.1: /usr/ora/920/oracle.swd.jre/bin/sparc/native_threads/jre: fatal: relocation error: file /usr/ora/920/oracle.swd.jre/bin/../lib/sparc/native_threads/libawt.so: symbol XShmQueryExtension: referenced symbol not found (/usr/ora/920/oracle.swd.jre/bin/../lib/sparc/native_threads/libawt.so)
    java.lang.NullPointerException
    at oracle.ewt.lwAWT.BufferedApplet.<init>(Compiled Code)
    at oracle.net.ca.NetCA.<init>(Compiled Code)
    at oracle.net.ca.NetCA.main(Compiled Code)

  • IDM Demo always reports connection failed for Solaris target

    I'm setting up the IDM Demo, using the Setup Wizard, using a Solaris 10 container as
    the target system. For this demo, I'm using telnet directly as root, which seems to be
    the only method available. This succeeds when I run telnet by hand from the IDM host
    to the target host. When I test the connection from the wizard, after a long delay, it
    always reports that the test connection failed. However, the console log on the target
    system shows a successful login. The Details button says that it was looking for `_.)#+(:',
    regardless of what I specify as the `Login Prompt'. (I assume this really means the shell
    prompt.) I've tried changing the shell prompt by setting PS1 in /.profile and tried suppressing
    the banner by creating a /.hushlogin file. Still, the test button always reports that the
    connection failed. What's wrong here?

    ah, familiar territory :)
    the string _.)#+(: is something that the adapter uses as a suffix to check whether the previous command executed has changed state or not. The assumption being that _.)#+(: will not be encountered as output of any command on Solaris.
    1. Try connecting as root
    2. Whats your IDM version?
    3. Try this: login as root over putty, and paste whatever strings you get into the adapter configuration page on IM (for say, prompt, etc.)
    4. Tracing the following variables can give you better details regarding where its getting stuck:
    com.waveset.adapter.SolarisResourceAdapter
    com.waveset.adapter.SVIDResourceAdapter
    com.waveset.adapter.ScriptedConnection
    Hope this helps!
    Ankush

  • IWS 6.1 SP1 Servlet  fails on Solaris 8 but not on w2k

    Is there some trick to getting the servlets support working on iWS 6.x
    on solaris? I set the sample servlets up in a metter of mintes in an NT
    box and have spent the rest of the day trying to get it working on
    Solaris. I see the following in the error log. It may simply be a
    classpath issue.
    [20/Dec/2001:22:54:28] failure (24943): Internal error: Unexpected error
    condition thrown (java.lang.NoClassDefFoundError:
    sun/tools/javac/Main,sun/tools/javac/Main), stack:
    java.lang.NoClassDefFoundError: sun/tools/javac/Main
         at
    org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:130)
         at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
         at
    org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:193)
         at
    org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$4(JspServlet.java:167)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:477)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at
    com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
         at
    com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1064)
         at
    com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:953)
    I attempted to select JDK support and use the /usr/java JDK (JDK 1.2) as
    well as the /usr/j2se (JDK 1.4-beta). Every time I attempted to set the
    JDK field in the admin server they reverted back to <DISABLED>, and the
    java servlet support within the admin server was thereafter fubar.
    I would really apprecieate any help on this.
    Steven

    Hi,
    I suppose U've not set the class path variable in the users profile it has to be set in the .profile if Ur using born shell or .login for c shell.
    B'coz that's what Ur error message suggests "(java.lang.NoClassDefFoundError:"
    Check Ur class path variable in the users profile from the account Ur trying to execute the java program.
    example path for born shell "PATH=/usr/j2se/1.3/bin:$PATH"

Maybe you are looking for