New to java, having trouble with Installing JDK on Ubuntu

Hello, everyone???
I'm try to install j2se jdk-1_5_0_15-linux-i586-rpm.bin on my Ubuntu Linux 7.10, I ran the self-extract file and everything just seemed fine. But when I get to setting the system environment variable , something must have gone wrong. I have read from books which say that I should set 'CLASSPATH=.:/usr/java/jdk1.5.0_15/lib/dt.jar:/usr/java/jdk1.5.0_15/lib/tools.jar'. But I can't find a 'tools.jar' file in the 'lib' directory. There is a 'tools.pack' instead of it.
When I try to test the installation with: 'javac --version', I got :
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
I don't know why. Do anybody can help me with this problem?

I used the Synaptic version of Java. I don't like where it puts the JDK in a protected folder. I want development stuff in my home folder. The Sun download with the NetBeans is the best, IMHO. You put your install where you want it. NetBeans then slams the pathname with every javac and java you run. Works great for development. Then, becomes the FireFox problem -- the java plug-in. Because I'm AMD-64 I have to use the IceTea java plug-in.
Would Sun please, please write the 64-bit plug-in?
The last irritating problem you will have is running java from a Terminal. That takes internal links in your File System. You can do what NetBeans does: java -classpath=~home/desktop/jdk1.6.1/bin/myPrograms myProgram. Or, you can make SymLinks. I keep a bookmark to this topic from the Ubuntu Forums:
[Custom Install JDK java|http://ubuntuforums.org/showthread.php?t=319138]

Similar Messages

  • New to java, having trouble with classes

    I am new to java and I am having problems importing classes in my first program, please help

    hi
    please tell, what`s your problem exatly?

  • I'm having trouble with installing a 8g kit in my late 2009 mac mini. when the parts are installed all i get is a beeping sound, is there any way to get around this?

    i'm having trouble with installing a 8g kit in my late 2009 mac mini. when the parts are installed all i get is a beeping sound, is there any way to get around this?

    What is the source & link to this 8 GB kit please?
    Can you count the beeps or flashes?
    1 beep = no RAM installed
    2 beeps = incompatible RAM types
    3 beeps = no good banks
    4 beeps = no good boot images in the boot ROM (and/or bad sys config block)
    5 beeps = processor is not usable
    In addition to the beeps, on some computers the power LED will flash a corresponding number of times plus one. The LED will repeat the sequence after approximately a 5-second pause. The tones are only played once.
    Note: In this case, a flash is considered to be 1/4 second or 250 ms or greater in length.
    http://support.apple.com/kb/HT1547

  • Having trouble with installing updates

    Hello,
    I am having trouble installing updates.  I checked the windowsupdate.log file and I see:
    2015-03-13         
    11:52:43:075       956       
    680         Agent   
      * Criteria = "(DeploymentAction=* AND Type='Software') OR (DeploymentAction=* AND Type='Driver')"
    In reading others' posts, I noticed in their logs contain "DeploymentAction=Install" .. could this potentially be the issue why it will not install the update?   If so, where does this get set at so I can modify it?  I looked around
    but was not able to find this setting.
    Thanks for the help!

    Hello,
    Here is what I see in the logs.  Can you please take a look and see if anything stands out?  There are a lot of errors/failures/warnings in the
    WindowsUpdate.log.  Please look at the last 4 lines of this log listed below -- looks like it is looking for approval or  "WARNING: There are no approved updates to install".  Where is this coming from?  Is this
    why the updates do not get installed?    Thanks for any help in reviewing these logs.  Thanks.
    <looks good>Scanagent.log = No errors/fail/warnings
    <![LOG[ScanJob({70E7DB5B-44CF-4BC0-B73F-B89A9AB557BF}): CScanJob::OnScanComplete - Scan completed successfully, ScanType=1]LOG]!><time="23:48:18.177+300" date="03-02-2015" component="ScanAgent"
    context="" type="1" thread="2876" file="utils.cpp:477">
    WUAHandler.log =
    <![LOG[Unable to read existing resultant WUA policy. Error = 0x80070002.]LOG]!><time="05:57:24.588+300" date="02-26-2015" component="WUAHandler" context="" type="2"
    thread="4148" file="sourcemanager.cpp:920">
    <![LOG[Search Criteria is (DeploymentAction=* AND Type='Software') OR (DeploymentAction=* AND Type='Driver')]LOG]!><time="02:26:17.774+240" date="03-11-2015" component="WUAHandler"
    context="" type="1" thread="4240" file="cwuahandler.cpp:2916">
    <![LOG[Async searching of updates using WUAgent started.]LOG]!><time="02:26:17.774+240" date="03-11-2015" component="WUAHandler" context="" type="1" thread="4240"
    file="cwuahandler.cpp:579">
    <![LOG[Async searching completed.]LOG]!><time="02:26:24.339+240" date="03-11-2015" component="WUAHandler" context="" type="1" thread="4048" file="cwuahandler.cpp:2068">
    <![LOG[Successfully completed scan.]LOG]!><time="02:26:25.651+240" date="03-11-2015" component="WUAHandler" context="" type="1" thread="4240" file="cwuahandler.cpp:3557">
    -------------------------------------------------------------------------------------------------------------------------WindowsUpdate.log
    = A lot of errors here --
    2015-03-11         
    05:55:59:437       956       
    1194       AU         
    WARNING: Failed to get Wu Exemption info from NLM, assuming not exempt, error = 0x80240037
    2015-03-11         
    05:55:59:437       956       
    1194       AU         
    WARNING: Failed to get Network Cost info from NLM, assuming network is NOT metered, error = 0x80240037
    2015-03-11         
    05:57:22:655       956       
    144c       EP          
    FATAL: EP: Failed to obtain element node, error = 0x80245002
    2015-03-11         
    05:57:22:780       956       
    144c       EP          
    FATAL: Failed to obtain plugin interfaces using CLSID 7D5F3CBA-03DB-4BE5-B4B3-6DBED19A6833, error = 0x8024000E
    2015-03-11         
    05:57:22:821       956       
    144c       Agent   
    WARNING: WU client failed Searching for update with error 0x8024000e
    2015-03-11         
    05:55:59:296       956       
    1194       Agent   
    WARNING: SleepStudyTracker: Machine is non-AOAC. Sleep study tracker disabled.
    2015-03-11         
    05:55:59:358       956       
    1194       Misc      
    WARNING: Network Cost is assumed to be not supported as something failed with trying to get handles to wcmapi.dll
    2015-03-11         
    05:57:22:749       956       
    144c       Agent   
    WARNING: Failed to obtain the authorization cab URL for service 855e8a7c-ecb4-4ca3-b045-1dfa50104289, hr=0
    2015-03-11         
    05:57:22:811       956       
    144c       PT          
    WARNING: PTError: 0x8024000e
    2015-03-11         
    05:57:22:811       956       
    144c       PT          
    WARNING: Initialization failed for Protocol Talker Context: 0x8024000e
    2015-03-11         
    05:57:22:811       956       
    144c       Agent   
      * WARNING: Exit code = 0x8024000E
    2015-03-11         
    06:21:56:594       968       
    e8c         Report 
    WARNING: CSerializationHelper:: InitSerialize failed : 0x80070002
    2015-03-16         
    04:14:17:850       968       
    1660       EP          
    FATAL: Failed to obtain 9482F4B4-E343-43B6-B170-9A65BC822C77 redir SecondaryServiceAuth URL, error = 0x80245002
    2015-03-16         
    04:14:17:850       968       
    1660       Agent   
    WARNING: Failed to obtain the authorization cab URL for service 855e8a7c-ecb4-4ca3-b045-1dfa50104289, hr=0
    2015-03-11         
    05:57:23:321       956       
    17f8       Report 
    REPORT EVENT: {D462FFC9-CF2C-4EB8-91DC-4EB946A903A1}               
    2015-03-11 05:57:22:811-0400     1             
    148 [AGENT_DETECTION_FAILED]           
    101         {00000000-0000-0000-0000-000000000000} 
    0             
    8024000e            
    AutomaticUpdates         
    Failure  Software Synchronization           
    Windows Update Client failed to detect with error 0x8024000e.
    <as seen earlier in the logs>2015-03-11 
    02:26:24:027       956       
    1274       Report 
    REPORT EVENT: {F5A3CD05-8B66-4806-BAF7-48AD2E8012E8}    
    2015-03-11 02:26:24:027-0400     1             
    147 [AGENT_DETECTION_FINISHED]      
    101         {00000000-0000-0000-0000-000000000000}
    0             
    0             
    CcmExec             
    Success               
    Software Synchronization           
    Windows Update Client successfully detected 40 updates.
    2015-03-18         
    06:40:25:397       968       
    5fc          AU         
    ## START ##  AU: Install updates
    2015-03-18         
    06:40:25:397       968       
    5fc          AU         
    2015-03-18         
    06:40:25:397       968       
    5fc          AU         
      # Initiating scheduled install
    2015-03-18         
    06:40:25:428       968       
    5fc          AU         
    WARNING: There are no approved updates to install

  • I am having trouble with installing after effects on windows 7 trial version i need help its giving me a error

    i am  having trouble installing adobe After Effects windows 7 trial verison its gives me a error

    What does the error indicate?

  • Help, I'm having trouble with installing my new Creative Zen MicroPhoto..can someone help

    Okay, I bought my MicroPhoto about a week ago and now I've been making atempts to install it so I can listen to some music. YAY. Well, When I placed the installation CD in that I was told to put in first, my computer wouldn't read it. So, I tried downloading the stuff (aka: the programs that's needed to run with a Windows XP with Service Pack 2) but I got this instead: "Your Player is not Connected, please connect your player." (this is for the firm) Okay, My player, the MicroPhoto, is already connected to my computer and the computer knows its there. When I tried to install the other programs that could be download with Windows XP, I got messages referring that the Windows 2 Service pack was involed with it. My question is...how can I get my MircoPhoto to work on this computer?

    I would advise to still double check all your WEB router settings and to make sure it's putting out maximum output and device/signal separation.
    Also, try go into all your browser apps on your iPhone (safari/chrome etc.) and clear all cache/cookie/passwords/history
    I have iPhone 4S 6.0.1 and never had wifi issues, but I also had just switched ISP's, and went through all of the above. So not sure if I solved the issue before it even came up.  I seem to be getting pretty good speeds and very steady connection.

  • Hello, i'm having trouble with installing iTunes.

    There appears an error, saying - 'policy.8.0.Microsoft.VC80.CRT.type="win32-policy".version="8.0.50727.6195".pub licKeyToken="1fc8b3b9a1e18e3b".processorArchitecture="x86"
    I\ve tries everything, but nothing helps(

    These ones are typically caused by underlying problems on the PC that also often cause Windows Updates to fail to install. If we can fix the Windows Update trouble, we can usually get the iTunes trouble cleaned up en passant.
    Go into your Windows update and try to check for new updates. If updates install, stock up on the ones you're behind on, restarting the PC if requested to do so. After the restart, try installing iTunes again. Does it go through this time for you?
    If windows updates fail to install, go into your Update History and doubleclick the failures. What alphanumeric codes appear for you? (For example, 8007000B.)

  • Having trouble with installing Flash

    I have a Windows 7 64 Bit Computer. When I tried to update the Flash Player, nothing happened. I`ve trying for 2 days and even used the unistaller to see if that would help. Now I have no flash player on my computer at all. And the new download will not install (Yes, using Admin start).

    Try this:
    1. Restart your computer to stop any Adobe process that may be running.
    2. Click on the following Adobe link. Go to the bottom of the page where it says "Still having problems?" and click on the appropriate link for your browser.
    Installation problems | Flash Player | Windows
    If this works you might want to save this link as a Favorite or Bookmark it for future updates.

  • Downloaded new OS and having trouble with wifi, bluetooth Facebook and Skype performanc​e

    Dowloaded 10.2.1.537
    When I first loaded this it had a lot of trouble finding my Wifi again and would disengage.  Problem went away after a few hours but it recurred this am.  Also affected Facebook.
    Skype is loading more slowly and jumps to a black screen for 10-20 seconds.  Then it will load and function but only for a few seconds to a minute and then shuts off completely. 
    Launching Skype also resultd in my bluetooth headset being disengaged sometimes.
    Reinstalled Skype to see if that fixed anything. 
    Tried turning off bluetooth to see if that fixed the skype problem - nope still disengaged.
    Cycled my router and cable and still no fix...
    Running Z30
    Would love to get a fix on this.

    Hello,
    Given all of your issues, I'd guess that something did not go well with the update, and a clean reload would be in order. You accomplish that either through the LINK software or by obtaining an AutoLoader.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Having trouble with Installing itunes on web site

    Can someone help with this issue. I have tried installing itunes thru
    www.apple.com/ipod/start
    I download the program via the 'run' option and it begins to load in the temp file location. It starts to transfer until 77% (always) and then doesn't continue although the function is running. After 20 minutes the message pops up that the process time out. There is no error message. Does anyone know what would cause this?
    Thanks for any help

    I had the same problem, and whether you run or save when downloading it would stop at 76%. After 2 days of defragging, updating virus software, checking my registry and everything else I can think of I finally called support. Go to www.filehippo.com and download itunes from there.

  • Having trouble With installing BonJour Services step in Itunes install?

    i need help completing I Tunes Install, i'm Having a Problem completing Bonjour services installation Step,
    any advise?

    I had the same problem, and whether you run or save when downloading it would stop at 76%. After 2 days of defragging, updating virus software, checking my registry and everything else I can think of I finally called support. Go to www.filehippo.com and download itunes from there.

  • I'm having trouble with installing Adobe Flash Player

    everything I using on the web tells me I need the update for Adobe Flash Player-birthday cad sites and such... So I install it but instead of just finishing step 3 - install complete - I get an advertisement for an additional application for $9.99 a month - which I have no need for so I just close that tab window.... I've tried restart, shut down, and a few other things but to no avail.... go to the site I want to send from and I get the same update message - but no viewing of the card or product I 'm looking for....  anyone know what I need to do?
    I've search it out through Finder and it is in there in applications all of them (apps) from 2007 to 2015 - something isn't right.... right?
    can you guys help?  thanks, ohyes

    The big Step 1 button that says Install doesn't install anything. It downloads the installer to your Mac. Note that Step 2 tells you what to do next:
    To proceed, open your download folder and locate the Adobe Flash Player Installer file, named like "AdobeFlashPlayer[xxx]_install.dmg”.
    The file you'll find there should be named:
    AdobeFlashPlayer_17_ta_install.dmg
    Double click the .dmg file to open it. You'll see this:
    Click the "Install Adobe Flash Player" package. When the installation is done, you can close this window and dismount the .dmg file by putting the "drive" icon that appeared on the desktop in the trash. You can then delete the .dmg file as you no longer need it.
    The Step 3 Adobe shows is completely pointless.

  • New computer and now trouble with installing accessing apps

    Hi
    I now have a new mac and need to get the cs6 on my desktop. I downloaded the adobe app manager but its not working, i tried downloading the creative cloud app and it will not download either.
    need help quick!
    thanks.

    You can't expect anyone to be able to help without providing a lot more information than you have.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers: 
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Having trouble with installing photoshop cs6?

    what does exit code 26 mean??
    DS011-97BA0109-F6BE-4F50-8904-C19442D7216E.

    Exit Cod 26 indicates that your installation payloads could not be verified.  Please download a fresh copy of the installation files from http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html and run the installation process again.

  • I have a 27" imac (intel) my hard drive failed and I installed a new one. This is my first time dealing with this so I am having trouble re-installing the OS. Install disc spits out and ? mark with folder appears what am I missing?

    Like the title says. My 1 TB drive failed and unfortunately my computer isn't covered on the replacement program even though my hard drive is the one they are claiming to replace. So that is not a solution just to get that out of the way. So I replaced the hard drive. What I am having trouble with is re-installing my OS. I have 10.6. When I load it and restart it just spits it out and I get the question mark folder. What am I doing wrong is there a step I'm missing? I did do a back up to my Time Machine before the crash. Can I plug it into it and reload format? I'm new to this so any help would be appreciated.
    Thanks!

    Well, let's hope that nothing was jiggled out of place when you were installing the new hard drive. Your optical drive may just be out of alignment or the disc you have is "dirty." Get a lint-free cloth and some rubbing alcohol, then clean the disc as thoroughly as you can starting from the center and working outward in a concentric circlular motion. See if that helps. In particular clean the inner portion well.
    If this does not help, then you have a problem. You have opened the computer yourself. That action voids all support from Apple. If you take the computer in for service the store may refuse to service the computer. This is not related to your now expired warranty.

Maybe you are looking for

  • External hard drives not on desktop

    None of my external hard drives are showing up on the desktop.  I can see them in finder and disk utilities so the card is working correctly. Any suggestions? mac pro quad 10.6.7, 5 external drives. Thanks

  • Fetching ABAP connection information from SLD

    Hi Experts, I had created one SLD. so i want to use the ABAP connection information of SLD in JCo programming.  how can we achieve this one? Thanks, Maha

  • Need a help about init action in HttpServlet

    I provided a new class MServlet which extends HttpServlet. I want to use the Mservlet class for my all servlets. My Mservlet must do some thiggs. For example i have a class: public class ListNews extends MServlet So now i need some things would be do

  • Can the file extension be removed when using the File Special Field?

    I placed a Special Field on the top of my topics that gives me the filename for that specific topic. I used the Insert > Field > Special Field > File and the File Name is inserted where I want it. The problem is that i don't want the file extension t

  • Problems with installing CC installer

    Hi, I will try and explain my situation in as clear as possible, as it took me some time to find out I installed the creative cloud app a while ago, and it worked perfectly. Then, a few days ago, I needed to use Time Machine on OS x (10.7). I deleted