ACME Video demo:JWS setup:Can't find classes

*** ACME Video demo ***
*** using: JDeveloper 3.0 (build 532) and JWS 2.0 ***
I am having great troubles simply getting JWS (v2.0) to acknowlege existence of my WebAppServlet (ie, ACME Video demo). I have been able to use the demo from within JDeveloper's own runtime environment, but then members can't log in to the demo database. So I am trying to use JWS to see if I can get the ACME Video demo working from a real web server, but I keep getting the infamous 404: File not found error when trying to access it from a browser at http://mycomputer:8080/acmevideo.html.
So to simplify the test I am now just trying to hit the LOAD button from within the JWS configuration manager, but when I try to hit the LOAD button in the JWS servlets tab I consistently get the folowing error:
Problem Updating Servlet
Cannot update servlet WebAppServlet:
Cannot find class for servlet WebAppServlet:
Could not load class acmevideo.servlet.WebAppServlet.
So here I am . . . if there is any guidance out there it would be greatly appreciated.
1) Is it true that I only have to put my WebAppServlet.jar file, along with the libraries listed at the bottom of this message in my e:\acmedir that I set my classpath to before starting JWS?
2) Why can't I just set the classpath to "e:\acme". Why must I set it to specify each individual archive in the folder when they are all in the same folder?
3) Does anyone know the logic behind the "acmevideo.servlet.WebAppServlet" naming scheme that is used to define the servlet in the JWS configuration? How does that define WebAppServlet? I have no folders named "acmevideo.servlet", my jar is named WebAppServlet, so I would suspect that I should define it as simply "WebAppServlet" since I have set my classpath to the folder that it exists in. Maybe this has something to do with why JWS can't find it, so can't load it?
4) How can I check inside the WebAppServlet.jar archive file to make sure that it really contains the class files that should be in there? Maybe I have the wrong jar file? I'm looking at all possibilities at this time.
4) Boy have I ever spent a lot of time simply trying to view this demo. . . . . I'll bake a pie for anyone who can get this thing working. I may not actually send the pie to you, but I'll bake it in your honor and tell you how good it was.
1) Here's my batch file (largely a copy of William Wise's batch file):
set cstdir=e:\acme
set JDK_HOME=
set JAVA_HOME=
set classpath=
set path=
set classpath=%CSTDIR%;%CSTDIR%\aurora_client.jar;%CSTDIR%\javax_ejb.zip;%CSTDIR%\jndi.jar;%CSTDIR%\vbjorb.jar;%CSTDIR%\vbjapp.jar;%CSTDIR%\vbjtools.jar;%CSTDIR%\vbj30ssl.jar;%CSTDIR%\ classes11 1.zip;%CSTDIR%\jdev-rt.zip;%CSTDIR%\WebAppServlet.jar
e:\javawebserver2.0\bin\httpd -verbose
2) Here's the contents of my e:\acme folder:
aurora_client.jar
classes111.zip
javax_ejb.zip
jdev-rt.zip
jndi.jar
servlet.jar
vbj30ssl.jar
vbjapp.jar
vbjorb.jar
vbjtools.jar
WebAppServlet.jar (this should be ACME Video archive, I guess)
3) My WebAppServlet's Servlet Class is defined in the JWS:Servlets:Configuration as:
acmevideo.servlet.WebAppServlet
4) My servlet alias in the JWS:Setup:Servlet Aliases is:
Alias: /acmevideo.html
Servlet Invoked: WebAppServlet
null

