Installing java 2 SDK,SE v1.4.2_01

i installed this in the windows offline version, in my add remove programs i have
java 2 sdk,se v 1.4.2_01
and also
java 2 runtime environment, se v1.4.2_01
does this package install both or did i leave the runtime enviornment installed by mistake before i installed this one. LOL thank's

Hello, Well i got the hello world application to work and turn to a class file.
but
im getting an error while trying to do the hello world applet, the error message is error: cannot read: HelloWorld.java
1 error
here is the code.
import java.applet.*;
import java.awt.*;
* The HelloWorld class implements an applet that
* simply displays "Hello World!".
public class HelloWorld extends Applet {
public void paint(Graphics g) {
// Display "Hello World!"
g.drawString("Hello world!", 50, 25);
<HTML>
<HEAD>
<TITLE>A Simple Program</TITLE>
</HEAD>
<BODY>
Here is the output of my program:
<APPLET CODE="HelloWorld.class" WIDTH=150 HEIGHT=25>
</APPLET>
</BODY>
</HTML>

Similar Messages

  • How can install java sdk for mac os x 10.6.8

    How can install java sdk for mac os x 10.6.8?

    Deanwdd wrote:
    I mean to update Quicktime for Mac Os X 10.6.8...
    If you're running 10.6.8, Apple menu > Software Update. What version of QT do you have?

  • Downloading and Installing Java SDK for AIX

    Could anyone please tell me where can i download Java SDk for AIX and how to install it before installing SAP?
    Thanks in Advance

    Hi Mega,
    You can downloads Java SDK 1.4.2 from this location, just choose the OS,
    https://sdlc5d.sun.com/ECom/EComActionServlet;jsessionid=CA558AF3F6842F61D26641D9A6853DCA
    installation is very simple, just copy the downloaded file and execute by running <b>./<name of the file>.sh</b> at the command prompt.
    Regards
    Juan
    Please reward with points if helpful

  • Installing Java SDK 1.3+03 on Windows XP fails

    System Properties
    OS : Windows XP
    Microprocessor: Intel PIII
    I save the executable for Java SDK 1.3_03 on my hard disk. When I try to execute it, I get the following message:
    Cannot find file C:\Docume~1\pg\Local Settings\Temp\pft57~tmp\Setup.exe (or one of its components).Check to ensure the path and the filename are correct and that all required libraries are available.
    Any ideas on why this message is returned is welcome.
    Thanks in advance,
    P

    Hi , i got the same problem and that's what i did:
    clicking the rigth buttom on the install .exe and extract it to a folder with winzip
    After this go to the folder you've unzipped the install pack and double-click on setup.exe
    It will ask the profile you want to install the product with and after choosing it , the installfield should start.
    I hope this helps you : Anita

  • Install JAVA SDK in OEL 5.0

    I downloaded jdk-6u11-linux-i586-rpm.bin from java.su.com and i want to install it in OEL 5 and im using this command
    chmod +x jdk-6u11-linux-i586-rpm.bin
    later
    /. jdk-6u11-linux-i586-rpm.bin
    And im getting this error
    -bash: ./jdk-6u11-linux-i586-rpm.bin: Permission denied
    bold NOTE : italics I'm logged as root..
    Thx

    Can you issue:
    sh ./jdk-6u11-linux-i586-rpm.bin
    in the same directory as the jdk .bin file? that should do the trick.

  • Installing java on my new vista(this)

    Hi
    When i got this new computer (with vista) i installed java sdk.
    I know java programming, i used to create some simple games on my old computer.
    But when i try to compile something using javac in Command promt i get the error Javac is not recognized or something.
    I had this on my XP too but i added a line to Autoexec.bat and it worked.
    Now, i have tried to edit Autoexec, no succses.
    Tried to set environment variables, no succses.
    Any guesses?
    Maybe its my antivirus Norton 360 that blocks me from changing in Autoexec?
    Please if anyone have done this on vista respond with some few steps on how to do this.
    I really want to program java on my vista without having to type the hole path to Javac when i want to compile.
    Thanks in advance.
    JavaGuy

    But when i try to compile something using javac in Command promt i get the error Javac is not recognized or something.you need to set the PATH environment variable
    I had this on my XP too but i added a line to Autoexec.bat and it worked. whoah! that brings back some memories
    did MS go back to autoexec.bat?
    i think we stopped using that around 8-10 years ago :)

  • Windows xp and Java SDK

