Reg Classpath setting in WIN NT4

Hi Friends,
I have installed JDK 1.3.1 recently on Win NT4 and facing the following problem..
1. when i say javac A.java it says can't read file.
My settings under environment variables r as follows..
PAth=C:\JDK1.3\BIN;
CLASSPATH=.;\C:\JDK1.3\lib\tools.jar;
Both these i have set under User variables.I would like to know if any one of these have to be set under System environment variable? If i don't put .;\ in classpath..then also it gives same error. Whether i write my prog in notepad or in DOs editor the problem is same.
Pl. help...i am fed up trying....i have read all related questions but my problem remains unsolved.I am able to work on Win 2000 but not NT4 and thats what is bugging me.
Thanks in advance and expecting a fast reply to this.
waiting for solution...
VA

See when i write the prog in dos editor then it says can't read file...even when i say edit A.java and open the editor. If i use "edit A.java" also no use.
The suggestion u gave for notepad doesn't work. I used all files option while saving and gave .java extension.But it gets saved as A.java.txt. It works only when i save it in double quotes like "A.java".Only this works on NT4. I still want to know what and how i can do it when i use Dos editor? Its not taking 4 character extn.So what to do?
See if anyone take interest to reply to this small question.
Thanks in advance.
VA

Similar Messages

  • Classpath Setting using win 98

    Please help me in this little delima.
    I want to set the classpath in win 89 and i am not finding any way of doing this correctly . Can any one tell me how can i set the class pathe in win98 environment.
    Actually i am installing Tomcat and i have to set the environment verivable for this and i dont know how can i do it in win 98 environment.

    There's a handy little tool called sysedit.exe in Win98 that you can use to edit the 4 common config files:
    autoexec.bat
    config.sys
    windows.ini
    system.ini
    just open a command window and type sysedit.
    Don't forget to reboot after you've made changes.
    You may have to increase the environment size if you increase the classpath by much. There have been recent posts about how this is done.

  • Running a SqlPlus script with AT.EXE on WIN NT4.0

    Hi guys,
    I've to periodically run a simple batch script to update some tables on an Oracle DB. Since I'm
    running a Server Win NT4.0 SP6 I made a .cmd that calls a sqlplus script and I'm trying to
    schedule it using the AT.EXE service.
    When I run the .cmd outside from the AT it works fine; when I try to run it using AT something
    goes wrong and I got this error:
    ERROR:
    ORA-03113 end-of-file on communication channel
    I suspect it depends on how AT / sqlplus handle standard I/O but I wasn't able to find the
    right way to call them or a work around to make things work.
    Any suggestion ??
    TIA,
    Max
    Here's the script:
    @echo off
    rem
    rem run sql script (connect info in script)
    rem
    sqlplus -S /NOLOG @d:\UpdBatch\upd_table.sql %1 %2
    rem
    rem trace result in EventLong
    rem
    SET result=%ERRORLEVEL%
    IF '%result%'=='1' LOGEVENT -m \\MINERVA -s E -e 1 -r "BATCH UPDATE" "Error updating tables!"
    goto finished
    LOGEVENT -m \\MINERVA -s I -e 0 -r "BATCH UPDATE" "Tables Updated!"
    :finished
    echo "Done!"
    and I register it in AT in this way:
    D:>at 15:30 cmd.exe /C "d:\UpdBatch\my_script.cmd 10 20 > d:\temp\out.txt"
    null

    I did not notice that the cut and paste was poor. It should have read
    SQL> @dm$load.pkb
    SP2-0310: unable to open file "dm$load.pkb"
    SQL> host ls
    dm$load.pkb
    Any ideas will be greatly appreciated.

  • Log4j classpath setting in weblogic server 8.1

    Hi,
    I placed all my properties files outside ear file in the folder C:\bea\user_projects\domains\xyz\config . I changed classpath setting in startweblogic.cmd as follows
    set CLASSPATH=%WEBLOGIC_CLASSPATH%;%POINTBASE_CLASSPATH%;%JAVA_HOME%\jre\lib\rt.jar;%WL_HOME%\server\lib\webservices.jar;./config;%CLASSPATH%;When i run my application, these properties are getting picked up and logs comming up in the spcified folder I have done this in windows platform.
    When i tried the same in unix box, by keeping properties files in separate folder and including that folder in classpath of startManagedWebLogic.cmd. Here is my classpath settings that i have modified
    $/data/weblogic/app_properties/log4j.properties:$/data/weblogic/app_properties/download.properties:Problem here is i am not able to get the logs updated,even though my application is running fine.
    Can you any one please tell me am i missing anything.
    Thanks,
    Ram

    Hi,
    I placed all my properties files outside ear file in the folder C:\bea\user_projects\domains\xyz\config . I changed classpath setting in startweblogic.cmd as follows
    set CLASSPATH=%WEBLOGIC_CLASSPATH%;%POINTBASE_CLASSPATH%;%JAVA_HOME%\jre\lib\rt.jar;%WL_HOME%\server\lib\webservices.jar;./config;%CLASSPATH%;When i run my application, these properties are getting picked up and logs comming up in the spcified folder I have done this in windows platform.
    When i tried the same in unix box, by keeping properties files in separate folder and including that folder in classpath of startManagedWebLogic.cmd. Here is my classpath settings that i have modified
    $/data/weblogic/app_properties/log4j.properties:$/data/weblogic/app_properties/download.properties:Problem here is i am not able to get the logs updated,even though my application is running fine.
    Can you any one please tell me am i missing anything.
    Thanks,
    Ram

  • CLASSPATH setting for IAS installation?

    Hi
    I am trying to install IAS 1.0.2 on Solaris. Everything seemed to be going okay until near the end, when I am informed by the installer that the SSOHash Class has not been loaded into the database.
    I have attempted to follow the advice on metalink about using loadjava to load the classes manually, but it still errors. I believe that I may have the CLASSPATH set incorrectly. The installation guide states it should not refer to an existing Oracle home, but I did not have a CLASSPATH set up with my exisiting DB configuration. It does not advise what it should be set to.
    Please can anyone advice what it should be set to if my directory structure is something like oracle/app/product/ias/ etc
    Thanks in advance
    Tim

    This is the sort of thing I am getting
    internal error: unanticipated exception: java.io.FileNotFoundException: ?resolve
    java.io.FileNotFoundException: ?resolve
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.io.IOException.<init>(Compiled Code)
    at java.io.FileNotFoundException.<init>(Compiled Code)
    at java.io.FileInputStream.<init>(Compiled Code)
    at java.io.FileInputStream.<init>(Compiled Code)
    at oracle.aurora.server.tools.loadjava.LoadJava.processLoadAndCreate(Compiled Code)
    at oracle.aurora.server.tools.loadjava.LoadJava.process(Compiled Code)
    at oracle.aurora.server.tools.loadjava.LoadJavaMain.run(Compiled Code)
    at oracle.aurora.server.tools.loadjava.LoadJavaMain.main(Compiled Code)
    I tried using this utility after the portal installation failed with 'you cannot login because there is no configuration information stored in the enabler configuration table' . I confirmed this was the case by checking the contents of user_ojects, and found there were no objects of type 'JAVA CLASS'

  • What classpath setting is needed for JMF 2.1.1.

    What classpath setting is needed to get JMF2.1.1 working on WindowsXP?
    I want to run some of my JMF code ..but am unable to do so ...please help ...thank you!!

    Hi
    When you install JMF2.1.1, Windows Performance Pack the classpath will be automatically set but i am still giving you the files for which the classpath has to be set.
    JMF21~1.1\LIB\SOUND.JAR;
    JMF21~1.1\LIB\JMF.JAR;
    JMF21~1.1\LIB\CUSTOM.JAR.;
    Try this and it will work.
    Also to check the working there is a class file which performs JMF Diagnostics, if you can give me your contact email, i can send you that file and how to use it.
    Thanks
    Swaraj

  • Runtime classpath setting-help

    Hi friends,
    I m getting java.lang.NoClassDefFoundError: org/jdom/input/SAXBuilder exception because of the classpath setting..This is the story, During runtime i have to change one xml file. For that i need the jdom.jar. This jar file shoulb be set in classpath during runtime.. i dont know how to do that.. plz help me.
    Thanking you
    Krishna.

    Use the -cp or -classpath argument of java command to specify file system paths and JAR files to be taken in the classpath.

  • PCI-MIO-16E-1をWin NT4で認識できない

    こんにちは。
    環境:WIN NT4 SP6,NI-DAQ6.9.3
    PCIデバイスが認識されません。
    MAXの「デバイスとインターフェース」で新規追加のリストにも表示されません。
    リストに追加する方法はありますか。
    宜しくお願いします。

    日本ナショナルインスツルメンツ技術部の神谷です。
    お問い合せありがとうございます。
    データ集録デバイスを使う際は NI-DAQmxもしくは従来型NI-DAQドライバをインストールする必要がありますが、既にお済みでしょうか。デバイスドライバが読み込まれ、OS側でデバイスが認識されるとMAXに表示が出てくるようになります。なおWindowsNT 4.0 SP6に対応した最新NI-DAQmxドライババージョンは7.5となっております。
    NI-DAQmx 7.5 - Windows 2000/NT/XP
    http://joule.ni.com/nidu/cds/view/p/id/331/lang/ja
    以上よろしくお願い致します。
    日本ナショナルインスツルメンツ株式会社
    技術部 神谷
    このメッセージは 02-20-2008 01:45 AMに M.Kamiya が編集しています。

  • What and How do I need to set up inorder to run JSP on Win NT4 server

    I'm a newer on JSP. I need to get JSP run on win NT 4. That is the only server available for me. I'm wondering that the tomcat could work with IIS. If not, what do I need? Anybody, please help me.
    chayawee

    Tomcat can be configured to work with IIS or it can run standalone.
    For Tomcat IIS Configuration see:
    http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-iis-howto.html
    You may want to look at Resin (http://www.caucho.com/products/resin/) as an alternative to Tomcat.

  • Please Help me on CLASSPATH setting on windows 2000

    I downloaded "j2sdk1.4.2_04", installed it, and set the classpath to the following path, but i cannot still compile the following program MyApplet.java, because the compile cannot still find the
    netscape.javascript.JSObject., BUT I do found the netscape folder under
    C:\j2sdk1.4.2_04\jre\lib\netscape\javascript, there are three classes, named JSException.class, JSObject.class, and JSUtil.class. Please help me on this .... !!
    =================================================================================
    // MyApplet.java
    package netscape.javascript.JSObject;
    public class MyApplet extends javax.swing.JApplet
    private JSObject win = null;
    private JSObject cell = null;
    public Object callCellMethod(String name, Object[] params)
    return getCell().call(name, params);
    public Object callJavaScript(String name, Object[] params)
    return getJSwin().call(name, params);
    private JSObject getCell()
    if (cell == null)
    try
    JSObject doc = (JSObject)getJSwin().getMember("document");
    JSObject all = (JSObject)doc.getMember("all");
    cell = (JSObject)all.call("item", new Object[]{"DCellWeb1"});
    catch (Exception e)
    e.printStackTrace();
    return cell;
    private netscape.javascript.JSObject getJSwin()
    if (win == null)
    win = netscape.javascript.JSObject.getWindow(this);
    return win;
    =================================================================================
    D:\Tommy\Hack\Java+Ocx\java>echo %CLASSPATH%
    .;C:\j2sdk1.4.2_04\lib\tools.jar;C:\j2sdk1.4.2_04\lib\dt.jar;C:\j2sdk1.4.2_04\li
    b\htmlconverter.jar;C:\j2sdk1.4.2_04\jre\lib\plugin.jar;C:\j2sdk1.4.2_04\jre\lib
    \charsets.jar;C:\j2sdk1.4.2_04\jre\lib\jce.jar;C:\j2sdk1.4.2_04\jre\lib\jsse.jar
    ;C:\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_04\jre\lib\rt.jar;C:\j2sd
    k1.4.2_04\jre\lib
    ==================================================================================
    D:\Tommy\Hack\Java+Ocx\java>javac MyApplet.java
    MyApplet.java:1: package netscape.javascript.JSObject clashes with class of same name
    package netscape.javascript.JSObject;
    ^
    MyApplet.java:5: cannot resolve symbol
    symbol : class JSObject
    location: class netscape.javascript.JSObject.MyApplet
    private JSObject win = null;
    ^
    MyApplet.java:6: cannot resolve symbol
    symbol : class JSObject
    location: class netscape.javascript.JSObject.MyApplet
    private JSObject cell = null;
    ^
    MyApplet.java:19: cannot resolve symbol
    symbol : class JSObject
    location: class netscape.javascript.JSObject.MyApplet
    private JSObject getCell()
    ^
    MyApplet.java:25: cannot resolve symbol
    symbol : class JSObject
    location: class netscape.javascript.JSObject.MyApplet
    JSObject doc = (JSObject)getJSwin().getMember("document");
    ^
    MyApplet.java:25: cannot resolve symbol
    symbol : class JSObject
    location: class netscape.javascript.JSObject.MyApplet
    JSObject doc = (JSObject)getJSwin().getMember("document");
    ^
    MyApplet.java:26: cannot resolve symbol
    symbol : class JSObject
    location: class netscape.javascript.JSObject.MyApplet
    JSObject all = (JSObject)doc.getMember("all");
    ^
    MyApplet.java:26: cannot resolve symbol
    symbol : class JSObject
    location: class netscape.javascript.JSObject.MyApplet
    JSObject all = (JSObject)doc.getMember("all");
    ^
    MyApplet.java:27: cannot resolve symbol
    symbol : class JSObject
    location: class netscape.javascript.JSObject.MyApplet
    cell = (JSObject)all.call("item", new Object[]{"DCellWeb1"});
    ^
    9 errors
    D:\Tommy\Hack\Java+Ocx\java>
    ================================================================================

    D:\Tommy\Hack\Java+Ocx\java>echo %CLASSPATH%
    .;C:\j2sdk1.4.2_04\lib\tools.jar;C:\j2sdk1.4.2_04\lib\dt.jar;C:\j2sdk1.4.2_04\lib\htmlconverter.jar;C:\j2sdk1.4.2_04\jre\lib\plugin.jar;C:\j2sdk1.4.2_04\jre\lib\charsets.jar;C:\j2sdk1.4.2_04\jre\lib\jce.jar;C:\j2sdk1.4.2_04\jre\lib\jsse.jar;C:\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_04\jre\lib\rt.jar;C:\j2sdk1.4.2_04\jre\lib
    Here is my CLASSPATH, and i already did it ........ But the compiler cannot still find the class ?!

  • Even after classpath setting in jserv.properties file  error.

    hi kali,
    i have used a custom jsp page for export to excell using a jar file poi-3i-200566.jar which i deployed in oracle apps version 11.5.10.2.
    the jar is put in $JAVA_TOP and class path entry is set in jserv.properties file as
    wrapper.classpath=/d2_u10/....../poi-3i-200566.jar .
    After setting the classpath , bounced the apache.
    But even after the setting , the same error continues.
    I refered the mod_jserv.log file for error details , the error is in import statement of classes present in the poi-3i-200566.jar file like
    could not find the symbol HSSRow , HSSpreadsheet , etc. all these are classes in jar file.
    please anybody know any extra conf is needed or any idea where i am going wrong.
    thanks
    prabhakr,ap

    Hi,
    Please check your jserv.properties file whether the custom class path that you have set is present or not in jserv.properties after restarting the AutoConfig and Apache server.
    Thanks & Regards,
    Sagarika

  • Weblogic Classpath setting error not able to pick the properties file

    Hi All,
    We are using a third party jar and create a java Web service on the top of that jar. This jar file need two configuration file .properties and .xml when we deploy war for the application into weblogic server it will give file not found error. Though this file already exists inside the .war but from the application it is not able to pick the files.
    We find that these file need to be put in weblogic domain home and we put it there and application works.
    I decompile the jar and found that inside java class they use FileReader("allXXX.xml") path and when I Google it and found that it will pick the file from weblogic domain directory.
    The issue is that we need to put properties file in specific weblogic folder like /3party/config by setting the class path inside startWebLogic.cmd. Please let us know solution for same
    Thanks in advance
    Edited by: sb**** on Mar 19, 2012 9:08 AM

    Hi , I am also facing the similer issue. I am deploying war file of my Spring MVC application , but its not picking resource bundle .properties files from one of the configuration file.
    <bean id="PropertiesRepository"
              class="LanguageBasedPropertiesRepository">
              <property name="propertiesFiles">
                   <map>
                        <entry key="en" value="classpath:/exceptionMessages.properties" />
                        <entry key="es" value="classpath:/exceptionMessages_es.properties" />
                        <entry key="default" value="classpath:/exceptionMessages.properties" />
                   </map>
              </property>
         </bean>
    Please let me know how we can modify this to make it work.
    thanks .

  • Classpath setting

    Hello techies,
    I had installed jdk-1_5_0-rc-windows-i586 in my system.
    I am having windows2000servicepack4.
    I had also installed mysql. I had also installed mysql-connector-java-3.1.8a.zip . I had extracted this zip file.
    It is having 6 JAR files. In the lib folder, i am having the follwoing 4 jar files.
    C:\mySql\mysql-connector-java-3.1.8\lib\aspectjrt.jar
    C:\mySql\mysql-connector-java-3.1.8\lib\aspectjtools.jar
    C:\mySql\mysql-connector-java-3.1.8\lib\jdbc2_0-stdext.jar
    C:\mySql\mysql-connector-java-3.1.8\lib\jta-spec1_0_1.jar
    The remaining 2 jar file are
    C:\mySql\mysql-connector-java-3.1.8\mysql-connector-java-3.1.8-bin.jar
    C:\mySql\mysql-connector-java-3.1.8\mysql-connector-java-3.1.8-bin-g.jar
    I had installed java in
    c:\program files\java
    Mysql in c:\mysql\
    Now i have to set up the classpath.
    I had gone to MyComputer>Properties>Advanced>
    Now i had created two variables claspath n path
    classpath: C:\Program Files\Java\jre1.5.0\lib;.;
    path
    C:\Program Files\Java\jdk1.5.0\bin;.;C:\mySql\mysql-connector-java-3.1.8a.zip;.;
    Now iam able to excute java programs successfully. When i try to connect to mysql through jdbc connection.
    It is showing Class Not Found Exception.
    Does i need to specify those 6 jar file in the classpath (or) i just need to specify in the zip file in the path.
    Can i excute servlet programs by using jdk-1_5_0-rc-windows-i586 without mentioning the servlets jar files in the classpath.
    If not what r the jar files i need to mention in the classpath.
    Does jdk 1.5.0 supports servlets.
    iam always having confusion b/w classpath and path
    Does i need to change the classpath for mysql jdbc connection??
    If so can anybody adjust my classpath n path.
    I will be very thankfull if any body replies
    thanks(inadvance),
    ramu

    That said, you shouldn't have a CLASSPATH environment variable anyway. You do need the PATH, but your classpath should be specified in other ways.
    If you create a project in an IDE, you configure projects in that IDE which involves adding jars and directories to its "libraries" or such, which in effect make up the classpath.
    Or if you use the JDK command-line tools (javac and java), you specify the classpath on the commandline:
    javac -classpath (classpath here) ...
    (same command-line option for the java command-line executable)
    Please follow all the documentation and tutorials on this site...

  • Classpath setting for oracle classes 12 in unix environment

    hi all,
    i am trying to exceute java program with JDBC statements in it. I am running the code on a remote machine which has both JDK1.4 and oracle 9.i installed .I am accessing the remote machine through PUTTY .can any one suggest how to set the classpath in UNIX environment for oracle.
    Thanks

    Same way you do it else where:
    java -cp <classpath>

  • User defined classpath setting using "-Djava.class.path="

    Hello,
    I am invoking a JVM from a C++ application ( say A ) which inturn will be started by another C++ application ( say B ).
    The class path for the JVM is set by "-Djava.class.path=" option in application 'A' which will actually supplied by parent application 'B'.
    I want to know how to do it ?
    I tried with the following things but it doesn't work.
    // the application 'A' gets classpath string from appication 'B' the "classpath" variable ( which is a string ) gets from application 'B'
    // this is in application 'A'
    // "classpath" variable in application 'A' holds the class path string optained from application 'B'
    "-Djava.class.path=" classpath ; ---(1)
    // "-Djava.class.path=" %classpath% ; ---(2)
    // "-Djava.class.path=classpath" ; ---(3)
    All the above tries are failed in first 2 tries the application even doesn't get compiled and in third try the appilcation doesn't set the classpath even though it is get compiled.
    Do any one have any Idea !!

    Hi,
    I am not quite sure if I got your problem correctly...
    Your application A has a variable called classpath containing the classpath recieved from B. right? Now you want to call the JVM with that.
    I think what you got to do is something like
    sprintf(myclasspath, "-Djava.class.path=%s", classpath);
    this will build the correct string for the JVM in myclasspath. And that one can be used to call the JVM.
    Does this sound right??

Maybe you are looking for

  • How to set focus in the parent window after a JOptionPane pop up ?

    I am not able to set the focus back to a JTextField in the parent window after poping up a JOptionpane.showMessageDialog(). I tried requestfocus(),requestFocusInWindow etc......but not working. The code is given below. if ((encryptor.encrypt(password

  • SBBOD appears frequently since 10.6.7 upgrade.  Been to XLab etc.  Ideas re: what has changed in 10.6.7 and how to fix?

    Older MBP working fine until 10.6.7 upgrade.  Now, SSBOD appears while typing, while using cursor, in apps incl. iTunes, MSWord, Firefox, Mail. Visited XLab section on SSBOD.  Some ideas, but this only started after 10.6.7.  Was worst (most frequent)

  • Thirdparty processing with Consignment scenario

    hello, i am stuck up with a strange scenario, i hope somebody will help me out. the scenario goes like this. the OEM require comes and a Sales order has to be created then for that requirement a PO has to be created to Vendor for supply of the materi

  • CSTto be posted to different G/L

    Dear all, Currently the Non deductible CST is posted as under during MIGO <i>CL. stores & spares A/c Cr.  104 GR/IR stores & spares A/c   Cr.        104 (G/L A/C 161230)</i>The requirement is:- <i>CL. stores & spares A/c Cr.  104 GR/IR stores & spare

  • Adobe 9, multimedia used and size

    A question before I purchase Adobe 9. I'm interested in the ability to put audio and video in a .pdf. The question is, will it be too large to email to customers? Currently, most .pdfs I convert are about 1MB or a little larger. Those email just fine