*** ACME Video demo ***
*** using: JDeveloper 3.0 (build 532) and JWS 2.0 ***
I am having great troubles simply getting JWS (v2.0) to acknowlege existence of my WebAppServlet (ie, ACME Video demo). I have been able to use the demo from within JDeveloper's own runtime environment, but then members can't log in to the demo database. So I am trying to use JWS to see if I can get the ACME Video demo working from a real web server, but I keep getting the infamous 404: File not found error when trying to access it from a browser at http://mycomputer:8080/acmevideo.html.
So to simplify the test I am now just trying to hit the LOAD button from within the JWS configuration manager, but when I try to hit the LOAD button in the JWS servlets tab I consistently get the folowing error:
Problem Updating Servlet
Cannot update servlet WebAppServlet:
Cannot find class for servlet WebAppServlet:
Could not load class acmevideo.servlet.WebAppServlet.
So here I am . . . if there is any guidance out there it would be greatly appreciated.
1) Is it true that I only have to put my WebAppServlet.jar file, along with the libraries listed at the bottom of this message in my e:\acmedir that I set my classpath to before starting JWS?
2) Why can't I just set the classpath to "e:\acme". Why must I set it to specify each individual archive in the folder when they are all in the same folder?
3) Does anyone know the logic behind the "acmevideo.servlet.WebAppServlet" naming scheme that is used to define the servlet in the JWS configuration? How does that define WebAppServlet? I have no folders named "acmevideo.servlet", my jar is named WebAppServlet, so I would suspect that I should define it as simply "WebAppServlet" since I have set my classpath to the folder that it exists in. Maybe this has something to do with why JWS can't find it, so can't load it?
4) How can I check inside the WebAppServlet.jar archive file to make sure that it really contains the class files that should be in there? Maybe I have the wrong jar file? I'm looking at all possibilities at this time.
4) Boy have I ever spent a lot of time simply trying to view this demo. . . . . I'll bake a pie for anyone who can get this thing working. I may not actually send the pie to you, but I'll bake it in your honor and tell you how good it was.
1) Here's my batch file (largely a copy of William Wise's batch file):
set cstdir=e:\acme
set JDK_HOME=
set JAVA_HOME=
set classpath=
set path=
set classpath=%CSTDIR%;%CSTDIR%\aurora_client.jar;%CSTDIR%\javax_ejb.zip;%CSTDIR%\jndi.jar;%CSTDIR%\vbjorb.jar;%CSTDIR%\vbjapp.jar;%CSTDIR%\vbjtools.jar;%CSTDIR%\vbj30ssl.jar;%CSTDIR%\ classes11 1.zip;%CSTDIR%\jdev-rt.zip;%CSTDIR%\WebAppServlet.jar
e:\javawebserver2.0\bin\httpd -verbose
2) Here's the contents of my e:\acme folder:
aurora_client.jar
classes111.zip
javax_ejb.zip
jdev-rt.zip
jndi.jar
servlet.jar
vbj30ssl.jar
vbjapp.jar
vbjorb.jar
vbjtools.jar
WebAppServlet.jar (this should be ACME Video archive, I guess)
3) My WebAppServlet's Servlet Class is defined in the JWS:Servlets:Configuration as:
acmevideo.servlet.WebAppServlet
4) My servlet alias in the JWS:Setup:Servlet Aliases is:
Alias: /acmevideo.html
Servlet Invoked: WebAppServlet
null