    Hey
    I just got a new computer with Windows XP on it and I installed Java SDK on it. I can compile my programs but I can't run them i get this:
    Exception in thread "main" java.lang.NoClassDefFoundError: hate
    even though there is a .class file. I was wondering if anybody have the same problem?
    Thanks

    Do a "echo %CLASSPATH%" at the DOS prompt...You should see the directory in which you installed Java...
    Example:
    CLASSPATH=c:\j2sdk1.4.1;.; where (".") = the current directory.
    Your JVM cannot find the class file because you have not set the CLASSPATH enviroment variable. Your PATH enviroment variable sounds like it is ok because your OS(Windows, etc) is able to find the java, javac, jar, etc commmands.
    Hope this helps.

  • Installing Java 2 SDK 1.4.1

    I am planning on installing Java 2 SDK 1.4.1 on my computer under Windows Me. I have noticed in my Add/Remove Programs that I have a Java Plug-in 1.3.1_02 installed on my computer. I believe it comes as part of Compuserve which I also have installed on my computer. Does anyone know if that plug-in will cause problems in the installation of Java 2 SDK 1.4.1? Is it alright to leave the Java Plug-in there or does it need to be uninstalled before I install Java 2 SDK 1.4.1. I would appreciate any help. Thanks.

    ...but than again I'm using Linux and I know where all my files are.

  • Installing Java 2 SDK, SE v1.4.2_07

    I'm trying to install Java 2 SDK, SE v1.4.2_07. During the install I get this message
    "Error 1335. The cabinet file 'Data1.cab' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package."
    My OS - XP sp2
    I had a previous version of java on here and decided to upgrade. I removed it in add remove programs and when I try to install, I get the message you see above. The only thing I can find online is to reinstall the OS. Can somebody out there help?
    -----------------------------------------------------------------------

    hi ,
    if u got solution share with all plzz

  • Install Java 2 SDK 1.4.2  on a D: drive

    I have a student trying to instal the SDK. He has partitioned his drive and his C drive has unsufficient space. When he changes the drive to D, the installation software still attempts to install on the C drive and reports insufficient file space. Can anyone help?
    Thanks,
    Mike

    I am having the same problem. On my work box, they have partitioned the C: drive just big enough to hold Windows with all of the applications installed on D:. Though I chose a directory on D: to install the Java SDK 1.4.2, it says that I need 268 megs on C: and only 8 on D:.
    I am using Windows 2000.

  • Install BI Java SDK?

    Hi,
    I want to follow the tutorial "How To BI Java SDK J2EE App", but obviously I firstly need to install the SDK itself on the server.
    How can that be done? In the tutorial it says I shall use the J2EE Visual Administrator to navigate to the node "Connector Container" and then "BI_SDK_XMLA", but that node doesn't exist.
    So how can I install the SDK on the server?
    Cheers,
    Jost

    Hi,
    have you seen <a href="https://media.sdn.sap.com/public/html/submitted_docs/BW/BI_SDK_JavaDocs/bi_sdk_doc/docs/connectors.html">this</a> guide? With it, you deploy and configure the BI connectors on the server.
    Anyway, if this is not what you're looking for, it is a good idea to ask additional questions in any of the BI-related forums here on the SDN. The real BI experts are there!
    Hope that helps.

  • BOXI sever unavailable after Java SDK install

    I recently installed the Java SDK on a platform running BOXI 3.1 SP3. During the install, I de-selected the Enterprise options (per the install doc). Subsequent to the install, I no longer had access to the BOXI. Upon review, it seems that the custom install removed the exec files for all of the client programs, along with the exec for SIA, CMC.url, InfoView.url, and Tomcat.
    However, with the exception of the above files and service, the installation directory in intact, along with the File Store and CMSC. What is the recommended procedure to restore the missing elements? I figure I'll have to initiatie the custom install to recapture Tomcat, but what about the exec files? Will a custom install add only the missing elements, or re-install the entire server? Thanks in advance for you help.
    Mark

