Windows Vista vs Java

Got a new PC with Windows Vista. Can I still use Java Version 1.4.2_09 for developing in XI or should I use an newer version?
Thanks.

Carlsen,
Upto my knowledge XI supports very well with Java Version 1.4.2_14.
Best regards,
raj.

Similar Messages

  • Windows Vista and Java

    A contact of mine is trying to learn java programming and has started with the Herbert Schildt book Java A Beginners Guide.
    His OS is Windows Vista onto which he has installed NetBeans and Eclipse.
    He has asked me for help but even though I am a programmer I only use Linux so am not sure that my Vista skills are adequate other than fixing his PATH environment.
    His Java version is:-
    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing)
    His 1st program is:-
    /* This demonstrates a variable.
    call this file Example2.java.
    Class Example2 {
    public static void main(String args[ ]) {
    int var1; // this declares a variable
    int var2; // this declares another variable
    var1 = 1024 // this assigns 1024 to variable 1
    System.out.println("var1 contains" + var1);
    var2 = var1 / 2;
    System.out.println("var2 contains var1 / 2: ");
    System.out.println(var2);
    }but
    javac Example2
    error: Class names, 'Example2', are only accepted if annotation processing
    is explicitly requested
    How does he fix this?
    BTW The above compiles and runs fine on my Ubuntu system....Smile
    Regards,
    Alf Stockton

    straygrey wrote:
    Class Example2 {
    Are you sure that's an upper-case C? If it is, then it's wrong.
    javac Example2
    error: Class names, 'Example2', are only accepted if annotation processing
    is explicitly requested"javac" expects file names, "java" expects class names.
    How does he fix this?
    BTW The above compiles and runs fine on my Ubuntu system....SmileWith which command?

  • Create a file at a Windows Vista using java applets

    I have created a java applet which is downloaded to create local file at a Windows Vista PC. The java codes are:
    File out = new File("c:/users/test/hkuesd.properties");
    FileWriter fw = new FileWriter(out);
    PrintWriter pw = new PrintWriter(fw, true);
    pw.println("#sample property file");
    pw.println("key_path=C:/");
    pw.close();
    fw.close();
    If I turn off "Users Account Control" under "Control Panel" --> "User Accounts", the file "hkuesd.properties" is created at c:\users\test and can be found using windows explorer.
    However, if I turn on "Users Account Control", I can not find the file "hkuesd.properties" using windows explorer. But the file can be detected if I run another java applet program with the following codes:
    File xpdir = new File("c:/users/test/hkuesd.properties");
    FileInputStream fis = null;
    if (xpdir.exists()) {
    try {
    fis = new FileInputStream("c:/users/test/hkuesd.properties");
    Properties p = new Properties();
    p.load(fis);
    fis.close();
    privateKeyPath = p.getProperty("key_path", "no value");
    catch (Exception e) {}
    Interestingly, if "Users Account Control" is on and I created the file "c:\users\test\hkuesd.properties" manually, the file creation codes
    mentioned above seems to create another "hkuesd.properties" at the same "c:\users\test". The evidence is I run the second java applet program which can detect the one created by the first java applet but not the one I created manually.

    I agreed that it is hardly explained in words. I
    suggested to write two
    simple java applets using the codes and you will see
    the effects:
    (1) the first applet can create a file
    "hkuesd.properties"
    (2) cannot find the file using windows explorer to
    search the whole drive.
    (3) However, can read the content of the file using
    second applet.You still haven't address your problem of swallowing exceptions. Your code might be throwing an exception that tells you exactly what the problem is. Change your code to display or log that exception.

  • Firefox 4 on Windows Vista loads java applet for my MOO site then immediately closes Java Console, dumping me from the site, so I have had to go back to Firefox 3.6.17 which works fine

    I have 32-bit Vista Business, with Firefox as my default browser. I recently upgraded to Firefox 4 and found that I can no longer access my VRoma MOO, which uses a Java applet to connect. I can connect to the site, but within 30 seconds the Java Console closes by itself (without my having done anything) and dumps me from the MOO. Following suggestions on this website, I uninstalled two earlier versions of Java which were on my computer and downloaded Java 6.0.25, the latest version. I also disabled previous Java Console extensions in the browser. None of this helped. I can stay connected with IE, and I can stay connected with Firefox 3.6.17, which I have had to install again. This is disturbing, because VRoma has many student users and I don't want them to encounter this problem if they are using Firefox 4.

    Hello Andrew.
    You may be having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not coming from one of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] and select ''Disable all add-ons''. If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and theme. You can troubleshoot plugins the same way.
    If you want support for one of your add-ons, you'll need to contact its author.

  • Java installer in Windows Vista: error 1721

    Hi,
    I cant install java SE in Windows Vista. I get always this error:
    error 1721. There is a probleme with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor.
    Anyone knows how I can solve it? I tryed with other java versions but I get the same error.
    Thanks in advance.

    If all else fails, your Vista could just be screwy.
    If you're willing to go that far, and you've exhausted all other options, you could try reformatting and reinstalling Vista. (Or even XP, since it's way more stable. :D)
    At any rate, this doesn't seem to be the file's problem, as plenty of people have gotten it working.
    Have you installed any ... "distasteful" software on your computer, or tweaked stuff like a hardcore techie? Because it's quite easy to screw with Windows. :)

  • Java Swing application problem in Windows vista

    When we execute the Swing application in windows vista environment.
    The look and feel of the swing components are displayed improperly.
    Do we need to put any specific look and feel for windows vista environment or any specific hardware configuration is required to setup windows vista environment.
    Please give some inputs to solve the problem.
    We have tried with the following sample code to run in windows vista.
    * Vista.java
    * Created on December 5, 2006, 5:39 PM
    public class Vista extends javax.swing.JFrame {
    /** Creates new form Vista */
    public Vista() {
    initComponents();
    pack();
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
    private void initComponents() {
    jButton1 = new javax.swing.JButton();
    jToggleButton1 = new javax.swing.JToggleButton();
    jPanel1 = new javax.swing.JPanel();
    jCheckBox1 = new javax.swing.JCheckBox();
    jScrollPane1 = new javax.swing.JScrollPane();
    jTextArea1 = new javax.swing.JTextArea();
    jTextField1 = new javax.swing.JTextField();
    getContentPane().setLayout(null);
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    jButton1.setText("Button 1");
    getContentPane().add(jButton1);
    jButton1.setBounds(20, 20, 170, 30);
    jToggleButton1.setText("Togle btn");
    getContentPane().add(jToggleButton1);
    jToggleButton1.setBounds(100, 80, 90, 20);
    jPanel1.setLayout(null);
    jCheckBox1.setText("jCheckBox1");
    jCheckBox1.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
    jCheckBox1.setMargin(new java.awt.Insets(0, 0, 0, 0));
    jPanel1.add(jCheckBox1);
    jCheckBox1.setBounds(10, 40, 130, 13);
    getContentPane().add(jPanel1);
    jPanel1.setBounds(10, 150, 200, 130);
    jTextArea1.setColumns(20);
    jTextArea1.setRows(5);
    jScrollPane1.setViewportView(jTextArea1);
    getContentPane().add(jScrollPane1);
    jScrollPane1.setBounds(210, 150, 164, 94);
    jTextField1.setText("jTextField1");
    getContentPane().add(jTextField1);
    jTextField1.setBounds(240, 30, 140, 30);
    pack();
    }// </editor-fold>//GEN-END:initComponents
    * @param args the command line arguments
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new Vista().setVisible(true);
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JCheckBox jCheckBox1;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTextArea jTextArea1;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JToggleButton jToggleButton1;
    // End of variables declaration//GEN-END:variables
    }

    When we execute the Swing application in windows
    vista environment.
    The look and feel of the swing components are
    displayed improperly.Improperly means what? You must be aware that Vista's native L&F certainly isn't supported yet.

  • SAP NetWeaver 04s SP9 for JAVA Installation problem on Windows Vista

    Hi Guys,
    Firstly, anyone installed WAS on Windows Vista home version?
      I have gone thru couple of postings in the SDN and disabled firewall but no use.
    here is link :   Port 21212 error : Couldn't install 2004s
      When I am trying to install, getting below problem.
    Error log
    <b>SAPinst is not available on localhost:21200
    Connection to SAPinstAdapter could not be established, see following messages.
    Could not connect to host localhost on port 21200
    Java.net.ConnectionException : Connection refused: connect</b>
    Thanks in advance for your quick reply....
    Prs.

    Hi Anand & Mahesh,
      Thanks for the quick reply.
    Any one of you got a chance to install NW04S 2007 or New York on Windows Vista?
    I think suggested one not available in SDN I guess.
      If I am not wrong, I can get it from Service.sap.com....
    Can you give me the complete path in the service.sap.com if you know....
    If this would not click, alternatively I am planning to change my operating system to Windows XP, this is not a good idea but I dont have option.
    Thanks in advance for quick reply.
    Regards
    Prs

  • Windows vista 64 bit and Java 6

    Hi,
    I am having issues getting Java 6 update 7 to install/run properly. I am running Windows Vista home premium, 64 bit. After I install the software and try to launch an app (ASDM), it says that Java is not installed. I downloaded and installed the software from the archived folders from the sun.com site. Under my programs and features, I see Java(TM) SE Runtime Environment 6 update 7 installed but the Publisher is listed as ##ID_STRING_COMPANY_NAME##. I am not sure if this has anything to do with the problems I am having. When I install update 11, then my apps launch properly (and the correct publisher is listed) but my ASDM does not interact correctly with updates 10 and 11. I am unable to update the ASDM software at this time. Does anyone have any ideas as to why update 7 is not installing or running properly?
    Thanks in advance.
    Did a little more research and discovered that the 64 bit version had some bugs and did not set certains paths and certain applications would not run properly. Does anyone know if there are workarounds posted for these issues?
    Edited by: Kweewee on Jan 12, 2009 1:12 PM

    I am having the same problem
    I'm trying to take and online class and am having Java issues there because of it.
    Did you ever get an answer?
    Thanks for any help you can offer.
    Mary

  • Java-plugin for windows vista question

    Hello,
    What is the best java -plug ins for the windows Vista OS in the client? Is JRE 1.6 is good or we need to get anything higher? we have currently jre1.6 but at startup itis giving some problem.
    does anybody uses window vista as clint ? if so what is your java-plug in?
    appreacite for the answer
    Thanks
    Edited by: Josh Samuel on Jan 12, 2009 8:06 AM

    Highest Version of JRE would be 1.6.0_11. But there exists some very annoying Bugs with Forms and Update 10 and 11 of the 1.6 Java Runtime. At the moment we use 1.6.0_07 for our Forms which runs fine (and advise our customers to turn Java Update off ;-))
    regards

  • Java web start in Windows vista

    Hi,
    1)
    When i tried to launch my Java Web start application in Windows Vista (32bit) With Jre 1.6_06 the java web start did not loaded. the process terminates at certain points.
    By Remote debugging got to know,: It was exiting the application at different points at different time
    At some points it says ClassNotFoundException. No logs at cache location also.
    Is it due to the jars are not loaded properly?? Jnlp is pasted bellow
    2) another problem here is the system did not have the jre installed earlier. how does system identified the jnlp file format if no jre available first time??
    So rather auto download I have installed jre manually and was launching the application
    thanks a lot,
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp
      spec="1.0+"
      codebase="$$codebase" href="main.jnlp">
      <information>
        <title>Panel</title>
        <vendor>nc.</vendor>
        <homepage href="/index.html"/>
        <description>Panel</description>
        <description kind="short"></description>
         <icon href="$$context/images/Logo.gif" width="64" height="64" kind="default"/>
         <icon href="$$context/images/topLogo.jpg" kind="splash"/>
        <shortcut online='true'>
          <desktop/>
          <menu submenu="Panel"/>
        </shortcut>
        <related-content href="jar:app.jar!/conf/readme.pdf">
         <title>Readme</title>
         <icon href="images/Logo.gif"/>
      </related-content> 
      </information>
         <security>
          <all-permissions/>
       </security>
      <update check="always" policy="always"/>
      <resources>
            <java version="1.6.0._05+"  href="http://java.sun.com/products/autodl/j2se"/>
         <jar href="app.jar" version="1.0+" main="true"/>
         <jar href="common.jar" version="1.0+" download="lazy" main="false"/>
         <jar href="ext.jar" download="lazy" version="1.0+" download="lazy" main="false"/>
         <property name="jnlp.url" value="$$context/url"/>
      </resources>
      <application-desc main-class="com.app.MainPanel"/>       
    </jnlp>

    >
    2) another problem here is the system did not have the jre installed earlier. how does system identified the jnlp file format if no jre available first time??>See the latest [deployment advice|https://jdk6.dev.java.net/deployment_advice.html#JavaScript_used_for_deploying_Ja].
    Edited by: AndrewThompson64 on Jun 22, 2008 1:20 AM

  • Java 3D in windows vista

    I am totally new to Java 3D and using it, although I do have to learn it for a project.
    The only help I need is a step-by-step guide as to how to set up Java 3D on a Windows Vista 64 bit system.
    I don't know how to go about setting it up, what I need or what I need to download in order to start, and having a set-up that allows me to write my prgrams and then compile.
    Any help would be greatly appreciated!
    Thanks

    I have already realised the error of my ways, and have re-posted this at the Java 3D forum, but I would still appreciate any help, thanks again!

  • Java command in windows vista x64

    I have installed the latest jdk on a 64 bit windows vista machiene and the java console commands wont work. Whenever I type java or javaw into a command prompt, I get a 'java' is not reconised... error. I believe this is what is preventing me from installing Eclipse as well.

    Nevermind, I figured out what was wrong. I have 64 bit vista and apparently the eclipse I downloaded was 32 bit. Since I cant find a 64 bit eclipse (it probably exists, I just cant find it) I installed a 32 bit jdk and it works now.
    Thanks!

  • Windows Vista "java.lang.ClassNotFoundException: loader.class" error.

    Hello,
    Whenever I try to visit websites that have a java applet I get a dialogue with the following error:
    java.lang.ClassNotFoundException: loader.class.
    I have tried uninstalling/reinstalling java, and also adding the -xmx and -xms parameters for java applet runtime setting in control panel with various values from 128m to 1g.
    The applet at http://www.java.com/en/download/installed.jsp?detect=jre&try=1 does work and reports "CONGRATULATIONS, you have the Latest version of Java!", "Java Runtime Version 1.6.0."
    I have been experiencing this problem ever since I installed Windows Vista Home Premium a day or two ago. Any help is appreciated.
    Regards
    Greg
    =====================================
    Full output from Java Console
    =====================================
    Java Plug-in 1.6.0
    Using JRE version 1.6.0 Java HotSpot(TM) Client VM
    User home directory = C:\Users\Greg Taylor
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    load: class loader.class not found.
    java.lang.ClassNotFoundException: loader.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    java.lang.ClassNotFoundException: loader.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more

    ive been having the same problems, if youve resolved this problem, please tell me.
    all help is appreciated

  • SAP NetWeaver 2004s Java Trial Version on Windows Vista

    Hello everyone,
    I have been trying to install SAP NetWeaver 2004s Java Trial Version for three days now on Windows Vista Ultimate. Since Microsoft has a new security infrastructure implemented in Windows Vista, it is not that easy to install SAP NetWeaver 2004s Java Trial Version. Windows Vista has some sort of User-account security. In summary, in Windows Vista, you are logged in as an administrator, but when it comes to change system files or do registry entries, you or respectivly third party programs (e.g. SAP NetWeaver 2004s Java Trial Version installer) has no rights to do things like registry entries. There is a possibility to rightclick on the setup.bat file and start it in administrative mode, but that doesn't change a thing.
    I hope you guys get my problem.
    This is the error log:
    WARNING 2007-01-28 21:09:35
    Error 5 (acces denied
    ) in execution of a 'RegOpenKeyEx' function, line (69), with parameter (SYSTEM\CurrentControlSet\Services\DPS).
    WARNING 2007-01-28 21:09:35
    The Subkey 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DPS' does not exist on the 'localhost' host.
    ERROR 2007-01-28 21:09:35
    MOS-01185  The subkey 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DPS' does not exist on the 'localhost' host.
    ERROR 2007-01-28 21:09:35
    FCO-00011  The step collect with step key |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0|collect was executed with status ERROR .
    Please help!
    yours
    erik

    Windows Vista isn't on the support matrix of SAP Netweaver 2004s!
    you may play arround with regedit and chaning the security settings of SYSTEM\CurrentControlSet\Services\DPS key. SAPinst is doing a KEY_ALL_ACCESS when enumerating the services registry.
    Starting with Vista some registry values have special protection which do not allow administrators to open them with KEY_ALL_ACCESS.
    peter

  • Problems Installing Java Studio Enterprise 8.1 - Windows Vista

    I am entirely new to the Java language and environment. I am trying to install the JSE 8.1. First I installed JDK 6.4 (jdk-6u4-windows-i586-p.exe), which seemed to go OK. Then I attempted to install the JSE (jstudio_ent81-ml-windows.exe).
    First, it did not find a JRE and prompted me to specify, which I did (specified the java.exe within the JDK (Program Files/java/jdk1.6.0_04/bin). The installation continued for a while and then it tells me that "it cannot run the installer in graphical mode - check the DISPLAY environment variable". At this point is closes and that's the end of it. I see no trace of either the JDK nor the JSE in the Start/Programs folder.
    Am I doing something wrong? Is Vista a non-starter?
    Thanks,
    Kevank

    Kevank,
    Thank you for trying out Sun-sponsored Java developer tools. However in the case of Java Studio Enterprise (JSE) there are two issues here:
    1) JSE is not supported on the Windows Vista OS and probably will not run correctly even if it were installable, see http://developers.sun.com/jsenterprise/reference/docs/jse8_1/sjse_relnotes81.html and
    2) The latest Java developer tools technology is to be found in the free NetBeans 6.0 IDE at http://www.netbeans.org/ . It is strongly recommended, especially if you are a developer new to Java, that you start out using the NetBeans IDE, which is not only supported on Vista (see http://www.netbeans.org/community/releases/60/relnotes.html#system_requirements ), but also contains the Java Enterprise application development features found in JSE, see http://www.netbeans.org/features/ .
    If you have any questions on this please feel free to let us know on the forum.
    Regards,
    -Brad Mayer

Maybe you are looking for

  • I am facing problem with adobe illustrator cc in windows 8,it closes automatically after few secons,please help

    I am facing problem with adobe illustrator cc in windows 8,it closes automatically after few secons,please help [ link removed by moderator ]

  • Using java.io.* in JSPs

    What are the minimum requirements (Oracle user access permissions, Solaris file system permissions, etc.) for reading files through java.io in a JSP in Oracle 8.1.6? My code can read a local file when deployed as a standalone app on NT (using thin dr

  • Audio Fades

    just upgraded from CS3 to CS4. Tried doing both power and gain audio crossfade on cs3 and cs4, but nothing works. The volume is always at "max" and there is no fade. I also tried the log fade on CS4 , but nothing. Should "volume" always be an audio e

  • Editing slideshows

    Would really like to add slides to my slideshow. Have exported the file to .wmv format and now when I bring the file back into the PSE6 'create slideshow' area I cannot find a way to storyboard the file. Only the opening slide is seen, would like to

  • Nokia E51 struct in offline mode....

    Hi, My Nokia E51 structs in offline mode...when I try to switch to general or other profiles.. E51 hangs & switches off.I have given it to Nokia customer care.. But they couldn't able to resolve it... As offline mode.. Music player & otherthing works