Simple java question, help please

please help
-i am just starting out in java and im havin an early problem. Im trying to run a small java script from a commant prompt but im getting the following error after i enter this command at my prompt
c:\javatest>javac HelloARP.java
javac is not as an internal or external command, operable program or batch file.
when i enter
c:\java -version
i get the following message: registry key software\javasoft\java runtime enviornment\current version has value of 1.1 but 1.4 is requiured
error: could not find java.dll
error: could not find java 2 runtime enviornment
-im sure this is a simple error on my part. all im trying to do is run my first lil program that i saved in notepad, its only 5 lines long. here is the lil test program im trying to execute
class HelloARP {
public static void main (String[] arguments) {
System.out.println("What's good ARP?");
- all responses and help are welcomed. Thank you ahead of time for anyone that can help me get started.

Hi
First of all uninstall your current JDK installation, if you can get to the registry delete the registry entries for the old version of java which was there on your machine.
Now do a fresh install of your j2sdk1.4.1, make sure that you will install the JRE with the J2SDK1.4.1.
Once you are done, set your classpath in autoexec.bat if you are using Windows 95/98
or set your environment variables if you are using Win NT/2000/XP.
If using solaris or other unix flavors see the included installation instructions provided.
Let me if you face the same problem.
Thanks
Swaraj

Similar Messages

  • Very simple java project (help please)

    Hello. For a project I have to somehow use MouseListener to make something. My idea was to have a rectangle in which a circle (hockey puck) follows the user's mouse and whenever the user places the circle into a certain area the count goes up by one (like a game of hockey). If someone could give me some idea as to where I should start it would be greatly appreciated.
    My thanks

    This is alwyas [a good place to start|http://java.sun.com/developer/onlineTraining/] when you don't have a clue what's going on, and here if you need specifics on MouseListener. And to get movement, then you'll probably want to look here.
    Once you have some code and specific questions, literally almost everyone on here will be willing to help you further along the way. When you post code, please use code tags.

  • New/Additional phone line question- help please!

    Hi
    I am after some advice, and every time I call BT I get passed around as I am not 100% on what to ask for, or who I should speak to.
    Basically, we have 2 phone lines coming into the house.  One line/number + broadband signal goes via a repeater to the office which is a separate building across the garden (approx 300m but I am not sure on the actual distance).  The signal is not great, for the broadband particularly - often drops out etc.  To solve this we would like a new physical line installed in the office building to give us a separate phone and broadband package to that of the main house, but ideally keeping the same number as we currently use in the office.  The office is used everyday for working from home and so is important to us.
    Does that make sense?  I fully expect that an engineer will need to look at the site, and there will be a (significant) charge for the line to be installed (underground pipe work for cables already exists from house to office building and so this could be utilised).  Do I just place an order for a new line online, and wait for an engineer's visit?  Can I deal with changing the number at a later date if that is easier for the system to deal with?  Last time I rang BT, I was told I needed to speak to the exceptions team, when I was put through to them she told me all I needed to do was speak to customer services, customer services thought I was trying to move home and then didn't seem to understand what I needed (but it was probably how I was explaining it!).
    I would be so grateful if someone could point me in the right direction, or give me tips on what to ask for.  My main worry is keeping the same phone number as it would be so much easier.
    Thanks in advance
    MPA

    this link may help http://www.openreach.co.uk/orpg/home/network/whoar​eyou/selfbuild/selfbuild.do
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • At a loss with some simple java classwork. Please help.

    Hello. I'm having a problem with some work that I wasn't able to finish in class. I am not very good at java AT ALL, and I'm really at a loss on how to finish up the program and get it to print what I want it to.
    My task is:
    "Write a program that asks for two words and then eliminates the second word from the first word.
    For example:
    forgot - go = fort
    bedevil - bed = evil
    bedevil - evil = bed
    stupid - is = Hey, is is not found in stupid."
    This is my code so far:
    public class wordSubtraction
         public static String big = "bedevil";
         public static String small = "bed";
         public static void main(String[] args)
              elimWord(String big, String small);
         public static void elimWord(String big, String small)
              if(big.indexof(small)==-1)
                   System.out.println(small + " isn't found in " + big);
              else
                   big.substring(0, indexOf(small));
                   small.substring(indexOf(small)+small.length());
                   System.out.println(small + " + " + small.substring + " = " + big);
    I keep getting this error:
    /Users/mewmew/Desktop/wordSubtraction.java:8: ')' expected
              elimWord(String big, String small);
                                    ^
    1 errorI don't understand what this error means or how to fix it, it looks like I have all the parenthesis in there to me. Deleting or adding semi-colins, parethesis, brackets, or curly brackets just seems to give me more errors.
    Any help is appreciated!

    No it's not JJEdit. The errors are a good thing -
    and each one has to be
    dealt with. When you call a String method various
    things have to be
    correct:
    (1) The name of the method - case is important.
    (2) The arguments - the things in the parentheses -
    have to be exactly
    the sort of thing that the method expects. For
    example if the method
    expects an int argument and you give it a String
    there will be problems
    (3) The methods must be called using a String
    variable and a dot. If
    you just say "substring(whatever)" that's an error.
    The compiler is
    saying "substring of what?" You have to write
    "something.substring(whatever)"
    Also - because it will be important later - both
    substring() and indexOf()
    return a value. It is up to you to do something with
    that value. Usually
    you assign it to a variable.
    Just for the record I got the follow from the String
    API doumentation here:
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Stri
    ng.html
    public int indexOf(String str) Returns the index
    within this string of the
    first occurrence of the specified substring.
    public String substring(int beginIndex) Returns a new
    string that is a
    substring of this string. The substring begins with
    the character at the
    specified index and extends to the end of this
    string.
    public String substring(int beginIndex, int
    endIndex)Returns a new
    string that is a substring of this string. The
    substring begins at the
    specified beginIndex and extends to the character at
    index endIndex - 1.
    I would suggest you write elimWord() along these
    lines:public static void elimWord(String big,
    String small)
    int pos = // find the index of small in big
    if(pos == -1)
    System.out.println(small + " isn't found in "
    und in " + big);
    else
    String before = // find the bit before small
    re small in big
    String after = // find the bit after small in
    small in big
    System.out.println(big + " - " + small + " =
    ll + " = " + before + after);
    Thank you! That's very helpful and I feel that I'm THAT much more on my way to understanding what the heck I'm doing.
    I'm trying, though...
    Now I just gotta find out how to get the bits before and after small in big and solve these errors:
    /Users/audreyeckel/Desktop/wordSubtraction.java:24: '.class' expected
              int pos = big.substring(0, int indexOf(small));
                                                   ^
    /Users/audreyeckel/Desktop/wordSubtraction.java:24: ')' expected
              int pos = big.substring(0, int indexOf(small));
                                                                  ^
    2 errorsI just hope I can finish it before it gets TOO late...it's about 2:26 AM here and this is due...TODAY!

  • A simple mouse question. Please help me!

    Hi!
    Could someone please tell me if it is possible and how can I have CUSTOM MOUSE CURSORS under jdk1.1.8? (warning! I am not talking about jdk1.2.2 or later. createCustomCursor of java Toolkit doesn't work)
    For example if I can have an image or icon in the place of the mouse cursor. Again I am talking about jdk1.1.8 or earlier and NOT jdk1.2.2
    Thanx
    Athan

    Dear Athan,
    I don't think its possible to do this on such an early release of Java. At this time Java was using peers to create GUI functionality (the peers being GUI components that are controlled by the native OS). This means that any functionality that is possible on the native OS is unavailable if Java does not have the methods/classes with which to access it.
    The Cursor class I believe is available in jdk1.1.8 however as you point out the Toolkit method for creating a custom cursor is unavailable until 1.2.
    I know you probably knew this anyway but since no-one had posted I thought I might.
    Regards,
    Mark :�)

  • Help for simple java question

    May i know how to set the image .jpg or gif into the label ?
    how to get the time in this format::Monday 12th Jan 2004
    thanks

    Hi,
    If i want click the button then the image of the JLabel will be change.. how to write in syntax?
    i know the c1 = new JLabel(new ImageIcon("sysImage/Send.gif"));
    but i want another image after click command button.
    is it c1.setImageIcon("abc.gif"); ? i try,but error..
    how to apply the date fill into syntax? i not really know read the API
    thanks

  • Stupid Java Question (Help Needed!!!)

    I have a piece of Java Code that dynamically builds a SQL statement (including VARCHAR2 columns). Oracle gives an error if my string has a single quote in it. I need to replace each single quote with two single quotes in Java, i.e. I need a Java equivalent of PL/SQL REPLACE function.
    Java str.replace only replaces an individual character (see below).
    String l_str = "O'Hara";
    String l_str2 = l_str.replace('\'', '\'');
    I need to replace "O'Hara" with "O''Hara". Any help is appreciated

    Please don't post same question on both forums.
    Please find the answer at:
    Re: ORA-09004

  • Simple Java Question 2

    hey everyone!
    im stuck, on the math part.
    i need to add a formula to my applet, x = y*z, for example. For fixed values of y and z. So lets say y = 5 and z= 3. How do i get "15" to be displayed when an applet is started.
    I have looked through java.math but did come across anything but complicated stuff.
    your help is very appreciated.

    int y = 5, z = 3;
    System.out.println(y*z); //prints out '15'This will be printed out to standard output (the shell), for an application.
    I'm not sure how you want to print this using your applet.
    But the main point is that simple maths can be done using operators on primitive data types (int, byte, short, double, long, ) Check out this important resource.
    I recommend you read the whole tutorial, or at least the following sections:
    Learning the Java Language
    Writing Applets
    Writing Swing Applets
    regards,
    lutha

  • I grab a null frame.  Can a Java genious help, please?

    Hello. I am a high school student working on a science fair project. Right now I am using JMF to grab a frame from my ATI TV Wonder USB. The code below accesses the TV Wonder but it seems like I get a null frame because I have put a if statement in the code and it says I have a null image there. Can someone please help me. Thank you in advance
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.text.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.media.*;
    import javax.media.format.*;
    import javax.media.util.*;
    import javax.media.control.*;
    import javax.media.protocol.*;
    import javax.media.control.FormatControl;
    public class Cell extends JApplet implements ActionListener{
         JLabel welcomeLabel;
         JTextArea output;
         JButton close;
         String display = "";
         String exit = "The video capture buffer has been terminated.";
         String problem = "";
         String videoDevice = "vfw:Microsoft WDM Image Capture (Win32):0";
         public static Player player = null;
         public Buffer buf = null;
         public Image img = null;
         public VideoFormat vf = null;
         public BufferToImage btoi = null;
         public MediaLocator ml = null;
         public CaptureDeviceInfo di = null;
         public void init()
              Container c = getContentPane();
              c.setLayout( new FlowLayout() );
              welcomeLabel = new JLabel("Welcome to Adam's Cell Analyzer");
              c.add(welcomeLabel);
              output = new JTextArea(6, 60);
              output.setFont( new Font("Courier", Font.PLAIN, 12) );
              c.add(output);
              close = new JButton("End Analyze Program");
              close.addActionListener(this);
              c.add(close);
              display = "Starting...\n\n";
              output.setText(display);
              di = CaptureDeviceManager.getDevice(videoDevice);
              ml = di.getLocator();
              try {
                   player = Manager.createRealizedPlayer(ml);
                   player.start();
                   Component comp;
              catch (Exception e) {
                   problem += "An Exception has occured.";
                   output.setText(problem);
              FrameGrabbingControl fgc = (FrameGrabbingControl)
                   player.getControl("javax.media.control.FrameGrabbingControl");
              buf = fgc.grabFrame();
              btoi = new BufferToImage((VideoFormat)buf.getFormat());
              img = btoi.createImage(buf);
              display += "The video capture card is currently working properly\n";
              display += "and is sending a video feed to the image buffer.\n\n";
              output.setText(display);
              if(img==null){
                   problem += "The frame is null.";
                   output.setText(problem);
              else
                   imageEnhancement(img);
         public void actionPerformed(ActionEvent e)
              output.setText(exit);
              player.close();
              player.deallocate();
         private void imageEnhancement(Image img)
         //Nothing now     
    }

    I decided to post my program on here because I remember how hard it was to get it to work, and I don't want people to go through the same problems... just don't use it to compete against me in the Intel Science and Engineering Fair and/or the Intel Science Talent Search ;-) then I'll be mad. Other than that, have fun!
    ~Adam Georgas
    import java.awt.*;
    import java.awt.Dimension;
    import java.awt.event.*;
    import java.awt.Image.*;
    import java.awt.image.renderable.*;
    import java.io.*;
    import java.text.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.media.*;
    import javax.media.format.*;
    import javax.media.format.VideoFormat;
    import javax.media.util.*;
    import javax.media.util.BufferToImage;
    import javax.media.control.*;
    import javax.media.protocol.*;
    import javax.media.control.FormatControl;
    public class Cell extends JApplet implements ActionListener{
         JLabel welcomeLabel;
         JTextArea output;
         JButton begin;
         JButton end;
         String display = "";
         String problem = "";
         String exit = "The video capture buffer has been terminated.";
         String videoDevice = "vfw:Microsoft WDM Image Capture (Win32):0";
         public static Player player = null;
         public Buffer buf = null;
         public MediaLocator ml = null;
         public CaptureDeviceInfo di = null;
         public BufferToImage btoi = null;
         public Image frameImage = null;
         public VideoFormat vf = null;
         public PlanarImage src = null;
         private ImageEncoder encoder = null;
    private JPEGEncodeParam encodeParam = null;
         int error = 0;
         public void init()
              Container c = getContentPane();
              c.setLayout( new FlowLayout() );
              welcomeLabel = new JLabel("Welcome to Adam's Cell Analyzer");
              c.add(welcomeLabel);
              output = new JTextArea(6, 60);
              output.setFont( new Font("Courier", Font.PLAIN, 12) );
              c.add(output);
              begin = new JButton("Begin Analyze Program");
              begin.addActionListener(this);
              c.add(begin);
              end = new JButton("End Analyze Program");
              end.addActionListener(this);
              c.add(end);
              di = CaptureDeviceManager.getDevice(videoDevice);
              ml = di.getLocator();
              try {
                   player = Manager.createRealizedPlayer(ml);
                   player.start();
              catch (Exception b) {
                   JOptionPane.showMessageDialog(this, b.toString(),
                        "An Exception has occured", JOptionPane.ERROR_MESSAGE);
              display = "Welcome\n\n";
              output.setText(display);
         public void actionPerformed(ActionEvent e)
              JComponent j = (JComponent) e.getSource();
              if (j == end){
                   player.close();
                   player.deallocate();
                   output.setText(exit);     
              if (j == begin){
                   display += "Starting...\n\n";
                   output.setText(display);
                   Control[] controls = player.getControls();
                   FrameGrabbingControl fgc = (FrameGrabbingControl)
                        player.getControl("javax.media.control.FrameGrabbingControl");
                   if (fgc == null) {
                        error = 1;
                        problem(error);
                   buf = fgc.grabFrame();
                   btoi = new BufferToImage((VideoFormat)buf.getFormat());
                   if (btoi == null){
                        error = 2;
                        problem(error);
                   VideoFormat format = (VideoFormat)buf.getFormat();
                   Dimension size = format.getSize();
                   if(format == null) {
                        error = 3;
                        problem(error);
                   frameImage = btoi.createImage(buf);               
                   if(frameImage == null) {
                        error = 4;
                        problem(error);
                   else{
                        display = "";
                        display = "The video system is working correctly and grabbing frames.\n\n";
                        output.setText(display);     
         public void imageEnhancement()
    //Top Secret :-)
         public void problem(int error)
              switch(error) {
              case 1:
                   JOptionPane.showMessageDialog(this, "The frame grabbing control is null.",
                        "A problem has occured", JOptionPane.ERROR_MESSAGE);
                   break;
              case 2:
                   JOptionPane.showMessageDialog(this, "The buffer to image conversion did not occur properly.",
                        "A problem has occured", JOptionPane.ERROR_MESSAGE);
                   break;
              case 3:
                   JOptionPane.showMessageDialog(this, "The image format queries did not occur properly.",
                        "A problem has occured", JOptionPane.ERROR_MESSAGE);
                   break;
              case 4:
                   JOptionPane.showMessageDialog(this, "The buffer to image did not occur properly.",
                        "A problem has occured", JOptionPane.ERROR_MESSAGE);
                   break;
              case 5:
                   JOptionPane.showMessageDialog(this, "Java AWT Image to JAI Image did not occur properly.",
                        "A problem has occured", JOptionPane.ERROR_MESSAGE);
                   break;
              default:
                   JOptionPane.showMessageDialog(this, "An unknown problem has occured.",
                        "A problem has occured", JOptionPane.ERROR_MESSAGE);
    }

  • Java mapping help please

    Hi all,
    I need help with java code please.
    My source is a csv file and target is multiple idocs.
    Source file structure is as follows:
    Header (field 1, field 2, ........ field 10)
    Item 1a (field 1, field 2, field 3, .........    field 180)
    Item 1b (field 1, field 2, field 3, .........    field 180)
    Item 2a (field 1, field 2, field 3, .........    field 180)
    Item 2b (field 1, field 2, field 3, .........    field 180)
    Item na (field 1, field 2, field 3, .........    field 180)
    Item nb (field 1, field 2, field 3, .........    field 180)
    First line is header. Second is VAT line. Third is Price line for that VAT. Now VAT and Price lines repeat. There need not be VAT line for non-European countries. So a VAT line may or may not preceed a Price line.
    For example: the lines can be like:
    Header
    VAT1
    Price1
    VAT2
    Price2
    Price3
    1) Now, it should produce 3 idocs like:
    Header, VAT1, Price1
    Header, VAT2, Price2
    Header, Price3
    2) One idoc should be created per a pair of VAT and Price lines and they will be identified by a co-relation of a particular field. So first I have to sort all the lines based on this field value. Then I have to read the lines in pairs. If no Vat line, I should just read the Price item and produce an idoc.
    Can you please help me with the java code for this?
    Many thanks in advance.
    Ramesh.

    Many thanks Ram.
    The reason for thinking to go for java mapping is that there is no keyfield for price line. The source file is a pipe delimited csv file. There is a keyfield for VAT line. The same field will be empty for the Price line. I am trying to ask them to at least provide a space for that field between the pipes for price line so that I can use in FCC. It looks like they can't modify the source file.
    Any inputs please?
    Regards.
    Ramesh.

  • JAVA QUESTIONS HELP!!!!!

    Hi there im a student and have an exam on java coming up next week, i have a few past paper questions that im stuck with if anyone can help that would be great.....
    1.) Java implements generic types by erasure: what does this mean?
    A. The compiler removes references to parameter types and inserts casts wherever return types refer to parameter types.
    B. The programmer must comment out references to parameter types before code is compiled.
    C. The compiler removes any casts that may be type-unsafe. 􀀀
    D. The compiler removes any references to parameter types and inserts references to the closest super class that will make expressions type-safe.
    E. Any type-unsafe casts to parameter types will be ignored by the interpreter at run-time.
    2.) In Remote method Invocation, what is meant by �marshalling�?
    A. Marshalling is the process of synchronizing all parameters to the method being invoked, in order to
    prevent data corruption arising from the concurrent method call. 􀀀
    B. Marshalling is the process of sending a copy of the remote object to the client JVM in order to
    invoke its method locally. 􀀀
    C. Marshalling is the process of sending the state of the client JVM on a byte stream to the remote
    object in order that the JVM can be started as a separate thread on the remote host. 􀀀
    D. Marshalling is the process of suspending the current thread in the client JVM until a result is obtained
    from the remote method invocation. 􀀀
    E. Marshalling is the process of sending the state of all parameter instances on a byte stream to the remote object.
    3.)What is the immediate superclass of javax.swing.JFrame?
    A. java.lang.Object 􀀀
    B. javax.swing.Window 􀀀
    C. javax.swing.JComponent 􀀀
    D. java.AWT.Window 􀀀
    E. java.AWT.Frame
    4.) What is the immediate superclass of javax.swing.JComponent?
    A. java.lang.Object 􀀀
    B. java.AWT.Component 􀀀
    C. java.AWT.Container 􀀀
    D. java.AWT.Window 􀀀
    E. javax.swing.Object
    5.) Which of the following statements about the java.AWT and javax.swing packages is true?
    A. All components in both packages are thread-safe􀀀
    B. Most components in both packages are thread-safe􀀀
    C. Most components in java.AWT are thread-safe, but most in javax.swing are not􀀀
    D. Most components in javax.swing are thread-safe, but most in java.AWT are not􀀀
    E. No components in either package are thread-safe􀀀
    6.) Which of the following best describes how AWT events are handled in Java?
    A. There is a special thread that handles all AWT events. 􀀀
    B. Each AWT event causes a new thread to be created to handle that event. 􀀀
    C. All AWT events are handled in the main thread. 􀀀
    D. The programmer must explicitly create one thread to handle all AWT events. 􀀀
    E. For each AWT event, the programmer must explicitly create a thread to handle that event. 􀀀
    7.) Which of the following best describes how component-generated events can be handled in Java?
    A. All component-generated events are handled automatically by the Java interpreter. 􀀀
    B. The programmer creates instances of appropriate listener classes, and registers these instances with
    the component; when the component generates an event, the relevant methods of all registered
    listeners are executed. 􀀀
    C. The programmer creates instances of appropriate listener classes, and registers these instances with
    the component; when the component generates an event, one of the registered listeners is chosen by
    the interpreter and the relevant method of that instance is executed. 􀀀
    D. The programmer must declare a subclass of the component and add one method for each type of
    event the component can generate; when the component generates an event, the appropriate method
    is executed. 􀀀
    E. Each component class has event-handling methods; the programmer declares a subclass of the
    component and overrides those methods; when the component generates an event, the overridden
    method is executed. 􀀀
    Any help would b great thanks guys. Andy

    1.) Java implements generic types by erasure: what
    does this mean?
    A. The compiler removes references to parameter types
    and inserts casts wherever return types refer to
    parameter types.
    B. The programmer must comment out references to
    parameter types before code is compiled.
    C. The compiler removes any casts that may be
    type-unsafe. 􀀀
    D. The compiler removes any references to parameter
    types and inserts references to the closest super
    class that will make expressions type-safe.
    E. Any type-unsafe casts to parameter types will be
    ignored by the interpreter at run-time.None of the above (assuming this is not a Google translation of some non-English text).
    2.) In Remote method Invocation, what is meant by
    �marshalling�?
    A. Marshalling is the process of synchronizing all
    parameters to the method being invoked, in order to
    prevent data corruption arising from the concurrent
    method call. 􀀀
    B. Marshalling is the process of sending a copy of
    the remote object to the client JVM in order to
    invoke its method locally. 􀀀
    C. Marshalling is the process of sending the state of
    the client JVM on a byte stream to the remote
    object in order that the JVM can be started as a
    separate thread on the remote host. 􀀀
    D. Marshalling is the process of suspending the
    current thread in the client JVM until a result is
    obtained
    from the remote method invocation. 􀀀
    E. Marshalling is the process of sending the state of
    all parameter instances on a byte stream to the
    remote object.None of the above. Although there is one answer that at least describes how Marshalling is used.
    3.)What is the immediate superclass of
    javax.swing.JFrame?
    A. java.lang.Object 􀀀
    B. javax.swing.Window 􀀀
    C. javax.swing.JComponent 􀀀
    D. java.AWT.Window 􀀀
    E. java.AWT.FrameAt least this one does have the correct answer. It's in the API docs, so I guess it'd be hard to be wrong.
    4.) What is the immediate superclass ofDitto.
    5.) Which of the following statements about the
    java.AWT and javax.swing packages is true?
    A. All components in both packages are
    thread-safe􀀀
    B. Most components in both packages are
    thread-safe􀀀
    C. Most components in java.AWT are thread-safe, but
    most in javax.swing are not􀀀
    D. Most components in javax.swing are thread-safe,
    but most in java.AWT are not􀀀
    E. No components in either package are
    thread-safe􀀀Again, none of the above.
    6.) Which of the following best describes how AWT
    events are handled in Java?
    A. There is a special thread that handles all AWT
    events. 􀀀
    B. Each AWT event causes a new thread to be created
    to handle that event. 􀀀
    C. All AWT events are handled in the main thread.
    􀀀
    D. The programmer must explicitly create one thread
    to handle all AWT events. 􀀀
    E. For each AWT event, the programmer must explicitly
    create a thread to handle that event. 􀀀One answer is almost, sort of, correct. Wow.
    I can understand why you're having problems answering these questiosn. Well, there's no excuse for the questions that come out fo the Javadocs, but for the others ... it explains a lot about the quality of recent graduates.