    The instructions you followed were likely for installing on a new machine, not for an existing install.  The items that are selected are what will be installed after you run the installation, so removing options I believe will remove those from the installation.  It may be best to ask this in the architecture forum [here|Business Intelligence Solution Architecture; or to create a case with support.

  • Error when installing java se sdk  6.16

    Hi All,
    while installing java se 6.16 sdk I get this error: " Installer: Wrapper.WriteFile(In small chunks) failed with error 112: there is not enough space on the disk."
    I can not figure this out as my hard drive has 207Gb free.
    any help apreciated.
    Best Regards
    Luis

    I'm seeing exactly the same problem with JDK 6 Update 17 under Windows XP. I've got plenty of disk space. Anyone got any suggestions?

  • Installing Java EE SDK on 64-bit Red Hat Linux

    I've went through a lot of pain to get J2EE SDK / GlassFish server on a AMD64 Red Hat Enterprise Linux 5 server box. Maybe it helps somebody.
    Long story short, it all seems to boil down to the fact that the J2EE Linux .bin (non-RPM) packages Sun provides require a 32-bit JVM running. So if you just installed 64-bit JDK you're toasted.
    Chronicle of pain and solution below:
    Downloaded the Linux packages for full EE5 SDK, also the bundle for GlassFish from http://java.sun.com/javaee/downloads/
    Tried ./java_ee_sdk-5_08-jdk-6u17-linux.bin No luck. First I didn't have libstdc++.so.5 but so.6. I did
    yum install compat-libstdc++-33
    Tried again. It hanged:
    *** glibc detected *** ... double free or corruption error
    Downloaded the JDK RPM version. It worked fine:
    # java -version
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
    Let's go again with EE SDK. Nope. Different error this time:
    *** glibc detected *** ./java_ee_sdk-5_08-jdk-6u17-linux.bin: malloc(): memory corruption: 0x0992d2c0 ***
    Tried setting env variable MALLOC_CHECK_:
    export MALLOC_CHECK_=0
    New error, but no hanging this time:
    Attach to native process failed
    Realized that JDK packages were platform-specific, unlike J2EE packages. Googled this: http://forums.java.net/jive/thread.jspa?threadID=37370
    Downloaded 32-bit JRE (i586, not 64-bit) RPM package and installed it.
    Redirected default java link to 32-bit JRE's JVM:
    cd /usr/java/
    unlink latest
    ln -s jre1.6.0_17/ latest
    Run installer again, explicitly saying where was the JVM the installer needed:
    cd /tmp
    ./java_ee_sdk-5_08-jdk-6u17-linux.bin -javahome /usr/java/jre1.6.0_17
    It worked! :-)
    Then reverted back to JDK's 64-bit JVM:
    cd /usr/java/
    unlink latest
    ln -s jdk1.6.0_17/ latest
    Hope this works for you too.

    This is very close to my problem,
    32 bit Fedora release 11 (Leonidas)
    ls -lh java_ee_sdk-5_08-jdk-6u17-linux.bin
    -rwxrwxr-x. 1 morten morten 161M 2009-11-17 20:18 java_ee_sdk-5_08-jdk-6u17-linux.bin
    md5sum java_ee_sdk-5_08-jdk-6u17-linux.bin
    dc71fc44ce1d10c1a9d53edde4ff858f java_ee_sdk-5_08-jdk-6u17-linux.bin
    should be a correct download.
    chmod a+x java_ee_sdk-5_08-jdk-6u17-linux.bin
    # ./java_ee_sdk-5_08-jdk-6u17-linux.bin
    ./java_ee_sdk-5_08-jdk-6u17-linux.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
    same error as you reports. There was also an error and IIRC an incompatibility with the latest java plug in for firefox .
    # find / -name '*plugin*' -print | grep firefox
    /home/morten/.mozilla/firefox/kpsa4zom.default/pluginreg.dat
    /home/morten/.mozilla/firefox/g59tp699.default/pluginreg.dat
    /usr/lib/firefox-3.5.5/searchplugins
    # find / -name libjavaplugin_oji.so -print
    /usr/java/jre1.6.0_17/plugin/i386/ns7/libjavaplugin_oji.so
    /usr/java/jre1.6.0_17/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
    cd /usr/lib/firefox-3.5.5/searchplugins
    # ls -l | grep java
    lrwxrwxrwx. 1 root root 58 2009-11-17 19:42 libjavaplugin_oji.so -> /usr/java/jre1.6.0_17/plugin/i386/ns7/libjavaplugin_oji.so
    It did not work on first attempt.
    I just wanted to report that similar problems may occur, and I will try your suggestions. If someone knows other details about this topic JDK on Fedora or Red Hat based Linux, please comment.
    The instructions from here:
    How do I download and install Java for my Linux computer?:
    http://java.com/en/download/help/5000010500.xml#rpm
    Java Downloads for Linux Recommended Version 6 Update 17
    did not work as documented. On my 32 bit fedora 11.

