1.4.2 w/ netbeans cobundle

Hi,
I just downloaded the install .exe from java downloads but I get an error when running the install script.
"Another exception has been detected while we were handling last error."
It doesn't dump anything to a file or anything. This happens when I double-click on the .exe on my desktop. I don't do anything else. Anyone else have this problem? Any ideas? I think I tried to install NetBeans once before it didn't go so hot. Maybe there is something sitting around screwing things up? I am running WIndows XP.
Thanks.
Jeff

It doesn't dump anything to a file or anything. This
happens when I double-click on the .exe on my desktop.
I don't do anything else. Anyone else have this
problem? Any ideas? I had a problem installing on Windows XP as well. My solution was to simply not use the cobundle, and instead, install the J2sdk from Sun, and then install Netbeans seperately after downloading the stand alone version from Netbeans.org. That did work for me.
I prefer this way anyway because it keeps the j2sdk seperate from Netbeans. (the cobundle installs the j2sdk under the Netbeans directory rather than in its own root directory.) Maybe not a big deal to most people. I'm probably just anal retentive that way. :p

Similar Messages

  • Java 1.4.2 SDK/Netbeans cobundler doesn't install Webstart?

    According to the docs Webstart is standard for 1.4.x, but while the 1.4.2/NetBeans cobundle install creates a javaws subdirectory in j2sdk_nb, it doesn't install it - no Webstart launcher on the desktop and no auto-loading the launcher when a jnlp file download begins. Just as if webstart wasn't there. Any help how to get this working is appreciated or else I may have to install j2sdk/netbeans separately in order to get the webstart install working...

    The sdk/netbeans bundle contains j2sdk with no public skd.
    (actually it invokes the sdk installer silently, without enabling the install of a public jre.)
    To fix this go into add/remove programs, click on the j2sdk1.4.2 and click on change.
    then you can click on modify, and install the public jre.
    /Dietz

  • Problem of J2SE1.4.2 with NetBeans Cobundle on XP

    I download J2SE v 1.4.2 with NetBeans IDE v 3.5 Cobundle and install it on XP professional.
    Then modify system variable:
    Path: ......;C:\j2sdk_nb\j2sdk1.4.2\bin;......
    Add system variable:
    CLASSPATH: .;C:\j2sdk_nb\j2sdk1.4.2lib\tools.jar;C:\j2sdk_nb\j2sdk1.4.2\lib\dt.jar
    In command window, I can execute javac. BUT when I run java, always get error:
    "Exception in thread "main" java.lang.NoSuchMethodError: main".
    HELP!!! Thanx!

    This sounds like a basic problem with understanding java applications. I suggest you try the tutorial here: http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html
    Your code must have a method named main (java is case sensitive) and it must look exactly like:public static void main(String[] args)The error message you posted indicates that the class you are trying to execute does not have such a method.

  • Trouble Installing J2SEv1.4.2+NetBEans Cobundle

    Hello, please help me with this installation :
    The progress bar seems to stop at 8%, saying please wait... (I waited for about >45 minutes and killed the installation wizard because no hard drive activity was shown).
    How can I do to make it work ? I really don't understand why it won't run properly...
    Thanks in advance.
    Cypriote.

    I have the same Problem! Somebody help PLEASE!

  • Please I can not get a .jar file to run on XP SP3 start/run/cmd/

    I can not get a .jar file to run on XP SP3 start/run/cmd/
    Please help if can figure this out. I'm convinced it is a Windows XP SP3 problem from searching on google and seeing other ppl on XP SP3 with same problem (but no working solution for myself). I'll try to be complete-listing all I've done.
    I had installed: Java SE Runtime Environment v6u14 for Windows Multi-language
    I had checked here it was working properly: http://www.java.com/en/download/manual.jsp
    I'm trying to run this jar file (soht-client-0.6.2.jar):
    http://prdownloads.sourceforge.net/telnetoverhttp/soht-java-client-0.6.2.zip?download
    http://www.ericdaugherty.com/dev/soht/javaclient.html < this is the information for the program.
    (yes the file can be executed and should open the program's window
    I wanted to post screenshot of it but friend that it's working for isn't here)
    _(Please find log of all cmds I did in this post here: http://pastebin.com/f792983df )_
    _I have extracted +'all' the files to: C:\062\+_ (I have tried using other directories, same problem)
    ++I then start/open/run/cmd+
    then I: cd C:\062\+
    then I try various commands - all+ of these do absolutely nothing- meaning no errors, no reply, no window opens, nothing except enters that directoy again:
    java -jar soht-client-0.6.2.jar
    java -jar -client soht-client-0.6.2.jar
    java -client -jar soht-client-0.6.2.jar
    java -jar soht-client-0.6.2.jar soht.properties
    soht-client-0.6.2.jar
    So I try this cmd: java soht-client-0.6.2.jar
    Reply:
    C:\062>java soht-client-0.6.2.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: soht-client-0/6/2/jar
    Caused by: java.lang.ClassNotFoundException: soht-client-0.6.2.jar
    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)
    Could not find the main class: soht-client-0.6.2.jar. Program will exit.
    I try this cmd:
    java -jar soht-client-0.6.2.jar -client
    Reply:
    C:\062>java -jar soht-client-0.6.2.jar -client
    Unable to load configuration file: -client - java.io.FileNotFoundException: -cli
    ent (The system cannot find the file specified)
    SOHT Java Client
    The SOHT Java Client requires a properties file. Either start
    the application in the same directory as the soht.properties
    file, or specify the file name on the command line:
    java -jar soht-cleint-<version>.jar c:\soht.properties
    So then I do these cmds which produce the exact same error/reply just above; Unable to load..:
    j_ava -jar soht-client-0.6.2.jar -client soht.properties_
    java -jar soht-client-0.6.2.jar -client C:\062\soht.properties
    So then I copy soht.properties to C root and do:
    java -jar soht-client-0.6.2.jar -client C:\soht.properties <same error as above
    Then from other information I have read I right click on the .jar file, select open with Always open with:
    _"C:\Program Files\Java\jre6\bin\javaw.exe"_
    Try again.. same problem.
    Then I do cmd:
    _"C:\Program Files\Java\jre6\bin\javaw.exe" -jar "C:\062\soht-client-0.6.2.jar"_
    does nothing, retry the other commands same thing (either nothing or those same replies)
    Then I read (http://forums.sun.com/thread.jspa?threadID=5384879) someone had the same problem as I and they solved it by uninstalling all Java/reboot/ then install JDK 6 Update 14 with NetBeans 6.5.1 start NetBeans and then it worked for them.
    So I unistalled all Java, rebooted and gave the cmd another try (before re-installing), now a new error, of course:
    C:\062>java -jar soht-client-0.6.2.jar
    'java' is not recognized as an internal or external command, operable program or batch file.
    Then I install  Java SE and NetBeans Cobundle (JDK 6u14 and NB 6.5.1) Final Release/ reboot/ open Netbeans/
    go to test java page; all is good, run cmds again -and still nothing..
    C:\062>java -version
    java version "1.6.0_14"
    Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
    Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)
    I reassociate program with: C:\Program Files\Java\jre1.6.007\bin\javaw.exe_
    same thing.. nothing
    Thank you very much for your time :D_
    PS. My computer has been newly reformatted so needing another reformat I'm sure is not the solution.

    Thank you very much for your replies Taggert_77 & swmtgoet_x :D
    Taggert77_: I have never used NetBeans. I only installed it in the bundle as I had read on another post that somehow installing the bundle magically helped another user with the same problem (he didn't know why it worked after that either).
    Before XP SP3 I was able to execute .jar file through cmd prompt. Now I am not.
    This file is executable, grab it and you will see. Here is a screen shot (program in front is FlashFXP, behind is the cmd prompt and what should happen):http://www.freeimagehosting.net/uploads/53273b4ddf.jpg
    swmtgoetx_: I only did the other cmd's to try to make it spit out something, anything lol :D
    The proper cmd is simply: java -jar soht-client-0.6.2.jar
    I did give your cmd a try, and it produced nothing :( (just like the other correct cmds)
    java -client -jar soht-client-0.6.2.jar soht.properties
    Thank you again...the mystery remains
    PS. If you do a search for this you'll find an amazing amount of XP SP3 users with the same problem and no solution posted that I could find except one chap that did the unistall install order that I did above).

  • Missing Java Web Start after 1.4.2 SDK install??

    After doing the full 1.4.2 SDK install on Windows XP SP 1 there is no sign of Java Web Start (no desktop icon, no obvious folder, etc)! Further the appropriate extensions do not seem to be mapped.
    The installed completed without errors and in other respects seems to have worked.
    Can anybody shed any light on the situation?

    I had this problem installing the SDK+netbeans cobundle on my w2k machine. I ended up downloading the two separate install packages, which worked just fine.

  • HELP_ _ JAVA giving me grey hair

    Hi All
    Directory Structure:
    Project -> source
    ->WEB-INF->classes
    ->jsp
    I have created a DatabaseConnectionBean.java file in my source directory.....I would like to compile it the the classes directory USING NETBEANS. How do I do this??
    OR
    I am using XP Pro and the command prompt doesn't recognise the javac command even though I have the j2se/netbeans cobundle installed. How can I fix this???
    I know I am stupid....but I am still having a problem with the environment variable...
    I get this:
    'javac' is not recognized as an internal or external command, operable program or batch file.
    My Path variable:
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\MSSQL7\BINN;C:\Program Files\j2sdk_nb\j2sdk1.4.2\bin\
    Please help even though me is stupid.....
    Regards
    -Ushanta-

    about your problem running javac on command line...
    I don't think you've added your JDK directory to that path (and that's what will be used to find any programs you type in).
    Easiest is to start by going to Start > Search > For Files and Folders, and search for files called javac.exe
    When it finds it, get the location of the file -- it'll be something like C:\Java\j2sdk1.4.2\bin -- ignore any that are found in netbeans' folders*. if you are particularly lazy, like me, right click javac.exe adn choose properties. then you can just select and copy the location to clipboard.
    now right click my computer, choose properties > Advanced tab > Environment Variables. When the dialog comes up, look for the one called PATH in the lower box (system variables), double click it and go to the end of the value in the box by pressing right arrow once. THen type in a semi colon (;) and right clikc and choose paste (or use Ctrl-V) to paste in the location you copied earlier.
    Then click OK and reopen a DOS prompt and type in javac. You should now get the message indicating you haven't specified files to compile.
    (* it may be that you haven't actually installed the JDK from Sun's site - in which case you'll need to do that first)
    gd luck
    phaze

  • Compiling to another directory

    Hi All
    Directory Structure:
    Project -> source
    ->WEB-INF->classes
    ->jsp
    I have created a DatabaseConnectionBean.java file in my source directory.....I would like to compile it the the classes directory USING NETBEANS. How do I do this??
    OR
    I am using XP Pro and the command prompt doesn't recognise the javac command even though I have the j2se/netbeans cobundle installed. How can I fix this???
    Regards
    -Ushanta-
    South Africa(12:05pm CAT)

    http://www.netbeans.org/kb/using-netbeans/35/compiling.html#compiling_files
    Check out the heading: Setting the Target Directory for .class Files
    If you want to be able to compile from the command line, you have to add the [JAVA_HOME]/bin directory into the PATH environment variable (ie the variable that tells windows/dos which places to look to find runnable programs)
    On XP you can set it under: Control Panels: System Properties: Advanced (tab): Environment Variables(button on bottom of tab)
    Cheers,
    evnafets

  • How to install JavaDocs for 1.5.0 SDK?

    Hi all.
    I have installed j2SE SDK 1.5.0 and NetBeans cobundle on SuSE Linux 8.1 pro.
    I'm working through the NetBeans IDE 4.0 Quick Start Guide.
    I get the following error when I click on a pop-up box.
    'Javadoc not found. Either Javadoc documentation for this item does not exist, or you have not added sources or Javadoc to the Java Platform Manager, or the Java Library Manager.'
    Can anyone please tell me where the required files for Javadoc, and the sources are, so that I can install them?
    Regards & TIA - theophilus

    Download and install the JDK documentation from the download page (read the documentation installation instructions.)
    Open Netbeans help and in the Contents, click Working With Javadoc Documentation - Adding the JDK Javadoc to the IDE, and follow the instructions.
    Select the documentation's API directory as the location of the Javadoc files.

  • Java 8 JSE+JDK : Install 32 or 64 bit?

    Hi. A "noddy" installation question...
    With Java 7 it was advised to install Java 32 bit even on a Windows 7 64 bit machine to give 32 bit web browser compatibility.
    Is this still the case for Java 8 JSE and JDK (and Netbeans)? Or have they fixed the browser incompatibilities so that a JSE 64 bit install works ok?
    The Oracle Java 8 installation instructions are unclear on this. They talk only of installing JSE 64 bit on 64 bit Windows and the old 32 bit .v. 64 bit advisory only covers Java 6 and 7 (perhaps because its not been updated for 8) - but it does advise using JSE 32 bit for 32 bit browsers on a Windows 64 bit machine.
    Many thanks.

    Unfortunately my "Answer" (to use the version that suits the browser) is contradicted by a Warning when I tried to install the 32 bit JDK+Netbeans Cobundle
    JDK and Netbeans are NOT your browser. Install whatever you want for Netbeans and general JDK use.
    The JRE used with the browser should, as the advice told you, match the browser (32/64 bit) you are using.
    Use the Java Control Panel to configure the JRE installations that you want the browser to work with.
    The runtime versions you configure AND enable in that panel determine what Java versions are 'active' as far as windows is concerned.
    Go to Control Panel -> Java to open the Java Control Panel.
    Then select the Java tab and 'view' to see the JREs that are configured.

  • NetBeans IDE / J2SE COBUNDLE doesn't install

    I�ve been trying to install the �NetBeans IDE v 3.5.1 with J2SE v 1.4.2 COBUNDLE on Windows platform, but keep running in the following issue:
    Firstly an error:
    message = invalid LOC header (bad signature)
    STACK_TRACE: 30
    java.lang.InternalError: jzentry == 0,
    jzfile = 9890488,
    total = 2016,
    name = C:\TEMP\ENGELBJ\LRE34.tmp\windows.jar,
    i = 1251,
    message = invalid LOC header (bad signature)
    The setup continue after this, extracting some files and a stage �Creating uninstaller� (progress indicator at 1%, directory size 45.7 MB) at then stay there indefinitely. Trying to close the installer reports �The current operation cannot be cancelled�.
    Before stating the obvious, I have downloaded it 4 times already to rule out corrupt download. I have attempted installation twice on W2K SP4 PC�s, once on a W2K SP3 PC and twice on Windows XP SP1 PC�s. One of the W2K PC�s were a fresh install with only the OS and SP�s on it.
    Downloading the separate products and installing them works fine.
    Can anyone confirm if they successfully installed this product?
    Regards

    I did.
    Regards,
    Max

  • Java 1.4.2 with NetBeans IDE 3.5 - Error Message, please help

    Hello, I have downloaded the "J2SE v 1.4.2 with NetBeans IDE v 3.5 Cobundle" for windows.
    I ran the install, everything went fine, but when the install finished it said there was an error and to please refer to the log file.
    Here is what the log file says:
    "Installing J2SDK..."
    "Finished Installing J2SDK..."
    (Jul 1, 2003 7:53:14 AM), Setup.product.install, com.sun.installer.InstallJ2sdkAction, err, Error occured while installing [0] -> D:\Program Files\j2sdk_nb\_uninst\custom-install.bat "D:\Program Files\j2sdk_nb\install.log" "D:\Program Files\j2sdk_nb\j2sdk1.4.2\" D: "D:\Program Files\j2sdk_nb\_uninst"
    Now when I try to run "NetBeans IDE 3.5" I get an error message:
    Cannont load jvm.dll
    Does anyone know how to resolve this, I have tried uninstalling and re-installing and I get the same problem.
    Thanks,
    -Mike

    Hello, I have downloaded the "J2SE v 1.4.2 with
    NetBeans IDE v 3.5 Cobundle" for windows.
    I ran the install, everything went fine, but when the
    install finished it said there was an error and to
    please refer to the log file.
    Does anyone know how to resolve this, I have tried
    uninstalling and re-installing and I get the same
    problem.
    Thanks,
    -MikeHi Mike,
    Even I got a similar error message inspite of trying to re-install atleast 10 times! So I gave up and did this:
    1) I downloded J2SE SDK 1.4.2 seperately.
    2) I then downloded JPad Pro IDE (latest version).
    Now both are working really fine for me. :-) Could'nt be bothered to try again and again.
    Its up to you if you want to get the NetBeans installation done but all I wanted was a good IDE and the latest version of the JDK. I have been using it for the last 3 days and it is working perfectly fine!
    Regards :-)
    Vijay

  • JVM not found when trying to install NetBeans

    Hi all,
    I'm a new SUN Certified Java Programmer and I would like to use NetBeans IDE. j2sdk1.4.1_01 seems to be correctly installed on my system (Windows XP Home Edition) (I can see the little Java animation on the download section of this site) and when I run the NetBeans installer I got a message that says "no corresponding JVM found" :'(
    My Java teacher has told me to create a JAVA_HOME variable in the system environnement variables and to give it the value "D:\j2sdk1.4.1_01" (Windows XP and sdk are installed on D:\). I've done it but... nothing!
    Does anyone have a little idea on how to solve this problem???
    Thanks
    JadB

    Actually, I think the phrase "No JVM found" means the JRE environment has not been setup properly. Most suspicious point is that Tomcat 4/5 doesn't recognise the location of JRE on some Windows platforms. Default location of JRE is C:\program files\java\... and you should notice that there is space in the path which may not be acceptable by some install wizards. You are recommended download a separated copy of JRE and install it on a recognised path, such as C:\J2RE\ . Remember, you should uninstall the previous copy of JRE cobundled with J2SE package before taking any action.

  • JDK 6.0 with NetBeans 5.5

    I downloaded and ran the " Java SE Development Kit and NetBeans IDE Cobundle (JDK 6 / NB 5.5)" package, and as soon as I hit "Next" on the screen where it asks for the installation directory, the installer hangs. Anybody else have this problem?

    Another user had reported a similar issue at:
    http://forum.java.sun.com/thread.jspa?forumID=747&threadID=5116448
    are you facing a similar issue?
    also: http://forum.java.sun.com/thread.jspa?forumID=747&threadID=5116448
    - can u try running the installer with "-is:log <path_to_logifle>" and see if the logfile has any messages?
    - is it possible for you to try running the installer with jdk5 and see if the installation succeeds? During installation, you should be able to choose jdk6 for running the ide itself.

  • Application working under NetBeans but not as a *.jar file

    Hello,
    recently I found a little problem. I wrote application that shows all available ports in my computer. When I am running this applications under NetBeans it works with no problem - finds all available ports. Then I am building it to the *.jar file. Application is working with no problem but command:
    Enumeration PortIds = CommPortIdentifier.getPortIdentifiers();
    is not returning any identifiers - PortIds is empty.
    Anyone knows a solution for this type of problems? Thanks

    Hi Venkatesh,
    Few questions.
    1. What is your JDeveloper version? (Always better to post your JDev version along with the question, which would help us to help you better).
    2. Did you try adding webserviceclient.jar to the classpath? (Search in your JDev installation directory for the location of this jar file).
    -Arun

Maybe you are looking for

  • How can I read pdf files from LabVIEW with different versions of Acrobat reader?

    How can I read pdf files from LabVIEW with different versions of Acrobat reader? I have made a LabVIEW program where I have possibility to read a PDF document.  When I made this LabVIEW program it was Acrobat Reader 5.0.5 that was installed on the PC

  • Windows 8 Audio Problem

    Hi all, I've just installed Windows 8 on my macbook pro 13" early 2011, and while everything works perfecly, my audio does not work at all. The drivers are installed, supposedly, but when I check the device manager, it says that the drive could not b

  • I want to buy an Iphone 5s in the UK to use in Panama, any idea how to check which model I am buyin online? HELP!!!

    Hi, I want to buy an Iphone 5s from the uk apple store online and I will be using it in Panama. I have contacted my carrier (Movistar Panama) and they have given me a list of the Iphone 5s models that will work with their network: Model A1533 (GSM)*:

  • How Do I Create a Bus in Logic Pro 7

    Ok, this maybe a very simple question and before I get torched I have researched this for over an hour and am still none the wiser. I want to create a bus track/tracks. How do I do it? I have tried by using the environment window and arrange window a

  • Slow Macbook Pro 2011

    Since couple of months i'm experiencing a very slow system. 5 seconds to open up Finder.  10 seconds to open a picture...  etc... here's a couple of lines from the console log  ( upon opening the console i also experienced a spinning beachball) 1/03/