Windows classpath vs java.class.path error in QuickTime based applet

Hello
I've spent days reading and searching the internet, and I'm still stumped why some Windows installations are not able to run my QuickTime for Java based applet even though QuickTime is installed (the specific error is: java.lang.NoClassDefFoundError: quicktime/QTException). I have some additional details and a question that might spur someone to an insightful nudge.
On a Windows system that fails:
echo %classpath%
.;C:\Program Files\QuickTime\QTSystem\QTJava.zipWhich is where QTJava.zip is found on the (faulty?) system, but java.class.path is just:
java.class.path = C:\PROGRA~1\Java\jre6\classes
Of the dumped system properties, only java.library.path makes any mention of the QTSystem folder (or any other QT or QuickTime related items).
java.library.path = C:\Program Files\Safari;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\PROGRA~1\Java\jre6\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\QuickTime\QTSystem\
I ran across one thread (elsewhere) where the user was having problems with loading some classes from a complex JAR environment, and a solution was to write a custom class loader. After doing so, the user got the same error "java.lang.NoClassDefFoundError: quicktime/QTException" that was resolved by extending the custom class loader to include .zip files. I'm not sure if the solution is relevant, or if he simply broke something in his custom class loader that would have worked otherwise. I've not written a custom class loader and not sure where to begin, so before I ventured down that path I was hoping someone might shed some light as to if this is a dead end or potential solution. This is a signed applet (QuickTime now requires it, even if you are only playing files of the same server) and it does work on several Windows machines and all tested Macs.
Thank you,
Deron
output to Java Console with level 5 tracing enabled
basic: Joining applet thread ...
basic: Joined applet thread ...
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@750159, refcount=2
basic: Finding information ...
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@750159, refcount=1
basic: Done ...
basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@3a9bba
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: completed perf rollup
network: Cache entry not found [url: http://www.equushd.com/quicktime/QTException.class, version: null]
network: Connecting http://www.equushd.com/quicktime/QTException.class with proxy=DIRECT
network: Connecting socket://www.equushd.com:80 with proxy=DIRECT
java.lang.NoClassDefFoundError: quicktime/QTException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: quicktime.QTException
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 10 more
basic: Exception: java.lang.NoClassDefFoundError: quicktime/QTException
Ignored exception: java.lang.NoClassDefFoundError: quicktime/QTException

Something is wrong with the library.
Staring at java code will not help you figure that out.
Maybe it isn't intended to be loaded in java but instead it loads java itself?
If not then write a C/C++ basic app that links that dll in and see if you can at least get it to start.

Similar Messages

  • ORA-105100 Import Java Class (Not a class path error)

    i have a problem while using java imported class
    java class
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    public class externalCall{
    public static String Run(String One, String Two){
    String commandOutput = null;
    commandOutput = concat(One,Two);
    return commandOutput;
    public static String concat(String One, String Two){
    return One+Two;
    the problem is that when using externalCall.run from oracle forms it is generating
    error ORA-105100 err.
    This is not a class path error as we are able to access concat function of java
    class using Import Java Class.
    Any Clues?...
    Best Regards
    Ashish

    ORA-105101 when using Java Importer

  • Class path Error urgent Plz

    Hi Guys,
    I was trying to write an WD application to check connector connectivity in EP, I have included these jar files in class path "com.sap.portal.ivs.connectorservice_api.jar" and "GenericConnector.jar".
    The codes are like
    IConnection connection = null;
    IConnectorService cs = (IConnectorService) PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
    IConnectorGatewayService cgs = cs.getIConnectorGatewayService();
    connection = cgs.getconnection(Alias,request)
    but as soon as I write this last line getconnection() I get error which is "Compilation unit indirectly references the missing type com.sap.portal.services.api.connectorgateway.IConnectorGatewayService(typically some required class file is referencing a type outside the class path)"
    and this given below error comes when I build the project.
    "The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.portal.services.api.connectorgateway.IConnectorGatewayService. Fix the classpath then try rebuilding this project."
    can any one please tell me how can I fix this problem.
    Thanks in advance
    Best Regards
    Yasir Noman
    Message was edited by: Yasir Noman

    Hi,
    I am facing the problem of class path errors.
    my error is :
    *Error:   Missing required library: 'C:Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.security2.0.0/lib/com.sap.security.api.jar'.*_
    And when I checkd on the program file \ lib folder there is .jar file.
    And the second error is
    Error:  The project was not built due to classpath errors (incomplete or involved in cycle).
    I tried to rebuild it and also repair it with project structure and classpath. so that it can find the missing libraries.
    I checked it out in the properties of the project in Java Build path it is showing an error of  build path entry is missing
    Please can anyone help on this error.
    I am stuck on this error for past a long time.
    Please Reply asap.

  • How to set classpath from java class ??

    I have tried to use System.setProperty("java.class.path", "my class path string ") to set classpath dynamically. But it is not working. How to set it dynamically from java class ?? Thanks , gary

    Look into the java.net.URLClassLoader. You can't set the classpath after the fact but you can specify URL's that will checked when you try to load a class with that loader.

  • Class path error in connection to jdbc system

    Dear all,
    I m trying to create a jdbc conection to access the a system "jdbc" in the portal database.I have included four jar files namely
    Generic connector.jar
    Helper.jar
    Extended connector.jar
    com.sap.portal.ivs.connectionserviceapi.jar
    bt still i m getting a class path error.the error says
    "The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.portal.services.api.connectorgateway.IConnectorGatewayService."
    Can anyone help me resolve this error.
    Regards
    Shaila

    Hi Shila,
    Actually Portal runs on Web Application server.The server does not know any details about R/3 system which you want to connect. for that first you have to configur Your J2ee Engine And than Proceed.
    for configuring J2ee Engine see ths notes.
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/93/8aea385252494d9b1eb92e0b7f1bad/content.htm">Notes</a>
    and go through thease links it will be full to you...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424
    http://help.sap.com/saphelp_nw04s/helpdata/en/5e/4d48b62fe54c23a8dbef364a289d8f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/93/8aea385252494d9b1eb92e0b7f1bad/frameset.htm
    Reward Points if Helpfull.
    Regards
    Vinit

  • System.setProperty("java.class.path", cp)

    hello,
    I have written a little program that is supposed to set the CLASSPATH var in a instance of
    bash ... not set it permantly. Anyway, after running the program when i run,
    echo $CLASSPATH
    none of the changes i make with the program are there.... why is this?
    thanks,
    jd
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import layout.TableLayout;
    import com.incors.plaf.kunststoff.KunststoffLookAndFeel;
    public class JPathGui extends JFrame{
         JButton cpSubmit;
         JButton cpClear;
         JButton qaSubmit;
         JButton qaClear;
         JTextField cptf;
         JTextField qatf;
         public JPathGui(){
              super("JPATH ver .001");
              try {
                        UIManager.setLookAndFeel(new KunststoffLookAndFeel());
                 } catch (Exception ignored) {}
              addWindowListener(new WindowAdapter()
                     public void windowClosing(WindowEvent e){
                    System.exit(0);
              JPanel mainPanel = new JPanel();
              mainPanel.setPreferredSize(new java.awt.Dimension(800,230));
              double[][] size = {{10,780,10},{20,30,5,30,10,20,30,5,30}};
            TableLayout layout = new TableLayout(size);
            mainPanel.setLayout(layout);
              myGetClassPath(mainPanel);
              myQuickAdd(mainPanel);          
              getContentPane().add(mainPanel);
              pack();
            setSize(820,230);
            setVisible(true);
         public void myGetClassPath(JPanel mainPanel){
              JLabel cpl = new JLabel("ClassPath");
              JPath jp = new JPath();     
              cptf = new JTextField(jp.getClassPath());
              cptf.setFont( new Font("Monospaced", Font.PLAIN, 10) );
              cptf.setPreferredSize(new java.awt.Dimension(780,50));
              mainPanel.add(cpl, "1,0");
              mainPanel.add(cptf, "1,1");
              JPanel cpActionPanel = new JPanel();
              cpActionPanel.setPreferredSize(new java.awt.Dimension(780,50));
              double[][] size1 = {{570,100,100,30},{30}};
            TableLayout layout1 = new TableLayout(size1);
            cpActionPanel.setLayout(layout1);
              cpSubmit = new JButton("Submit");
              cpClear = new JButton("Clear");
              cpSubmit.setSize(40,20);
              cpClear.setSize(40,20);
              cpSubmit.addMouseListener(new command_listner());
              cpClear.addMouseListener(new command_listner());
              cpActionPanel.add(cpSubmit , "1,0");
              cpActionPanel.add(cpClear, "2,0");
              mainPanel.add(cpActionPanel, "1,3");
         public void updateCPTF(){
              JPath jp = new JPath();     
              cptf.setText(jp.getClassPath());
         public void myQuickAdd(JPanel mainPanel){
              JLabel qal = new JLabel("QuickAdd");
              qatf = new JTextField();
              qatf.setFont( new Font("Monospaced", Font.PLAIN, 10) );
              qatf.setPreferredSize(new java.awt.Dimension(780,50));
              mainPanel.add(qal, "1,5");
              mainPanel.add(qatf, "1,6");
              JPanel qaActionPanel = new JPanel();
              qaActionPanel.setPreferredSize(new java.awt.Dimension(780,50));
              double[][] size2 = {{570,100,100,30},{30}};
            TableLayout layout2 = new TableLayout(size2);
            qaActionPanel.setLayout(layout2);
              qaSubmit = new JButton("Submit");
              qaClear = new JButton("Clear");
              qaSubmit.setSize(40,20);
              qaClear.setSize(40,20);
              qaSubmit.addMouseListener(new command_listner());
              qaClear.addMouseListener(new command_listner());
              qaActionPanel.add(qaSubmit , "1,0");
              qaActionPanel.add(qaClear, "2,0");
              mainPanel.add(qaActionPanel, "1,8");
         public class command_listner extends MouseAdapter{
                 public void mouseClicked(java.awt.event.MouseEvent evt){
                       Object source = evt.getSource();
                   //cpSubmit
                   if(source == cpSubmit){
                        JPath jp = new JPath();
                        String newCP = cptf.getText();
                        boolean b = false;
                        String olcp = jp.setClassPath(newCP,b);
                        updateCPTF();
                   //cpClear
                   else if(source == cpClear){
                        updateCPTF();
                   //qaSubmit
                   else if(source == qaSubmit){
                        JPath jp = new JPath();
                        String newCP = qatf.getText();
                        boolean b = true;
                        String olcp = jp.setClassPath(newCP,b);
                        qatf.setText(null);
                        updateCPTF();
                   //qaClear
                   else if(source == qaClear){
                        qatf.setText(null);
         public class JPath {
              public String getClassPath(){
                   String cp = System.getProperty("java.class.path");
                   return cp;
              public String getPathSep(){
                   String ps = System.getProperty("path.separator");
                   return ps;
              public String getUserName(){
                   String un = System.getProperty("user.name");
                   return un;
              public String getUserHome(){
                   String uh = System.getProperty("user.home");
                   return uh;
              public String getOSName(){
                   String osn = System.getProperty("os.name");
                   return osn;
              public String getOSVersion(){
                   String osv = System.getProperty("os.version");
                   return osv;
              public String setClassPath(String newClassPath, boolean append){
                   String oldClassPath = null;
                   if(append){
                        String cp = getClassPath() + getPathSep() + newClassPath;
                        System.out.println("from setClassPath" + cp);
                        oldClassPath = System.setProperty("java.class.path", cp);
                   else{
                        System.out.println("else - " + newClassPath);
                        oldClassPath = System.setProperty("java.class.path", newClassPath);
                   return oldClassPath;          
         public static void main(String[] args){
              JPathGui jpg = new JPathGui();
    }     

    Two reasons:
    1) Setting the system property java.class.path does not change the value of the CLASSPATH environment variable in the first place.
    2) Even if it did, the change would not be visible in the original shell because the environment of the Java subprocess is destroyed. You can't change the environment of the parent process from any subprocess, including shell scripts. (That's why you have to "source" and not run .bashrc or .profile to customize environment settings)

  • "no ocijdbc11 in java.library.path" error when connecting a TNS database co

    Hi
    "no ocijdbc11 in java.library.path" error when connecting a TNS database connection
    I have the same problem 'error code' when testing the connection to a database although I have an APEX db that connects without a problem.
    I have re downloaded jre & SQL Developer just to ensure all files are where they should be with no luck.
    I've also tried most of the suggestions in various threads.
    Does anyone know what exactly causes this error?
    eg; should I be looking for a file called 'ocijdbc11' & put it into the 'java.library.path' path?
    Can anyone explain to a newbie at db connections what I should do?
    I'm using the 'thin' client as the checkbox is clear & I don't know what path to enter into the correct file to make this work??
    This is & needs to connect as a TNS connection & was working fine until recently, the only change I can think of is a move of files from the 'C' drive but I thought redownloading SQL Developer would slove this.
    Thanks

    When you reinstalled SQL Developer, did you install into a new directory (ie rename or delete the old directory first)?
    I don't know if system setup contains directory references (which might be invalid after moving the location of SQL Developer). Does renaming your system2.1.1.64.45 directory (in C:\Documents and Settings\username\Application Data\SQL Developer) help? Note that your connections are in the connections.xml file in the o.jdeveloper.db.connection.11.1.1.2.36.55.30 subdirectory of system2.1.1.64.45 - you will either need to export connections before renaming and then import again after or copy this file to test if you can connect.
    Finally, the TNS Names directory preference is just a way of telling SQL Developer where to look for the tnsnames.ora file, rather than just assuming it will pick the right one. If you go to create a new connection, do you get the right list of TNS aliases? If not, then set this preference to the directory where the right tnsnames.ora file lives.
    theFurryOne

  • No muxer in java.library.path error

    I get this when I try to run server6.0 on win98. can someone help me understand what is wrong?
    Thanks!
    <Nov 17, 2001 4:17:16 PM CST> <Error> <Performance Pack> <Unable to load perform
    ance pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: no muxer in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:90)
    at java.lang.Class.newInstance0(Native Method)

    Ramesh & Kumar,
    I got the same error when I tried to run WL Server 6.1
    on my Windows 98. Here is the complete trace. Is this
    error something that can be ignored because it sounds
    like it is something just for performance.
    <Nov 21, 2001 1:57:21 PM EST> <Error> <Performance Pack> <Unable to load perform
    ance pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: no muxer in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:90)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:128)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:83)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:232)
    >
    <Nov 21, 2001 1:57:22 PM EST> <Notice> <WebLogicServer> <Started WebLogic Admin
    Server "petstoreServer" for domain "petstore" running in Production Mode>
    Looks like the petstore application is working...inspite of the
    above error message.
    Thanks,
    Balaji.
    Kumar Allamraju <[email protected]> wrote:
    It appears the following stack trace is incomplete.
    I can't believe the stack trace is originated from PosixSocketMuxer.
    posix is only for unix platform.
    In anycase before loading a performance pack we check the OS and
    based on that we will load the appropriate dll/shared library.
    AFAIK, performance pack is not certified on 98.
    That's why it's failing.
    Kumar
    Ramesh wrote:
    I get this when I try to run server6.0 on win98. can someone helpme understand what is wrong?
    Thanks!
    <Nov 17, 2001 4:17:16 PM CST> <Error> <Performance Pack> <Unable toload perform
    ance pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: no muxer in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:90)
    at java.lang.Class.newInstance0(Native Method)

  • Java Build Path Errors in WD with NWDI

    Hi,
    i'm connected to a NWDI and imported a development configuration with a SC from there.
    When I create a new DC (type: Web Dynpro) within this SC, I receive a lot of errors that classes could not be resolved.
    In the projects properties, I can see that the Java Build Path has "JRE_LIB" added only. In local WD-projects (without any NWDI) there are a lot more Libraries added.
    I guess, this is the problem.
    Now the question is: How can I convince my project to use more libraries in its Build Path?
    in the used SC I've added initially the following dependencies according to a tutorial:
    DI BUILD TOOL 7.00
    SAP J2EE ENGINE 7.00
    SAP JAVA TECH SERVICES 7.00
    then, after receiving theses errors, I've added additionally (I guessed them):
    WEB DYNPRO APPLICATIONS 7.00
    WEB DYNPRO RUNTIME 7.00
    still the same...
    additional information: after cretaing the DC, I also receive the following warning/error:
    <i>Development Component Creation completed with some problems.
    Reason:
    Some used DCs are not available locally.
    You have to sync used DCs for this project.</i>
    kr, achim

    after copy&paste the missing entries from a .classpath-file of a local project to my NWDI-based projects .classpath file, the build errors are gone.
    but how to do that automatically?
    and still errors occur in the develop-config perspective:
    <i>ERROR: failed to resolve reference "sap.com/tc/..." for DC "....":Cannot find compartment of used component: sap.com:tc/wdp/metamodel/content</i>
    kr, achim

  • Weird java library path error

    I have the so file in the path and the file name is spelled correctly. Java still complains that the so file is not in the java.library.path. I used System.loadLibrary("Java_xDVDFSReader"). Is it possible that my so file is messed up? I included the gcc command I used to make it. I'm not familar w/ gcc so I'm not sure if the error comes from a "messed up" so file or not. Any suggestions? TIA
    [ttran@localhost Java-Library-Path]$ java FindJavaLibraryPath
    Library path: /usr/java/j2sdk1.4.2_02/jre/lib/i386/client:/usr/java/j2sdk1.4.2_02/jre/lib/i386:/usr/java/j2sdk1.4.2_02/jre/../lib/i386:/home/ttran/projects/Java_xDVDFSReader/final/
    [ttran@localhost Java-Library-Path]$ cd ../Java_xDVDFSReader/final/
    [ttran@localhost final]$ ls
    C-Lib Java_xDVDFSReader.so xDVDFSReader.class xDVDFSReader.java xDVDFSReader.java~
    [ttran@localhost final]$ pwd
    /home/ttran/projects/Java_xDVDFSReader/final
    [ttran@localhost final]$ java xDVDFSReader
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no Java_xDVDFSReader.so in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:834)
    at xDVDFSReader.<clinit>(xDVDFSReader.java:15)
    [ttran@localhost final]$ cd C-Lib/
    [ttran@localhost C-Lib]$ make
    gcc -o ../Java_xDVDFSReader.so -shared -Wl,-soname,Java_xDVDFSReader.so -I/usr/java/j2sdk1.4.2_02/include -I/usr/java/j2sdk1.4.2_02/include/linux Java_xDVDFSReader.c -static -lc

    This thread contains the answer:
    http://forum.java.sun.com/thread.jsp?thread=298006&forum=54&message=1178476
    It's stupid to have to put "lib" infront of a so file. Whose fault is it? UNIX or Java ;)

  • Class path Error

    Hi Guys,
    I was trying to write codes to check connector connectivity, I have included these jar files in class path "com.sap.portal.ivs.connectorservice_api.jar" and "GenericConnector.jar".
    The codes are like
    IConnection connection = null;
         IConnectorService cs = (IConnectorService) PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
         IConnectorGatewayService cgs = cs.getIConnectorGatewayService();
    connection = cgs.getconnection(Alias,request)
    but as soon as I write this last line getconnection() I get error which is "Compilation unit indirectly references the missing type com.sap.portal.services.api.connectorgateway.IConnectorGatewayService(typically some required class file is referencing a type outside the class path)"
    and this given below error comes when I build the project.
    "The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.portal.services.api.connectorgateway.IConnectorGatewayService. Fix the classpath then try rebuilding this project."
    can any one please tell me how can I fix this problem.
    Thanks in advance
    Best Regards
    Yasir Noman

    Hi,
    If you are using a portal service, may you forgot to do the following->
    Right click on your application -> properties  -> Web Dynpro references -> sharing references - > add PORTAL:sap.com/<your service>
    Regards
    yoel

  • How can I set Java class path right?

    After I downloaded Java Developer for 10.6 (10M3239a) (Disk Image) 139.4 MB,
    when I opened eclipse it showed 2 errors
    The project cannot be built until path errors are resolved
    Unbound classpath container: 'JRE System Library [Java-1.7]'
    how can i resolve this problem.
    can someone please help me, i am really new to these stuffs.

    I have the exact same problem. I'll try to find out but if someone could help us it would be grate.
    In my error message it says:
    The project cannot be built until path errors are resolved
    Unbound classpath container: 'JRE System Library [JavaSE-1.6]

  • Java Class path for Oracle package compilation

    Hello
    I am trying to send mail with file attachment, this part is
    done by java program, it is compiled & working fine.
    I am trying to compile the same java program at SQL prompt so
    that I can build a package to execute that Java program from
    Oracle. As java prog requires other class files
    (javax.mail.*,javax.mail.internet.*,javax.activation.*) to be
    include , those class path is set at their respective location
    of OS.
    Other Java programs are compiling fine from SQL but for this
    mail prog, it is giving error as it is not finding the location
    of the include files.
    Can anyone tell me from which class path does Oracle 8i compiles
    Java program ? any additional information reqdng this issue ?
    thanks

    Hello Suresh Vemulapalli
    Thanks for replay & suggestion, I compiled using loadjava on
    OS & it is working fine
    regards
    Prakash K.B.

  • Diff between CLASSPATH and weblogic.class.path in t3config

    Hi,
              My servlets which would run happily in WLS4.0.2 on NT do not run anymore
              in WLS4.5.
              In order to help me troubleshoot this problem will someone please
              explain me the difference between the path mentioned against
              weblogic.class.path in the output of t3config
              and the path mentioned against CLASSPATH in the same output.
              When I type t3config I get the following. What is the diff between the
              lines marked ---->>>>
              WebLogic startup settings are presently:
              CLASSPATH Prefix=
              .;C:\wip\java\ejb\classes;d:\weblogic\jre1_1\lib\classes.zip;d:\weblogic\jre1_1\lib\rt.jar;d:\weblogic\classes\boot;d:\Weblogic\evel\cloudscape\lib\cloudscape.jar
              ------->>>>>CLASSPATH=
              ".;C:\wip\java\ejb\classes;d:\weblogic\jre1_1\lib\classes.zip;d:\weblogic\jre1_1\lib\rt.jar;d:\weblogic\classes\boot;d:\Weblogic\evel\cloudscape\lib\cloudscape.jar;d:\Weblogic\jre1_1\lib\classes.zip;d:\Weblogic\jre1_1\lib\rt.jar;d:\Weblogic\license;d:\Weblogic\classes;d:\Weblogic\lib\weblogicaux.jar;d:\Weblogic\eval\cloudscape\lib\cloudscape.jar"
              JAVA_HOME= "d:\Weblogic\jre1_1"
              WEBLOGIC_HOME="d:\Weblogic"
              system properties:
              weblogic.system.home=d:\Weblogic
              java.compiler=symcjit
              ------->>>
              weblogic.class.path=d:\Weblogic\license;d:\Weblogic\classes;d:\Weblogic\lib\weblogicaux.jar
              INITIAL_HEAP= 32 MB
              MAX_HEAP= 32 MB
              SERVERCLASSPATH=
              ".;C:\wip\java\ejb\classes;d:\weblogic\jre1_1\lib\classes.zip;d:\weblogic\jre1_1\lib\rt.jar;d:\weblogic\classes\boot;d:\Weblogic\evel\cloudscape\lib\cloudscape.jar;d:\Weblogic\jre1_1\lib\classes.zip;d:\Weblogic\jre1_1\lib\rt.jar;d:\Weblogic\classes\boot;d:\Weblogic\eval\cloudscape\lib\cloudscape.jar"
              

    Pankaj,
              It all depends on whether you want to do reload on modify feature or not. If you don't need reload on modify they you can have servlets in weblogic.class.path.
              Two things to remember if you can't invoke servlets.
              1. Do you have the servlet registered.
              2. If not, do you have ServletServlet property uncommented. If this property is not commented out then you have to give the complete path to make servlets work.
              Good luck,
              Prasad
              Pankaj Tandon wrote:
              > Hi,
              > My servlets which would run happily in WLS4.0.2 on NT do not run anymore
              > in WLS4.5.
              > In order to help me troubleshoot this problem will someone please
              > explain me the difference between the path mentioned against
              > weblogic.class.path in the output of t3config
              > and the path mentioned against CLASSPATH in the same output.
              >
              > When I type t3config I get the following. What is the diff between the
              > lines marked ---->>>>
              > WebLogic startup settings are presently:
              >
              > CLASSPATH Prefix=
              > .;C:\wip\java\ejb\classes;d:\weblogic\jre1_1\lib\classes.zip;d:\weblogic\jre1_1\lib\rt.jar;d:\weblogic\classes\boot;d:\Weblogic\evel\cloudscape\lib\cloudscape.jar
              >
              > ------->>>>>CLASSPATH=
              > ".;C:\wip\java\ejb\classes;d:\weblogic\jre1_1\lib\classes.zip;d:\weblogic\jre1_1\lib\rt.jar;d:\weblogic\classes\boot;d:\Weblogic\evel\cloudscape\lib\cloudscape.jar;d:\Weblogic\jre1_1\lib\classes.zip;d:\Weblogic\jre1_1\lib\rt.jar;d:\Weblogic\license;d:\Weblogic\classes;d:\Weblogic\lib\weblogicaux.jar;d:\Weblogic\eval\cloudscape\lib\cloudscape.jar"
              >
              > JAVA_HOME= "d:\Weblogic\jre1_1"
              > WEBLOGIC_HOME="d:\Weblogic"
              > system properties:
              > weblogic.system.home=d:\Weblogic
              > java.compiler=symcjit
              >
              > ------->>>
              > weblogic.class.path=d:\Weblogic\license;d:\Weblogic\classes;d:\Weblogic\lib\weblogicaux.jar
              >
              > INITIAL_HEAP= 32 MB
              > MAX_HEAP= 32 MB
              > SERVERCLASSPATH=
              > ".;C:\wip\java\ejb\classes;d:\weblogic\jre1_1\lib\classes.zip;d:\weblogic\jre1_1\lib\rt.jar;d:\weblogic\classes\boot;d:\Weblogic\evel\cloudscape\lib\cloudscape.jar;d:\Weblogic\jre1_1\lib\classes.zip;d:\Weblogic\jre1_1\lib\rt.jar;d:\Weblogic\classes\boot;d:\Weblogic\eval\cloudscape\lib\cloudscape.jar"
              

  • Executing one system command from one java class. ERROR. Please help me

    Hello i am trying to add users into one linux machine using one jaav program but when i execute the java class the system doesn't show me any error and dont make anything.
    The linux command, in the main of the class, is correct; from thelinux shell it runs well, but from the java class it doesn't run.
    Can you help me please?
    thanks
    import java.io.*;
    public class ejecutaUsuario {
    /** Creates a new instance of ejecutaUsuario */
    public ejecutaUsuario(String cmdline) {
    try {
    String line;
    Process p = Runtime.getRuntime().exec(cmdline);
    BufferedReader input =
    new BufferedReader
    (new InputStreamReader(p.getInputStream()));
    while ((line = input.readLine()) != null) {
    System.out.println(line);
    input.close();
    catch (Exception err) {
    err.printStackTrace();
    System.out.println(err);
    public static void main(String argv[]) {
    String passwd="hola";
    String usuarioInterno="xxxxxx";
    new ejecutaUsuario("/bin/sh useradd -p `openssl passwd -1 -salt 12345678 " + passwd + "` -d /home/" + usuarioInterno + " -m -s /bin/bash " + usuarioInterno);

    Try gettting the error input stream as well (getErrorStream()). Maybe you are getting output there.
    You might want to try just executing the 'useradd' part, getting the output stream of that process, and then put the parameters of useradd into the outputstream.
    Later
    Cardwell

Maybe you are looking for