  • Java crashes help please

    Hi I'm looking at a ADSL speed test website that used a java applet.
    I have the latest java release and I'm running XP Pro SP2
    Jave crashes and IE closes and i then have a file appear on my desktop with the following text:
    Any help would be great. Thanks
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_FLT_STACK_CHECK (0xc0000092) at pc=0x0804d0a9, pid=404, tid=3288
    # Java VM: Java HotSpot(TM) Client VM (1.6.0_02-b06 mixed mode)
    # Problematic frame:
    # v ~RuntimeStub::resolve_virtual_call
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x03ff9c00): JavaThread "main" [_thread_in_Java, id=3288]
    siginfo: ExceptionCode=0xc0000092, ExceptionInformation=0x00000000 0x01b73ac4
    Registers:
    EAX=0xffffffff, EBX=0x000008c5, ECX=0x30317f18, EDX=0x3031a8d8
    ESP=0x01b73a58, EBP=0x01b73b68, ESI=0x30317f18, EDI=0x000008c5
    EIP=0x0804d0a9, EFLAGS=0x00010212
    Top of Stack: (sp=0x01b73a58)
    0x01b73a58: ffff1372 ffff4022 ffffffff 07f95df7
    0x01b73a68: 011c001b 01b73b40 ffff0023 f72053d1
    0x01b73a78: 884440e0 4b08f50c 48a8e6b0 00cce6b0
    0x01b73a88: 804f4049 00000080 00000002 00020000
    0x01b73a98: 00000000 b714e794 b714e788 0000f50c
    0x01b73aa8: 5be00000 4005c805 00000000 80000000
    0x01b73ab8: 00004002 00000000 3ffd8000 01b73b0c
    0x01b73ac8: 01b73b24 00000000 01b73b1c 00000000
    Instructions: (pc=0x0804d0a9)
    0x0804d099: 00 00 83 ec 6c dd 34 24 9b dd 24 24 dd 5c 24 6c
    0x0804d0a9: dd 5c 24 74 dd 5c 24 7c dd 9c 24 84 00 00 00 dd
    Stack: [0x01a80000,0x01b80000), sp=0x01b73a58, free space=974k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    v ~RuntimeStub::resolve_virtual_call
    J java.util.Properties$LineReader.readLine()I
    j java.util.Properties.load0(Ljava/util/Properties$LineReader;)V+7
    j java.util.Properties.load(Ljava/io/InputStream;)V+10
    j java.util.logging.LogManager.readConfiguration(Ljava/io/InputStream;)V+13
    j java.util.logging.LogManager.readConfiguration()V+181
    j java.util.logging.LogManager$2.run()Ljava/lang/Object;+4
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x0a10f400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3496]
    0x0a10a400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1080]
    0x0a109400 JavaThread "Attach Listener" daemon [_thread_blocked, id=2996]
    0x0a108400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=588]
    0x0a0fa800 JavaThread "Finalizer" daemon [_thread_blocked, id=3044]
    0x0a0f6400 JavaThread "Reference Handler" daemon [_thread_blocked, id=1452]
    =>0x03ff9c00 JavaThread "main" [_thread_in_Java, id=3288]
    Other Threads:
    0x0a0f1800 VMThread [id=2560]
    0x0a110800 WatcherThread [id=384]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 960K, used 196K [0x302f0000, 0x303f0000, 0x30a50000)
    eden
    [error occurred during error reporting, step 190, id 0xc0000092]
    Dynamic libraries:
    0x00400000 - 0x0049b000      C:\Program Files\Internet Explorer\iexplore.exe
    0x7c900000 - 0x7c9b0000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f5000      C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77f10000 - 0x77f57000      C:\WINDOWS\system32\GDI32.dll
    0x7e410000 - 0x7e4a0000      C:\WINDOWS\system32\USER32.dll
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\msvcrt.dll
    0x77f60000 - 0x77fd6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x7c9c0000 - 0x7d1d5000      C:\WINDOWS\system32\SHELL32.dll
    0x774e0000 - 0x7761d000      C:\WINDOWS\system32\ole32.dll
    0x42cf0000 - 0x42e14000      C:\WINDOWS\system32\urlmon.dll
    0x77120000 - 0x771ab000      C:\WINDOWS\system32\OLEAUT32.dll
    0x42990000 - 0x429d5000      C:\WINDOWS\system32\iertutil.dll
    0x77c00000 - 0x77c08000      C:\WINDOWS\system32\VERSION.dll
    0x76390000 - 0x763ad000      C:\WINDOWS\system32\IMM32.DLL
    0x629c0000 - 0x629c9000      C:\WINDOWS\system32\LPK.DLL
    0x74d90000 - 0x74dfb000      C:\WINDOWS\system32\USP10.dll
    0x10000000 - 0x10007000      C:\WINDOWS\system32\ASAPHook.dll
    0x773d0000 - 0x774d3000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
    0x5d090000 - 0x5d12a000      C:\WINDOWS\system32\comctl32.dll
    0x42ef0000 - 0x434bb000      C:\WINDOWS\system32\IEFRAME.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x5ad70000 - 0x5ada8000      C:\WINDOWS\system32\UxTheme.dll
    0x74720000 - 0x7476b000      C:\WINDOWS\system32\MSCTF.dll
    0x20000000 - 0x202c5000      C:\WINDOWS\system32\xpsp2res.dll
    0x755c0000 - 0x755ee000      C:\WINDOWS\system32\msctfime.ime
    0x5dff0000 - 0x5e01f000      C:\WINDOWS\system32\IEUI.dll
    0x76380000 - 0x76385000      C:\WINDOWS\system32\MSIMG32.dll
    0x4ec50000 - 0x4edf3000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.2180_x-ww_522f9f82\gdiplus.dll
    0x47060000 - 0x47081000      C:\WINDOWS\system32\xmllite.dll
    0x77b40000 - 0x77b62000      C:\WINDOWS\system32\apphelp.dll
    0x76fd0000 - 0x7704f000      C:\WINDOWS\system32\CLBCATQ.DLL
    0x77050000 - 0x77115000      C:\WINDOWS\system32\COMRes.dll
    0x746f0000 - 0x7471a000      C:\WINDOWS\system32\msimtf.dll
    0x77fe0000 - 0x77ff1000      C:\WINDOWS\system32\Secur32.dll
    0x605d0000 - 0x605d9000      C:\WINDOWS\system32\mslbui.dll
    0x77a20000 - 0x77a74000      C:\WINDOWS\System32\cscui.dll
    0x76600000 - 0x7661d000      C:\WINDOWS\System32\CSCDLL.dll
    0x77920000 - 0x77a13000      C:\WINDOWS\system32\SETUPAPI.dll
    0x6bd10000 - 0x6bd20000      C:\PROGRA~1\MICROS~2\Office12\msohevi.dll
    0x78130000 - 0x781cb000      C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.163_x-ww_681e29fb\MSVCR80.dll
    0x5c2c0000 - 0x5c300000      C:\WINDOWS\ime\sptip.dll
    0x74c80000 - 0x74cac000      C:\WINDOWS\system32\OLEACC.dll
    0x76080000 - 0x760e5000      C:\WINDOWS\system32\MSVCP60.dll
    0x01480000 - 0x01491000      C:\WINDOWS\IME\SPGRMR.DLL
    0x7d1e0000 - 0x7d49e000      C:\WINDOWS\system32\msi.dll
    0x014a0000 - 0x014fb000      C:\Program Files\Common Files\Microsoft Shared\INK\SKCHUI.DLL
    0x61930000 - 0x6197a000      C:\Program Files\Internet Explorer\ieproxy.dll
    0x75e90000 - 0x75f40000      C:\WINDOWS\system32\SXS.DLL
    0x42c10000 - 0x42cdf000      C:\WINDOWS\system32\WININET.dll
    0x01e00000 - 0x01e09000      C:\WINDOWS\system32\Normaliz.dll
    0x75cf0000 - 0x75d81000      C:\WINDOWS\system32\MLANG.dll
    0x71ab0000 - 0x71ac7000      C:\WINDOWS\system32\ws2_32.dll
    0x71aa0000 - 0x71aa8000      C:\WINDOWS\system32\WS2HELP.dll
    0x02fb0000 - 0x0332f000      c:\program files\google\googletoolbar2.dll
    0x77a80000 - 0x77b14000      C:\WINDOWS\system32\CRYPT32.dll
    0x77b20000 - 0x77b32000      C:\WINDOWS\system32\MSASN1.dll
    0x76c90000 - 0x76cb8000      C:\WINDOWS\system32\imagehlp.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x76c30000 - 0x76c5e000      C:\WINDOWS\system32\WINTRUST.dll
    0x71ad0000 - 0x71ad9000      C:\WINDOWS\system32\WSOCK32.dll
    0x74980000 - 0x74a93000      C:\WINDOWS\system32\msxml3.dll
    0x59a60000 - 0x59b01000      C:\WINDOWS\system32\DBGHELP.DLL
    0x5b860000 - 0x5b8b4000      C:\WINDOWS\system32\netapi32.dll
    0x708f0000 - 0x70903000      C:\WINDOWS\system32\asycfilt.dll
    0x76990000 - 0x769b5000      C:\WINDOWS\system32\ntshrui.dll
    0x76b20000 - 0x76b31000      C:\WINDOWS\system32\ATL.DLL
    0x769c0000 - 0x76a73000      C:\WINDOWS\system32\USERENV.dll
    0x76ee0000 - 0x76f1c000      C:\WINDOWS\system32\RASAPI32.dll
    0x76e90000 - 0x76ea2000      C:\WINDOWS\system32\rasman.dll
    0x76eb0000 - 0x76edf000      C:\WINDOWS\system32\TAPI32.dll
    0x76e80000 - 0x76e8e000      C:\WINDOWS\system32\rtutils.dll
    0x71b20000 - 0x71b32000      C:\WINDOWS\system32\MPR.dll
    0x75f60000 - 0x75f67000      C:\WINDOWS\System32\drprov.dll
    0x71c10000 - 0x71c1e000      C:\WINDOWS\System32\ntlanman.dll
    0x71cd0000 - 0x71ce7000      C:\WINDOWS\System32\NETUI0.dll
    0x71c90000 - 0x71cd0000      C:\WINDOWS\System32\NETUI1.dll
    0x71c80000 - 0x71c87000      C:\WINDOWS\System32\NETRAP.dll
    0x71bf0000 - 0x71c03000      C:\WINDOWS\System32\SAMLIB.dll
    0x77c70000 - 0x77c93000      C:\WINDOWS\system32\msv1_0.dll
    0x76d60000 - 0x76d79000      C:\WINDOWS\system32\iphlpapi.dll
    0x75f70000 - 0x75f79000      C:\WINDOWS\System32\davclnt.dll
    0x10930000 - 0x10979000      C:\WINDOWS\system32\PortableDeviceApi.dll
    0x73ba0000 - 0x73bb3000      C:\WINDOWS\system32\sti.dll
    0x74ae0000 - 0x74ae7000      C:\WINDOWS\system32\CFGMGR32.dll
    0x722b0000 - 0x722b5000      C:\WINDOWS\system32\sensapi.dll
    0x03f10000 - 0x03f20000      C:\Program Files\Common Files\Adobe\Acrobat\ActiveX\AcroIEHelper.dll
    0x03f30000 - 0x03f4f000      C:\WINDOWS\system32\dla\tfswshx.dll
    0x03f50000 - 0x03f5f000      C:\WINDOWS\system32\tfswapi.dll
    0x03f60000 - 0x03f9b000      C:\WINDOWS\system32\dla\tfswcres.dll
    0x6d7c0000 - 0x6d839000      C:\Program Files\Java\jre1.6.0_02\bin\ssv.dll
    0x7c340000 - 0x7c396000      C:\Program Files\Java\jre1.6.0_02\bin\MSVCR71.dll
    0x29500000 - 0x29551000      C:\Program Files\Common Files\Microsoft Shared\Windows Live\WindowsLiveLogin.dll
    0x0ffd0000 - 0x0fff8000      C:\WINDOWS\system32\rsaenh.dll
    0x27500000 - 0x275c9000      C:\Program Files\Common Files\Microsoft Shared\Windows Live\msidcrl40.dll
    0x75e60000 - 0x75e73000      C:\WINDOWS\system32\cryptnet.dll
    0x76f60000 - 0x76f8c000      C:\WINDOWS\system32\WLDAP32.dll
    0x4d4f0000 - 0x4d548000      C:\WINDOWS\system32\WINHTTP.dll
    0x04780000 - 0x04790000      C:\Program Files\HPQ\IAM\Bin\ItIeAddIN.dll
    0x04790000 - 0x047f9000      C:\Program Files\HPQ\IAM\Bin\ItMsg.dll
    0x7c000000 - 0x7c054000      C:\WINDOWS\system32\MSVCR70.dll
    0x71a50000 - 0x71a8f000      C:\WINDOWS\system32\mswsock.dll
    0x662b0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000      C:\WINDOWS\System32\wshtcpip.dll
    0x71d40000 - 0x71d5c000      C:\WINDOWS\system32\actxprxy.dll
    0x76fc0000 - 0x76fc6000      C:\WINDOWS\system32\rasadhlp.dll
    0x76f20000 - 0x76f47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76fb0000 - 0x76fb8000      C:\WINDOWS\System32\winrnr.dll
    0x435d0000 - 0x43941000      C:\WINDOWS\system32\mshtml.dll
    0x746c0000 - 0x746e9000      C:\WINDOWS\system32\msls31.dll
    0x43560000 - 0x435c0000      C:\WINDOWS\system32\ieapfltr.dll
    0x77690000 - 0x776b1000      C:\WINDOWS\system32\NTMARTA.DLL
    0x050a0000 - 0x050f7000      C:\Program Files\HPQ\IAM\Bin\ItSSO.dll
    0x040e0000 - 0x04103000      C:\Program Files\HPQ\IAM\Bin\ItVCL.dll
    0x04b00000 - 0x04b08000      C:\Program Files\HPQ\IAM\Bin\ItRpc.dll
    0x04b60000 - 0x04b69000      C:\Program Files\HPQ\IAM\Bin\ItClient.dll
    0x63380000 - 0x633f8000      c:\windows\system32\jscript.dll
    0x58760000 - 0x58792000      C:\WINDOWS\system32\iepeers.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x42b90000 - 0x42c07000      C:\WINDOWS\system32\mshtmled.dll
    0x1b000000 - 0x1b00c000      C:\WINDOWS\system32\ImgUtil.dll
    0x1b060000 - 0x1b06e000      C:\WINDOWS\system32\pngfilt.dll
    0x05800000 - 0x0581c000      C:\Program Files\HPQ\IAM\Bin\Aswallet.dll
    0x42aa0000 - 0x42b12000      C:\WINDOWS\system32\msfeeds.dll
    0x061d0000 - 0x0622b000      C:\Program Files\Common Files\Adobe\Acrobat\ActiveX\PDFShell.dll
    0x72d20000 - 0x72d29000      C:\WINDOWS\system32\wdmaud.drv
    0x72d10000 - 0x72d18000      C:\WINDOWS\system32\msacm32.drv
    VM Arguments:
    jvm_args: -Xbootclasspath/a:C:\PROGRA~1\Java\JRE16~2.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE16~2.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.6.0_02 -Djavaplugin.nodotversion=160_02 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE16~2.0_0 -Djavaplugin.vm.options=-Djava.class.path=C:\PROGRA~1\Java\JRE16~2.0_0\classes -Xbootclasspath/a:C:\PROGRA~1\Java\JRE16~2.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE16~2.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.6.0_02 -Djavaplugin.nodotversion=160_02 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE16~2.0_0
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    CLASSPATH=.;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip
    PATH=C:\PROGRA~1\Java\JRE16~2.0_0\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\HPQ\IAM\bin;C:\Program Files\QuickTime\QTSystem\;.
    USERNAME=hrowinski
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 8, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 13 stepping 8, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 1572208k(878116k free), swap 2204864k(1714828k free)
    vm_info: Java HotSpot(TM) Client VM (1.6.0_02-b06) for windows-x86, built on Jul 12 2007 01:16:14 by "java_re" with unknown MS VC++:1310

    Thanks for the help so far, but I still have a problem with my Merge Sort. The sort uses up all the program's memory and throws an "OutOfMemoryError".
    Here is the Merge Sort:
    //This is the merge sort and its methods!!!
         public void mergeSort()
              if(line.length<=1)
                   return;
                   int[] half1=new int[line.length/2];
                   int[] half2=new int[line.length-half1.length];
                   System.arraycopy(line, 0, half1, 0, half1.length);
                   System.arraycopy(line, half1.length, half2, 0, half2.length);
                   Sort s1=new Sort(half1);
                   Sort s2=new Sort(half2);
                   s1.mergeSort();
                   s2.mergeSort();
                   merge(half1, half2);
         public void merge(int[] a, int[] b)
              int first=0;
              int second=0;
              int c=0;
              while((first<a.length)&&(second<b.length))
                   if(a[first]<b[second])
                        line[c]=a[first];
                        first++;
                   else
                        line[c]= b[second];
                        second++;
                   c++;
              System.arraycopy(a, first, line, c, a.length-first);
              System.arraycopy(b, second, line, c, b.length-second);
         }

  • Simple java applet help needed

    hi, im having trouble with an applet im developing for a project.
    i have developed an applet with asks the user for simple information( name,address and phone) through textfields, i wish for the applet to store this information in an array when an add button below the textfeilds is pressed.
    client array[];
    array=new client[];//needs to be an infinate array!
    I have created the client class with all the set and get methods plus constructors needed but i dont know how to take the text typed into the textfields by the user and store them in the array.
    i also need to save this info to a file and be able to load it back into the applet.
    Could some please help! Thank you for your time.

    Better maybe redefine the idea using an data structure :
    public class client{
    private char name[];
    private char address[];
    private int phone;
    public class vector_clients{
    private client vect[];
    // methods for vect[]
    What is your opinion about ???

  • Some start up questions (help please)

    Hello everyone. My name is Tom and its very nice to meet everyone.
    I have been, historically, using harware sequencers for my music (Korg M series, Korg O series, and most recently a Fantom X7).
    I have decided that I want to go the DAW route for my music for various reasons. At any rate here is what I'll be ordering next week....
    MacBookPro 2Ghz 15" (1 gig of ram to start 2x 512)
    Logic Pro
    M-Audio Keystation Pro 88 (my main instrument is piano)
    M-Audio Oxygen 8 v2 (I'll use this for synth sounds, strings, brass, triggers, etc)
    Presonus Firebox (portability)
    SIIG FireWire 800 1-Port ExpressCard/34 (the MBP only has 1 Firewire port)
    My Book Pro Edition 500 GB Ext HD (will connect to the FW 800 expresscard)
    Pair of Behringer Truths B2031a (I listened to these in a local store and I was really impressed.)
    I have various other instruments that I will use (guitars, bass, steel, etc) during recording but those arent the focus of these questions.
    To the point...
    1. Should I connect both Midi In and Out for the Keystation Pro?? (The midi thing is somewhat new since I'm coming from the hw sequencers and I never midi'd my boards together) I understand that I'll go from the midi out to the s/pdif cable in but will it be necessary for information to be returned to the ks pro?
    2. On the Presonus Firebox, is the s/pdif cable included with the interface??
    3. Any general impressions with my initial setup?? Please keep in mind that I will do all the music by myself... one track and one instrument at a time. (Which is why I thought the firebox would be sufficient for my needs) Any concerns with my ideas for setting it up?? KS Pro midi'd to presonus. presonus FW 400 to Mac. Oxygen 8 USB'd to Mac. My Book hard drive FW 800 through expresscard expansion. Will I have any compatibility issues or conflicts?
    Thanks so very much for any help and guidance.
    Tom

    Hi Tom
    Welcome to the forum!
    1) your keystation and Oxygen 8 will send and receive midi to Logic thru your usb connection. You can connect any other midi devices thru the keystation or using the Oxygen or Firebox midi ins & outs. Logic will recognize all of your midi connections. you just need to assign which midi keyboard or other outboard device is connected to which midi port in Logic's environment
    2) yes the spdif cable is included
    3) Your setup sounds nice. I personally don't like the firebox, I had one for a short time and got rid of it, but I know a few guys here use one and like them.
    Have fun
    Don

  • Simple java questions!

    Hi!
    Can someone tell me the answers of these questions, you can just bold the correct answer.Any help will be appreciated.
    Thanks in advance.
    Regards,
    sandy.
    1) Which of the following software components is not included in the standard Java SDK 2?
    (a)appletviewer(b)JMF(c)Jar tool(d)Swing(e)none of the above
    2) Which of the following is an abstract class in the Java API?
    (a)int (b)Integer (c)WindowListener (d)WindowAdapter (e)none of the above
    3) Which of the following types can be stored in a TreeMap?
    (a)int (b)boolean (c)char (d)String (e)none of the above
    4) How many main methods are allowed in a java program which comprises four user-defined classes?
    (a)one (b)two (c)three (d)four (e)none of the above.
    **********************************************************************

    about that main methods: i find it strange that only 1 main method is allowed, i would say: alot :)
    Just to give an example of the possibilities:
    public class Main {
      public static void main (String[] args) {}
      public static void main (int i) {}
      public void main() {}
      public void main (int i, String blah) {}
    }All is allowed, only the
    public static void main (String[] args) {}will be used as the startup method for the program.
    So in other words, that question not complete.
    Greets,
    Barre