Similar Messages

  • ACME Video demo: Members can't log on

    Using: JDeveloper 3.0 (build 532)
    Tesing the ACME Video demo in JDeveloper's own environment (ie, without a separate web server), no member can sign in to the ACME video store web interface.
    scott/tiger member/password doesn't work...
    I proceeded to create a new ACME video member and to my surprise, I even received an e-mail welcoming me as a new ACME video member (very nice touch for the demo), but still when at the welcome screen for the ACME video store, I could not log in as a member with the new userid/password.
    Just for interest sake, I tried to create another new user with the same member name and login as my first member that I created and as expected, it told me that that user existed. So, it is obviously referencing the database for verification that the member already exists, but member login just doesn't work for some reason.
    When trying to login into the ACME video database member login screen, the error I get is the usual "invalid login" that you get when you enter an invalid password or userid.
    I even tried entering the member# (eg, 2250 for scott/tiger) in case the interface was expecting the member# rather than the name, but no luck there.
    I logged into the ACME Oracle database directly in SQL, and verified userid/password for all the members in the ACME_MEMBERS table, but none of the logins work.
    Any ideas to what the problem is? I have yet
    to track down the code where the password is being verified so that maybe I can see exactly why the login is failing, but I have not had any luck tracking it down as of yet. . . but I'll keep looking.
    I'd really like to see this thing work to understand more about JDeveloper and it's features.

    hi mason mason,
    iChat 3 has a feature that blocks multiple logins form the same screen name. this effects different apps on the same computer and trhe same name on different computers.
    It also has a check box in iChat > Preferences > Accounts that can be set to over-ride this. (select the screen name on the left and then the Information tab)
    9:21 PM Saturday; November 25, 2006

  • Lync 2013 "Setup can't find or validate an installation file...."

    Enterprise client installation.
    We're running Windows 7 32bit SP2, Office 2010 32bit SP2.
    Attempting to run the install for Lync 2013 (32-bit) on a test system and get the following warning immediately:
    "Setup can't find or validate an installation file.  Please try installing Office from your installation source, or if you installed from a downloaded package, please re-download and re-install....."
    The source Lync 2013 file is direct from MVLS.
    Any reason why this install from MVLS refuses to run from the source?  Obviously, Lync 2013 wasn't included with Office 2010, so re-installing Office won't resolve this issue.
    Any help is appreciated.

    Hi,
    It may also cause by the issue of the conflict with other software, please use clean boot to test the issue. In this mode install Lync 2013 file again.
    You can refer to the link of “How to perform a clean boot in Windows”:
    http://support.microsoft.com/kb/929135
    If the issue persists, please also try to download Lync 2013 file and install again.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • HT3775 I get the following message when trying to open an .avi downloaded from my video cam, need help, can not find the codec, thank you.The document "IMAG0026.AVI" could not be opened. A required codec isn't available.

    I get the following message when trying to open an .avi downloaded from my video cam, need help, can not find the codec, thank you. This is for Quicktime Player.
    "The document “IMAG0026.AVI” could not be opened. A required codec isn't available."

    Try Perian.
    http://perian.org/

  • MS Project Install: 'Setup can not find PrjPror.WW\PrjPrrWW.cab"

    Hi, I am trying to install MS project 2013 trial, but everytime I try to install it it gives this error:
    'Setup can not find PrjPror.WW\PrjPrrWW.cab"
    No idea how to deal with it, already tried the 64 bit version but that did not work.
    Thanks for your help
    Floris

    Does the PrjPror.WW\PrjPrrWW.cab is really in the local path now?
    If you are using installation source from DVD, please copy them to the local drive and then reinstall it.
    Try to redownload the Microsoft Project 2013 Trial from the link
    http://technet.microsoft.com/en-us/evalcenter/hh973401.aspx
    And then turn off all of security programs, reinstall it within local administrator account permission.
    Thanks.
    Tony Chen
    TechNet Community Support

  • Setup can not find a supported product

    &Setup can not find a supported product3 I have an XFi XtremeGamer and I tried to update the console launcher and received the error that setup could not find a supported product. I have had this machine for 2 years on XP, and I used the autoupdate feature on the website. This feature found the device on my machine and listed a few updates including the console launcher. I would think if there was a problem, the autoupdate would issue some kind of error. I was able to update the driver on 2/7/08 without any problems using the autoupdate with the website, and I did install the wave studio suite yesterday with autoupdate without issues too. I have made no hardware changes to this machine. Device Manager lists the device as working properly. I do have sound from the card. I tried to download the launcher.exe package with the same result. It would seem that I would have had more issues if the card wasn't installed correctly including the?autoupdate feature not?working and not finding the card and other autoupdate software packages not installing correctly.
    Any ideas? Thanks.

    [color="#000000"]The Creative Console Launcher 2.60.35 update does not work for my X-Fi XtremeMusic soundcard with Vista 64-Bit OS.
    Edit:
    Either going through the creative autoupdate or downloading the file manually and trying to install this update, I get this message below. Yes, I have went to the right download webpage for my soundcard and operating system.
    My Soundcard : X-Fi XtremeMusic SB0460
    My Operating System : Vista 64-Bit
    [color="#ff0000"]"Setup is unable to detect a supported product on your system. Please
    ensure that your product is properly installed before running this
    setup program".
    [color="#ff0000"]?
    [color="#000000"]?=======
    [color="#ff0000"]?
    <div class="DownloadFileName">File Name : CSL_PCAPP_LB_2_60_35.exe<div class="DownloadText">This download contains?the Creative Console Launcher application. For more information, read the rest of this web release note. This download supports the following audio devices only:
    Sound Blaster? X-Fi? XtremeMusic<
    Sound Blaster X-Fi XtremeGamer<
    Sound Blaster X-Fi Platinum<
    Sound Blaster X-Fi Fatalty?<
    Sound Blaster X-Fi Elite Pro<
    Sound Blaster X-Fi<
    Sound Blaster X-Fi Surround 5. <
    USB Sound Blaster X-Fi Xtreme Audio?Karaoke<
    Fixes:
    Rectifies the output delay when using line-in/microphone monitoring.<<font face="Tms Rmn">?<font face="Helv" size="2">?
    Requirements:
    Microsoft? Windows Vista? 32-bit or 64-bit, Windows? XP Professional x64 Edition or Windows XP Service Pack 2 (SP2)<
    Creative Sound Blaster?audio devices listed above<
    [color="#ff0000"]?
    Message Edited by freesky on 0-02-2009 0:28 PM

  • Setup can not find a supported product...*I SERIOUSLY NEED HELP* SB-XFI

    WinXp System
    I've posted here before and no ones been able to help me with a solution..but this problem keeps occuring when I restart randomly when I get back to windows there will be no sound.
    Here's the procedure I follow which works (randomly) after 2 or 3 hours of doing this over & over & over & over again..
    Upon the sound not working I..
    1: Add/Remove programs-uninstall creative drivers
    2: Launch Driver sweeper (Guru3d) select Creative-Sound..****yse. Remove any entrys it finds.
    3: Open the setup for the SBXFI drivers (the ONLY one that will work for me) .0.0. Created /30/2009
    then Driver Uninstallation> Delete all shared Creative Audio Driver files
    4: restart and clean boot back into windows.
    5: I re-open that driver setup file and do -Driver Installation. Now most of the time it will run..wait a little bit then tell me to restart. This means it WILL NOT WORK. I know when its gonna work because it will pop up a windows caution box saying that the driver is unsigned and do I wanna continue.. I click yes and thats a sign it'll work..but that only happens after HOURS of doing this procedure..if Im lucky.
    Tonight Im on hour 2 of this rubbish and Im absolutely sick of it..can someone provide a fool proof way to make these **bleep** drivers work?!? I've tried to run almost all the other drivers out there and if I attempt that I get the "Setup can not find a supported product..." for some reason this driver Im using is the only one that works..sometimes..
    Message Edited by Wildone_06 on 05-06-2009 0:0 PM

    Thanks, its [size="" face="Arial">Sound Blaster? X-Fi? XtremeMusic.
    I got it working again around 0pm last night, after doing that procedure since 7pm. Now if its the wrong driver, it would never work..if its the right driver..it should work first time. So I have no idea why I have do this ritual and it'll eventually work after so many trys..is this software vodoo based or something!?
    The OEM drivers that came with it certainly dont work (The 'setup can not find ect ect) so its a mystery to me.

  • ERROR: Can't find class Startadmin

    Hello,
    why do I get this error message:
    Can't find class Startadmin
    I want to start my class Startadmin.java with "java Startadmin"!
    The file is in the current path, so I tried "java -classpath .: Startadmin" too, but I sill get this error!
    What can I do?

    Can you please post the solution, I'm having similar problem.
    I set the classpath before compiling the program
    export CLASSPATH=/usr/java/lib/classes.zip:/oracle/product/8.1.6/demo/lib/classes111.zip
    When I try to run the program at the command prompt
    $ java JdbcTest
    I am getting error message "Can't find class JdbcTest"
    When tried
    $ java -classpath . JdbcTest
    I was getting different error message
    java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver at JdbcTest.main(Compiled Code)
    Any help is appreiated
    Thanks
    SJ

  • Error: Can't find Class

    Hi there,
    I have added an external library (jtom) to my project. I get this runtime error when running my midlet:
    Error: Can't find Class jtom.service.JTOMException.
    When I extract the contents of the library(jtom), I can see that the class (jtom.service.JTOMException) exists. I can also see this class in myProject>>Build>>compiled folder.
    I'm using Netbeans Mobility 5.5
    Please Assist,
    Pheks

    Can you please post the solution, I'm having similar problem.
    I set the classpath before compiling the program
    export CLASSPATH=/usr/java/lib/classes.zip:/oracle/product/8.1.6/demo/lib/classes111.zip
    When I try to run the program at the command prompt
    $ java JdbcTest
    I am getting error message "Can't find class JdbcTest"
    When tried
    $ java -classpath . JdbcTest
    I was getting different error message
    java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver at JdbcTest.main(Compiled Code)
    Any help is appreiated
    Thanks
    SJ

  • Can't find class org/apache/jk/apr/AprImpl

    Hi
    I have Tomcat 4.1.29 and Apache Web Server 2.0.48 installed.
    I have used this tutorial since I'm a newbie :(
    http://www.gregoire.org/howto/Apache2_Jk2_TC4.1.x_JSDK1.4.x.html
    My problem is when I try to regroup them, I obtained this error error.log.
    error] Can't find class org/apache/jk/apr/AprImpl
    java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Here is my confid file (workers.properties) :
    [logger]
    level=DEBUG
    [config:]
    #file=C:/Apache2/conf/workers2.properties
    file=C:/Apache2/conf/workers2.properties
    debug=0
    debugEnv=0
    [uriMap:]
    info=Maps the requests. Options: debug
    debug=0
    # Alternate file logger
    #[logger.file:0]
    #level=DEBUG
    #file=C:/Apache2/logs/jk2.log
    [shm:]
    info=Scoreboard. Required for reconfiguration and status with multiprocess servers
    file=C:/Apache2/logs/jk2.shm
    size=1000000
    debug=0
    disabled=0
    [workerEnv:]
    info=Global server options
    timing=1
    debug=0
    # Default Native Logger (apache2 or win32 )
    # can be overriden to a file logger, useful
    # when tracing win32 related issues
    #logger=logger.file:0
    [lb:lb]
    info=Default load balancer.
    debug=0
    #[lb:lb_1]
    #info=A second load balancer.
    #debug=0
    [channel.socket:localhost:8009]
    info=Ajp13 forwarding over socket
    debug=0
    tomcatId=localhost:8009
    #[channel.socket:localhost:8019]
    #info=A second tomcat instance.
    #debug=0
    #tomcatId=localhost:8019
    #lb_factor=1
    #group=lb
    #group=lb_1
    #disabled=0
    #[channel.un:/opt/33/work/jk2.socket]
    #info=A second channel connecting to localhost:8019 via unix socket
    #tomcatId=localhost:8019
    #lb_factor=1
    #debug=0
    [channel.jni:jni]
    info=The jni channel, used if tomcat is started inprocess
    [status:]
    info=Status worker, displays runtime informations
    [vm:]
    info=Parameters used to load a JVM in the server process
    #JVM=C:\jdk\jre\bin\hotspot\jvm.dll
    OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar;c:/Tomcat/server/lib/commons-logging.jar
    OPT=-Dtomcat.home=${TOMCAT_HOME}
    OPT=-Dcatalina.home=${TOMCAT_HOME}
    OPT=-Xmx128M
    #OPT=-Djava.compiler=NONE
    disabled=0
    [worker.jni:onStartup]
    info=Command to be executed by the VM on startup. This one will start tomcat.
    class=org/apache/jk/apr/TomcatStarter
    ARG=start
    disabled=0
    stdout=C:/Apache2/logs/stdout.log
    stderr=C:/Apache2/logs/stderr.log
    [worker.jni:onShutdown]
    info=Command to be executed by the VM on shutdown. This one will stop tomcat.
    class=org/apache/jk/apr/TomcatStarter
    ARG=stop
    disabled=0
    [uri:/jkstatus/*]
    info=Display status information and checks the config file for changes.
    group=status:
    #[uri:127.0.0.1:8003]
    #info=Example virtual host. Make sure myVirtualHost is in /etc/hosts to test it
    #alias=myVirtualHost:8003
    #[uri:127.0.0.1:8003/ex]
    #info=Example webapp in the virtual host. It'll go to lb_1 ( i.e. localhost:8019 )
    #context=/ex
    #group=lb_1
    [uri:/examples]
    info=Example webapp in the default context.
    context=/examples
    debug=0
    #[uri:/examples1/*]
    #info=A second webapp, this time going to the second tomcat only.
    #group=lb_1
    #debug=0
    [uri:/examples/servlets/*]
    info=Prefix mapping
    [uri:/examples/*.jsp]
    info=Extension mapping
    [uri:/examples/*]
    info=Map the whole webapp
    [uri:/examples/servlets/HelloW]
    info=Exampel with debug enabled.
    debug=10
    Thank you for your time !
    Max

    Btw: I get the warning starting IIS - It seems to me that IIS tries to load Tomcat on-the-fly. The Tomcat load the fails and IIS continues to load successfully.
    The beginning of the IIS Event log outputs this:
    Apache Jakarta Connector2, Information, Info: [jk_vm_default.c (340)]: vm.detach() ok
    Apache Jakarta Connector2, Warning, Error: [jk_worker_jni.c (308)]: Can't find class org/apache/jk/apr/AprImpl
    Apache Jakarta Connector2, Information, Info: [jk_worker_jni.c (297)]: Loaded org/apache/jk/apr/TomcatStarter
    Apache Jakarta Connector2, None, Debug: [jk_vm_default.c (302)]: vm.attach() allready attached
    Apache Jakarta Connector2, Information, Info: [jk_worker_jni.c (252)]: jni.validate() class= org/apache/jk/apr/TomcatStarter
    Apache Jakarta Connector2, Information, Info: [jk_vm_default.c (607)]: vm.open2() done
    Apache Jakarta Connector2, Information, Info: [jk_vm_default.c (500)]: vm.init(): Jni lib: C:\wwwapps\j2sdk1.4.2_01\jre\bin\client\jvm.dll
    /watson

  • Where can i find class files in server

    Hi Gurus,where can i find class files in server.
    Kranthi

    Hi,
    Class files:
    Common\JAVA_TOP
    Pages:
    Appl\mds
    Regards
    Meher Irk

  • HELP - 'Can't find class' error

    I have just bought a new computer with Windows XP and downloaded and installed the new versions of the jdk, jre, etc.
    I have written the Hello World program to check that everything works. It compiles fine, but when I try to run I get an error - Can't find class helloworld - and then it exits.
    I know that the path variable is set correctly and I used to have to set the classpath as well, but have been told that this is not necessary.
    I really need to get this working as have some important programming to do.
    Thanks for any help,
    Olly

    Try this;-
    prompt>set CLASSPATH=
    .......> return key
    prompt>java helloWorld
    Hello World!
    prompt>
    AMAZING!
    This works fine. Thanx.
    Is there any way to set it so that I dont have to do
    the set classpath stuff each time I run a program
    though?
    CheersWell, set a system variable
    CLASSPATH=.;<java_home>\jre\lib\rt.jar
    regardws, Thomas

  • Can't find class error on Tru64 UNIX

    I have written a class, TextProcessor, and I can compile and run it without any problems on my Win2K box. I ftp the source to works Tru64 box and compile the class just fine. When I issue the command "java TextProcessor" I get the msg "Can't find class TextProcessor". I immediately thought I had a classpath issue. I messed around with setting my classpath but without luck.
    I then wrote a new class on the Unix box using vi called Hello.java. I compile the Hello class without a problem. I issue the command "java Hello" and get "Hello!", just like I am supposed to get.
    The 2 classes reside in the same directory, TextProcessor does not have any package statements. I am totaly confused.
    Environment information:
    Tru64 UNIX version 5 or so.
    JDK 1.1.8 (not my choice and I have no control over the JDK)
    JRE 1.2.2 is also installed.
    Please help!
    Thanks

    Maybe.....
    Make sure that you have the permissions necesary to read,write and execute the file from your own account.
    If you canno't find any class maybe is because you cannot read.
    What account are you used to pute the file from Win?
    you can try this...
    chmod 777 TextProcessor.java
    chmod 777 TextProcessor.class
    But......????? uhmmmmmm??
    I'm not sure, because If you can compile then you can read the file, but it's depends you umask ......
    it's only a suggest

  • "can't find class" error

    i have win xp as my OS and jdk1.1.8 installed. I have my class path set correctly. I have changed the environment variable to c:\jdk1.1.8\bin
    When I compile my java programs using javac at the command prompt, the program compiles successfully and the class file is made but when I run it I get the erro "can't find class filename"
    I there some other way to set the class path in XP .
    I don't understand where I am going wrong.
    Please help...

    to run a java file you would type c:\jdk1.1.8\bin\java ClassName
    leave it at that, i think the error your getting is caused when you type the .class extention ie. c:\jdk1.1.8\bin\java ClassName.class

  • Can't find class when executing javabean test

    Hi,
    I've installed Sunone 6.0
    JSP is installed
    JDK is installed
    I've written and compiled a simple javabeans program
    and it generates class correctly.
    When I try to execute I get "Can't find class" error.
    Where does the class need to reside after compiling?
    Is my PATH hosed?
    Thanks for any pointer
    Willie

    hi
    did you get a chance to read this doc:
    http://docs.sun.com/source/817-6251/pwajsp.html

Maybe you are looking for

  • I keep receiving an error message when i try to sync my phone of : 1450 What does this mean?

    I keep receiving an error message when I try to Sync my I phone 4.  It says Can't Sync 1450.  What does this mean?  I've had this phone for over a year with no problems.

  • DVI to HDMI

    Got a great picture on my Samsung 37" LCD using the above cable and configuration. But NO SOUND. Is anyone familiar with this problem and have the answer. I tried several settings changes, but to know avail. Thanks IKH

  • Cost Estimate saving in material master.

    Hi Gurus, We have two costing variant. One standard variant(PPC1)  is to update in Material master as standard price. Another one it need to update in the Tax price in material master as reference for sales. We created seperate varaint to update in t

  • Disable auto renewal

    Hi, I would like to disable the auto renewal function on my account and cancel the purchase that Adobe is trying to do for me. I see this has been an ongoing issue for everyone. It would be nice if there is some clarity to why there is an auto renewa

  • Curious PP CS6 render crash

    I've been running PP CS6 almost without incident since August. Yesterday I was working on a short collection of excerpts to post on vimeo, all of it was material that I had edited without any issues in the past, shot on AVCHD last march. After a CC p