Please help - Can't set classpath on RedHat with jdk 1.3.1

I'm trying to run an app and having lots of trouble with setting the classpath. I wouldn't even mind setting it on boot up. The only way I've gotten it to work was to manually type "export CLASSPATH=/usr/[the rest of it]" Can someone help?
Here's what I've tried:
edited rc.sysinit and added the following lines:
# Set the classpath
CLASSPATH=/usr/stoneware/config:/usr/stoneware/bin:/usr/stoneware/bin/gnujsp.jar:/usr/stoneware/bin/ProxyServlet.jar:/usr/stoneware/bin/jnet.jar:/usr/stoneware/bin/jcert.jar:/usr/stoneware/bin/jsse.jar:/usr/stoneware/bin/stoneware.jar:/usr/stoneware/bin/StonewareClient.jar:/usr/stoneware/bin/com.mortbay.jetty.jar:/usr/stoneware/bin/javax.servlet.jar:/usr/stoneware/bin/openxml-1.2.jar
export CLASSPATH
I've also tried setting from a .sh file using -classpath like this:
/usr/java/jdk1.3.1_01/bin/java -ms16mb -classpath=/usr/stoneware/config:/usr/stoneware/bin:/usr/stoneware/bin/gnujsp.jar:/usr/stoneware/bin/ProxyServlet.jar:/usr/stoneware/bin/jnet.jar:/usr/stoneware/bin/jcert.jar:/usr/stoneware/bin/jsse.jar:/usr/stoneware/bin/stoneware.jar:/usr/stoneware/bin/StonewareClient.jar:/usr/stoneware/bin/com.mortbay.jetty.jar:/usr/stoneware/bin/javax.servlet.jar:/usr/stoneware/bin/openxml-1.2.jar -DStoneware.client.config=StonewareRelay.cfg com.stoneware.server.StonewareRelay
And I've tried this:
export CLASSPATH=/usr/stoneware/config:/usr/stoneware/bin:/usr/stoneware/bin/gnujsp.jar:/usr/stoneware/bin/ProxyServlet.jar:/usr/stoneware/bin/jnet.jar:/usr/stoneware/bin/jcert.jar:/usr/stoneware/bin/jsse.jar:/usr/stoneware/bin/stoneware.jar:/usr/stoneware/bin/StonewareClient.jar:/usr/stoneware/bin/com.mortbay.jetty.jar:/usr/stoneware/bin/javax.servlet.jar:/usr/stoneware/bin/openxml-1.2.jar
/usr/java/jdk1.3.1_01/bin/java -ms16mb -DStoneware.client.config=StonewareRelay.cfg com.stoneware.server.StonewareRelay
Please keep in mind the word wraps. The "-" you see is not really by itself, the text got wrapped.
Thanks,
James

The way I usually set the CLASSPATH and PATH in Linux (RedHat specifically) is to edit the .bash_profile file in your home directory (/home/username/.bash_profile) and include them there. This will cause your CLASSPATH and PATH to be set everytime you run bash (if you want details on why, their is documentation on it). Your .bash_profile will usually have a PATH already so you can just add to it. Make sure when you add CLASSPATH to also add that to the EXPORT line at the bottom as it is easy to forget. That should work. The way you are saying to do it should work as well, I am not quite sure what you are having problems with but I have used the above method on over 20 machines and it has worked every time so far.
Hope this helps.
Will