  • Installing Java EE SDK over SE SDK

    I am running Java SE 6 on WIndows XP. I have
    Java DB 10.4.1.3
    Java 6 Update 11
    Java 6 Update 7
    Java SE SDK Update 11
    installed.
    1. Do I need to uninstall the SE SDK before installing Java EE 5 SDK?
    2. Is it safe to assume that Java EE SDK is a superset of SE SDK? When I first started learning
    Java I knew I didn't need the EE edition, but now I want to start exploring its features.
    Thanks,
    Mitch

    This is very close to my problem,
    32 bit Fedora release 11 (Leonidas)
    ls -lh java_ee_sdk-5_08-jdk-6u17-linux.bin
    -rwxrwxr-x. 1 morten morten 161M 2009-11-17 20:18 java_ee_sdk-5_08-jdk-6u17-linux.bin
    md5sum java_ee_sdk-5_08-jdk-6u17-linux.bin
    dc71fc44ce1d10c1a9d53edde4ff858f java_ee_sdk-5_08-jdk-6u17-linux.bin
    should be a correct download.
    chmod a+x java_ee_sdk-5_08-jdk-6u17-linux.bin
    # ./java_ee_sdk-5_08-jdk-6u17-linux.bin
    ./java_ee_sdk-5_08-jdk-6u17-linux.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
    same error as you reports. There was also an error and IIRC an incompatibility with the latest java plug in for firefox .
    # find / -name '*plugin*' -print | grep firefox
    /home/morten/.mozilla/firefox/kpsa4zom.default/pluginreg.dat
    /home/morten/.mozilla/firefox/g59tp699.default/pluginreg.dat
    /usr/lib/firefox-3.5.5/searchplugins
    # find / -name libjavaplugin_oji.so -print
    /usr/java/jre1.6.0_17/plugin/i386/ns7/libjavaplugin_oji.so
    /usr/java/jre1.6.0_17/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
    cd /usr/lib/firefox-3.5.5/searchplugins
    # ls -l | grep java
    lrwxrwxrwx. 1 root root 58 2009-11-17 19:42 libjavaplugin_oji.so -> /usr/java/jre1.6.0_17/plugin/i386/ns7/libjavaplugin_oji.so
    It did not work on first attempt.
    I just wanted to report that similar problems may occur, and I will try your suggestions. If someone knows other details about this topic JDK on Fedora or Red Hat based Linux, please comment.
    The instructions from here:
    How do I download and install Java for my Linux computer?:
    http://java.com/en/download/help/5000010500.xml#rpm
    Java Downloads for Linux Recommended Version 6 Update 17
    did not work as documented. On my 32 bit fedora 11.

  • Unable to install Java EE SDK Update 5

    I am not able to install Java EE SDK Update 5. When I run the installer, I am able to get to the "Select Installation Directory" screen. The Installation Directory is I:\Sun\SDK. When I click Next, nothing else happens. I have attempted several times. I have waited for a while each time and nothing happens. The buttons at the bottom of the installer �Back,� �Next,� �Cancel,� and �Help� are not enabled at this point. I can click on the �Browse� button. I can close the installer, which is what I have to do each time. I have also downloaded the application again and tried it and the same thing happens. Does anyone know what the problem might be? Any suggestions?

    I am getting the same problem... anybody help

Maybe you are looking for

  • Some songs dont appear in artist

    hey well i havent had any real troubles with my ipod until now. all thats happening is, i synch my ipod with itunes and it says all my songs are downloaded.. and then when i turn my ipod on, it doesnt show many of the songs in the artists, but shows

  • SAP Database Server

    Hi, I would like to install ECC 6.0 with Oracle 10.0.2.4, but the question is, if is possible to put all databases in one server. DEV + QAS + PRD (DB) in one server and the SAP would be on other server. This instalation will be on Linux, and on the S

  • Can't view Apple ID in iTunes store to apply gift card on iPhone 5-6 plus

    States can't open iTunes store when you click view Apple id, after clicking at bottom of page"account name " -> view Apple ID

  • Which table(object) store web dynpro source code?

    Hello Colleague: As we are try to copy and rename webdynpro  component,the objects which  are used in the component controller method

  • Is it possible to upgrade early?

    If my contract is three months old, and I want to buy the iPhone 6, is there any way to get it for the subsidized price? Can I simple pay an early termination fee to cancel the contract on my line and then get the upgrade price for signing another co