Maybe you are looking for

  • Flash Player crashing on every website I go to

    I'm running on windows 7 using firefox. I need help. Literally every page I go to flash player crashes about 4 times and I have to press "stop pluggin" and wait 30 seconds for the page to respond over and over. I'm about ready to either give up on ad

  • How to setup new OC4J instance to host jdev business component (EJB)

    From Jdeveloper 9.0.3 I want to deploy a business component to an new oc4j instance running under 9ias version 9.0.3. In jdeveloper I have built and tested an application server connection (type=Oracle Application Sever Remote DCM) to my new oc4j ins

  • Airport is very sssssslllllllllloooooowwwwwwwww!!!!!

    I have a 1ghz/512 eMac that I have an airport extreme card in, and it seems like sometimes my internet connection is extremely slow or un-responsive! It will sometimes work at normal speed, and sometimes it will completely freeze for a few minutes be

  • 3GS Video Out Glitch

    Any ideas why my 3gs IPhone , OS 3 "Locks up" when I try to output video files using Apples' Composite AV Cables? I can choose my video, and play it fine in the phone. But as soon as I hook up the cable, it stops playing and the video function button

  • How to rename seller name in iTunes connect

    HI, In app Store we see that App Name and exactly below that seller name i.e. the name of individual or company name how to rename this name in itunes store?