Similar Messages

  • Please Help, can´t choose Outlook to sync. with my 8900!?

    Please help,
    in my Desktop Manager, Version 4.7, is no choice to choose Outlook for sync the calendar of my 8900.
    I use Outlook Version 2000.
    Who can help?
    Thank you
    Hubertus

    Do you have Outlook on your PC?
    Have you ever used Outlook on your PC, so that an Outlook PST profile file is created on the PC? That is what the BlackBerry Desktop Manager will look for to which to connect.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I'm battling to change my primary iCloud account on my mac, please help? I want to replace it with my secondary account by can't find a way to do this?

    I'm battling to change my primary iCloud account on my mac, please help? I want to replace it with my secondary account by can't find a way to do this? Tony

    System Preferences/iCloud - log out and then log in with your other ID.
    https://discussions.apple.com/thread/3390335?tstart=0
    Set up iCloud
    Set up iCloud (2)

  • Please, help me to set up wireless Internet connection. M...

             Please, help me to set up wireless Internet connection. My router is WRT54GS. I able to get online when computer is wired direct to VPN internet cable.
    First, I can’t open password request screen on http://192.168.1.1. 
    Second, when "Setup wizard" runs step #6 (“Check the router’s status”), the program asks for the password. Default password “admin” is rejected by the program and I can’t install Linksys software. Just in case I already pressed reset switch on the back of the router but to no avail. 
    Third, I don’t find out my Ethernet Adapter Wireless Network Connection and correct router’s IP address using ipconfig/all command after connecting WRT54GS with my computer. Ethernet adapter: DHCP disabled, subnet mask 255.255.255.0, IP address 10.32.132.193, default gate 10.32.132.1.
    Tell me please: what’s the matter?

    Pensive wrote:
             Please, help me to set up wireless Internet connection. My router is WRT54GS. I able to get online when computer is wired direct to VPN internet cable.
    First, I can’t open password request screen on http://192.168.1.1. 
    Second, when "Setup wizard" runs step #6 (“Check the router’s status”), the program asks for the password. Default password “admin” is rejected by the program and I can’t install Linksys software. Just in case I already pressed reset switch on the back of the router but to no avail. 
    Third, I don’t find out my Ethernet Adapter Wireless Network Connection and correct router’s IP address using ipconfig/all command after connecting WRT54GS with my computer. Ethernet adapter: DHCP disabled, subnet mask 255.255.255.0, IP address 10.32.132.193, default gate 10.32.132.1.
    Tell me please: what’s the matter?
    hi pensive ,
     Seems interesting , first do this -  push the reset button on the back of router .
    push it till 30 seconds , unplug the power cable and plug in the power cable back in After completion of 30 seconds.
    then try to log into , 192.168.1.1 again . with the password "admin".
    see if it reply?
    Else -
    strt>cmd>ipconfig /all - post the result ?
    pe@c3
    Message Edited by meteor on 01-09-2008 05:58 AM
    ~~~Nobudy's Perfect , i try To Be So ! Each n every moment of maH LYF , AND I THINK dat wats make Me "Different" From others....~~~

  • Please help: Can't download itunes with windows 7 (64 bit).  Keeps freezing at 99%

    I have tried deleting and re-installing itunes and quicktime but it still won't work.  Please help.

    Can someone please respond to my request for support?  I tried the provided correct answer at https://discussions.apple.com/message/11561783#11561783  but it did not work. 
    I also got a MSFT tech support person to remotely look at my machine, for what its worth, he said the registry file is fine and to contact Apple support.
    Any help would be very much appreciated.

  • Purchased iTunes alert tones intermittently working.Please help. I'm on iOS 8 with 6 plus phone.

    Purchased iTunes alert tones intermittently working. Initially they worked and now occasionally work. They are there and alert tone can be seen/heard and is set to it but keep hearing the standard message alert tone. Please help. I'm on iOS 8 with 6 plus phone. Thanks.

    It is working through your iPhone 6 through the Continuity feature. This allows any device that is logged in to your Apple ID and connected to the same WiFi network to make and receive calls through your iPhone. If this is not useful to you go to the settings for Facetime and turn off iPhone cellular calls.

  • Please Help :( iMac 20" refuses to boot up with anymore than 1gb ram?

    Please Help iMac 20" refuses to boot up with anymore than 1gb ram?  It was fine 4 days ago and had been working with a 1gb stick in one slot and a 2gb stick, which had replaced the orignal 1gb stick that I got it with, in the other and it had shown 3gb of ram and was working just fine with that since November?  It went to sleep briefly 4 days ago while I was waiting on a customer and I came back to try to wake it up and it never would forcing me to hard boot it.  When I did that it would only go to a black screen with a solid white light on the power indicator.  Over and over again and same thing.  I read and tried every suggestion I could possibly find in this and a few other mac forums to no avail.
    I finally after reading about RAM issues etc.  I decided to power off and take out the ram sticks and try them one at a time in each slot.  So I took out the 2gb stick and did the SMC reset and it would boot up and work just fine with the 1 gb of ram.  So then I went through the same process with the 2gb stick and it would not boot up only go to a black screen with white solid light again (NOT flashing).  So then I tried the other original 1gb I had replaced with the 2gb and it worked just find like the other 1gb.  So then I tried just 1gb stick in the other ram slot (back facing one) and with just the 1gb strip it booted up and worked fine.  Tried it with the other 1gb stick and once again that one too worked just fine.  So I determined it wasn't the slot itself I thought?  I then tried the 2gb in the back slot and it would not boot only go to the black screen white solid light deal like before.  So I thought well ok it's obviously the 2gb ram must have somehow went bad (even though I have only had it since November) and I thought well I will just use the (2) 1gb sticks in each slot and then that will at least give me 2gb because only 1gb really ***** LOL.  So I proceeded to go through the same shut down process installed both sticks (I always push them to I feel them click and my fingers have a nice indention on them) reset the SMC and turned the power one and.... It would only go to the black screen with white solid light on power indicator????  I went through the same above process at least 3 times and again today a few times and I can't figure it out and I tried to search and search and I couldn't find anything like what I am experiencing.....What happened?  Please help this slow Imac is killing me.  It will work with 1gb ram only nothing more?  Here are the specifics of my Imac.
    It is a 20" Late 2006 Intel Core 2 Duo 2.16 ATI Radeon X1600 256 MB graphics card and Ram with now only 1gb (did have 3gb) and I am running OSX Lion 10.7.5
    When I go to system report and go under memory it shows this:
    BANK 0/DIMM0:
      Size:          1 GB
      Type:          DDR2 SDRAM
      Speed:          667 MHz
      Status:          OK
      Manufacturer:          0xCE00000000000000
      Part Number:          0x4D342037305432393533435A332D43453620
    BANK 1/DIMM1:
      Size:          Empty
      Type:          Empty
      Speed:          Empty
      Status:          Empty
      Manufacturer:          Empty
      Part Number:          Empty
      Serial Number:          Empty
    Any help I can get would really be appreciated.  Thanks in advance
    ALSO...Here is also a pic of the system log right before it happened.  It even changed the date to 07/2014????
    I have some more if needed??????????????? 
    <Personal Information Edited by Host>

    The Memtest just completed and came back like this?  It only test the single 1gb chip because anything more in this computer it won't go past the black screen with solid white power light. 
    Memtest version 4.22 (64-bit)
    Copyright (C) 2004 Charles Cazabon
    Copyright (C) 2004-2008 Tony Scaminaci (Macintosh port)
    Licensed under the GNU General Public License version 2 only
    NOTE: No command-line arguments have been specified
    Using defaults: Test all available memory, one test pass, no logfile
    Mac OS X 10.7.5 (11G63) running in multiuser mode
    Memory Page Size: 4096
    System has 2 Intel core(s) with SSE
    Requested memory: 250MB (263086080 bytes)
    Available memory: 250MB (263086080 bytes)
    Allocated memory: 250MB (263086080 bytes) at local address 0x0000000101000000
    Attempting memory lock... locked successfully
    Partitioning memory into 2 comparison buffers...
    Buffer A: 125MB (131543040 bytes) starts at local address 0x0000000101000000
    Buffer B: 125MB (131543040 bytes) starts at local address 0x0000000108d73000
    Running 1 test sequence... (CTRL-C to quit)
    Test sequence 1 of 1:
    Running tests on full 250MB region...
      Stuck Address       : ok             
      Linear PRN          : ok             
    Running comparison tests using 125MB buffers...
      Random Value        : ok
      Compare XOR         : ok
      Compare SUB         : ok
      Compare MUL         : ok
      Compare DIV         : ok
      Compare OR          : ok
      Compare AND         : ok
      Sequential Increment: ok
      Solid Bits          : ok             
      Block Sequential    : ok                
      Checkerboard        : ok             
      Bit Spread          : ok               
      Bit Flip            : ok               
      Walking Ones        : ok               
      Walking Zeroes      : ok               
    All tests passed!  Execution time: 362 seconds.
    logout
    [Process completed]
    Seems Okay I guess?

  • Emergency! Please Help. I have an iPhone 4 with all my pictures from the vacation on it and I plugged into my computer and it sync'ed to my ipod.  all of my pictures are gone.  How do I get my pictures back?

    Emergency! Please Help. I have an iPhone 4 with all my pictures from the vacation on it and I plugged into my computer and it sync'ed to my ipod.  all of my pictures are gone.  How do I get my pictures back?

    If all you did was sync your phone, and if you haven't synced again since this happened, you can restore your phone from the backup that was created at the beginning of the sync process (camera roll photos are included in the backup).  If you have synced again since this happened this backup has already been overwritten and your photos are lost.  Also, if you restored your phone from the backup of your iPod, rather than just synced, then your  photos are lost too.
    If you have an intact backup that contains these photos, do the following:
    Without connecting your phone, open iTunes on your computer and go to Preferences.  On the Devices tab check "Prevent...from syncing automatically".
    Connect your phone to your computer, right-click on the name of your phone when it appears in iTunes on the left sidebar and select Restore from Backup, choose your most recent backup to restore from.
    When complete, you can go back to iTunes>Preferences>Devices and re-enable automatic syncing.

  • How can I set up two iPhones with the same contact, photos, music etc... but a different sim card and phone number. They will both be my phones, but one will be for use in other countries.

    How can I set up two iPhones with the same contact, photos, music etc... but a different sim card and phone number. They will both be my phones, but one will be for use in other countries.

    Phone A = phone with information you want duplicated
    Phone B = phone that you want to copy from A
    Backup Phone A.
    Wipe Phone B using these instructions. What to do before selling or giving away your iPhone, iPad, or iPod touch - Apple Support
    Phone B should be on the 'Hello' screen. Do not swipe it. Launch iTunes. Plug in Phone B.
    When iTunes asks if you want to set up as new phone or restore from backup, choose restore from backup of Phone A.
    After this setup, any changes to one phone (i.e. adding a contact, downloading an app) will have to be manually duplicated on the second phone, if that is your desire). Making changes to one phone will not affect the other after setup.

  • I am a OS10.7.4 user. yesterday i bought a Lacie external hard disk but error message appear said " You cant open the applicant LaCie setup assistant because PowerPC applicants are no longer support". please help me how to connect my mac with Lacie??

    i am a OS10.7.4 user. yesterday i bought a Lacie external hard disk but error message appear said " You cant open the applicant LaCie setup assistant because PowerPC applicants are no longer support". please help me how to connect my mac with Lacie??

    You do not need the Setup Assistant; in fact, you do not need any software on an external hard drive. I have two LaCie's; I erased the drive as soon as I plugged it in. You will need to format it anyway because most hard drives come Windows formatted. So, if you only want to use it with the Mac, highlight it in Disk Utility and choose Mac OS Extended (Journaled) as the format and the GUID Partition scheme under Options. While doing that, it will erase the drive (and get rid of the LaCie software) - once finished, your drive is ready to use for Time Machine or any other backup plans you have for it.

  • Can i set up itunes account with apple id and NO credit card???

    Can i set up itunes account with apple id and NO credit card???

    Yes, see link below
    http://support.apple.com/kb/HT2534

  • Can i set up a trackpad with macbook air

    can i set up a trackpad with macbook air

    By trackpad do you mean the Apple Trackpad or a third party device? You can setup the apple trackpad yes just like a wireless keyboard under bluetooth

  • How can I set up iCloud sync with Outlook 2007 using Hotmail account?

    Hi,
    I installed iCloud PC control panel. I tried to sync my contacts and calendars from Outlook (2007) to the cloud but I gets this message: "Add an e-mail account to Outlook Before setting up iCloud". I have an Hotmail account synced up into my Outlook via Outlook Connector. Can iCloud sync with Hotmail accounts?
    What should I do to get my calendars and contacts synchronize to the cloud. Does Outlook 2007 can be synced by the cloud too?
    How can I set up iCloud sync with Outlook 2007 using Hotmail account?

    I found a way to fix this, it did the trick for me:
    https://discussions.apple.com/thread/3109623
    All you have to do is include a new e-mail account [email protected] (set it as a default) on Outlook with the options that are showed in the thread I linked and you should have the calendars and tasks syncronised. It works perfectly with ipod touch, ipad and Outlook 2010 on windows 7.

  • Hi please help! After setting up a new mail account my wifi button has greyed out. I've tried rebooting it ie turning off and on but no joy. I'm a complete technophobe and have no idea what to do next. I can receive emails but am unable to reply. HELP PLS

    Please can someone help a total technophobe?!!! I have recently set up a new mail account and since I've done that my wifi button has greyed out. Not sure what happened as I had help from my daughter. She doesn't think that she did anything wrong as has been an iPhone user since day one!! She's at work now so I'm totally lost. Please help. Many thanks.

    it's' an issue on 4S..... here same problem, even after restore the firmware.... wifi and bt are lost....

  • Can I set classpath for OAS 10g?

    Hi,<br>
    <br>
    I have OAS on my workstation. Here are the details.<br>
    Server : Oracle Application Server 10g Release 3 <br>
    Version : 10.1.3.1.0 SOA4<br>
    Build : 061008.0900.00025<br>
    Platform : Windows XP - SP2<br>
    <br>
    I want to set an explicit classpath for complete OAS 10g as such and not to an individual oc4j application. Will I be able to do it?<br>
    I saw the System Properties after my server started.<br>
    It has a name-value pair as "java.class.path oc4j.jar".<br>
    So, I assume all my classpath settings (done thru Environment Variables from My Computer) are lost.?<br> I want to set it explicitly during the server startup itself. Can I do that?<br>
    I tried setting below in the opmn.xml <br>
    <process-set id="ASG" numprocs="1"><br>
         <module-data>          <br>                         <category id="start-parameters">     <br>               <data id="start-executable" value="C:\Oracle\product\10.1.3.1\OracleAS_1\jdk\bin\java"/>     <br>               <data id="start-args" value="-classpath C:\abc\properties\"/><br>
    I appended my properties folder after all the jar files present in that tag.<br>
    But its not loading any of my properties files.<br>
    <br>
    Can someone please help me out.<br>
    <br>
    Regards,<br>
    <br>
    Prashanth Babu.

    No, the iPad does not support multiple user accounts or preferences.

Maybe you are looking for

  • BAPI_PO_CREATE1 - PO not created due to wrong account assignment

    Hello, I'm trying to use this BAPI for a PO that I can create with ME21n, so I'm asking you what can be wrong with my input data. Here are the facts: A - Message returned: KI / 265: Cost Center 1000 / 1000 does not exist; B - Account Assignment Categ

  • Get the table's rowid of the session that is locking in RAC database

    I am a developer and not a DBA and I need to find th correct query to find the exact rowid of the record locked on a table. This is for a RAC database and locked record can be from the web form in oracle application server. When I try to get the corr

  • Programmatically choosing the dll and function within the dll

    LabVIEW 2013 I have a top-level UI application, basically a test executive, from which I want to execute external VIs, the tests, that are identified at run-time.  I think that means compiling my test VIs into DLLs and then accessing the test VIs fro

  • IPlanet- WebLogic Proxy Connection Pools

    In the NSAPI weblogic plugin doco it says that the wlproxy plugin pools connections. How do you control the size of the connection pool. I don't see a min/max paramater. All I see is KeepAlive, ConnectTimeoutSecs and a few other related but nothing r

  • Cant update

    I can't update my apps on my I phone 4s because my old email comes up. How do I change my apple ID on my I phone?