Java Error: Need Help/Lib/obiwan you are my only hope/error...

I recieve this message on my new iMac Dual Core 10.4:
Uncaught exception in main method: java.lang.UnsatisfiedLinkError:/Applications/Groupwise.1.app/Contents/Resources /Java/libgwapijni.jnilib
Okay, I know that this happens more often than when I just run my Groupwise Client, but I posted this one because I need to run the client at my office.
So...suggestions on how to fix this?
Thanks
Tim
El Paso

It says Powerbook at the bottom, it is actually a new iMac..
Powerbook was my last question in February..

Similar Messages

  • You are my only hope...

    I'm very disappointed of WLS (and JDeveloper). Coming from a SJAS background I find that WLS does not enjoy even half the community support of SJAS, and the worst thing is that even WebLogic isn't making a big deal of documentation.
    So in wan to secure a webapp. (Fusion webapp) against a database list of users/groups. I looked into it and found about SQLAuthenticator. I said to my self what a great thing... no more need to write my own LoginModule to do that. So I begun to google it to find anything about it... how to use it ( it is not any good if i know: -'hey I can do this! -how? -... silence), but nothing useful.
    I kept on going ... I've done a webapp. I wrote a <realm-name> tag in web.xml, I've made a realm on the embedded WLS on jdev (having as provider SQLAuthenticator) ... and run the app. I tried to access a protected resource ... been redirected to login... then entered credentials ... redirected to error page.
    Same stuff with DefautAuthenticator(users/roles configured) .... it works...
    I've looked into Diagnostics > Log Files > DomainLog nothing
    how can I trace the login process?
    I need some example how to use this feature, how to configure JDeveloper (this JPS thing is confusing me). I've noticed ( I think this is correct) that in JDev you make users/roles into a jazn-data.xml(this is no good for me because not the developer should establish the users and their passwords, and second this kind of info should be dynamic) that after deploy it is merged into WLS's default realm.
    Help me with any link(or anything) that you think it will help me solve this.
    Thanks,
    Florin POP
    I apologize for my inappropriate exposure of things, it must be that for three days I'm dazzling in circles about one thing that's a simple task.

    Well what I understood after going through your mail is that you want to develop your own Database Login Module for Weblogic container managed security.
    Weblogic's security provider architecture is MBean based, if you are going to develop your own provider it should have a corresponding MBean implementation. Weblogic installation comes with tool that will generate necessary MBean deployment files and implementations for you.
    You have to go through the following steps -
    1. First of all you need to create the runtime classes for your Custom Authentication Provider
    - In your case first of all you need to implement JAAS javax.security.auth.spi.LoginModule interface (here inside login() method you have to implement your authentication logic)
    - Implement weblogic.security.spi.AuthenticationProviderV2 interface, please be careful while implementing getLoginModuleConfiguration method and here remember to specify the your custom LoginModule while forming javax.security.auth.login.AppConfigurationEntry and returning it. Also please specify the proper JAAS control flag.
    2. Now create an MBean Definition File (MDF) which is basically an xml file containing the MBean definition. (you didn't specify which version of Weblogic Server you are using, assuming Weblogic 10 you may refer this documentation while developing MDF http://edocs.bea.com/wls/docs100/dvspisec/mdf_ref.html).
    Run this MDF through Weblogic MBean maker to generate the MBean implementation and intermediate Java files.
    3. Once this dynamic class generation is over and you have finished editing the MBean implementation file you need to package them in form of a jar file(MJF) using MBeanMaker.
    4. Copy the MJF into the WL_HOME\server\lib\mbeantypes directory and restart the server.
    Now you please login to your Weblogic server admin console click on the default realm, you will get this CustomAuthenticator listed as soon as you are trying to configure a new provider for the realm.
    And regarding the tracing of login process you may use weblogic.logging.NonCatalogLogger APIs to send messages to the WebLogic server log.
    thanks,
    Subhasis.

  • Image size and mime type.. non-java guy needs help

    Image size, mime type.. non-java guy needs help
    Im not at all familiar with java so this is really weird for me to work out. I?ve been doing it all day (and half of yesterday).
    Im trying to write a custom clodFusion tag in java that gets the width, height, size and MIME types of a given file. I?ve been trying to get it to work on the command line first. I can get the width and height but cant get the size and the MIME type.
    Here is what I got
    /*import com.allaire.cfx.*;*/
    import java.awt.image.renderable.*;
    import javax.media.jai.*;
    import com.sun.media.jai.codec.*;
    import java.io.*;
    import java.util.*;
    public class ImageInfo {
    private RenderedOp image = null;
    private RenderedOp result = null;
    private int height = 0;
    private int width = 0;
    private String type = "";
    private String size = "";
    public void loadf(String file) throws IOException
    file = "80by80.jpg";
    FileSeekableStream fss = new FileSeekableStream(file);
    image = JAI.create("stream", fss);
    height = image.getHeight();
    width = image.getWidth();
    System.out.println(height + "\n");
    System.out.println(width);
    System.out.println(type);
    public static void main(String[] args) throws IOException {
    ImageInfo test = new ImageInfo();
    test.loadf(args[0]);
    can anyone please help me out to modify the above so I can also print the mime type and the file size to screen.
    thanks for any help

    any suggestions?

  • I would like make my iphone 4S simfree in order to use it with my current service provider. I don`t know where to ask it; and need help. Thank you.

    Hello everyone.
    I`m a apple user from Turkey. Lately I have bought an iphone 4S in U.S.A and brought it back to my country. My problem is I can`t use it with my local service provider; because I can`t activate my iphone 4S with the sim kart which I have.
    I need help; and asking you what can I do ?
    Thank you all for your attention.

    Actually I had a friend of me to buy it for me. When I got the iphone 4s there were a At&t sim kart in it already.
    I can make it unlocked for free ?
    Thank you both for your attention.

  • I have a problem with my iPad 1 st. the problem is that I unable to locate even when connected to a WiFi network and the location is activated and restore and same thing happens .. may be I need help!  Thank you ...!

    I have a problem with my iPad 1 st. the problem is that I unable to locate even when connected to a WiFi network and the location is activated and restore and same thing happens .. may be I need help!
    Thank you ...!

    Hi there beni_m,
    You may find the troubleshooting steps in the articles below helpful.
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/ts3281
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/ts1591
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/ts1538
    -Griff W. 

  • Why do you block my domain & Blogg? There is nothing there that is dangerous for anyone. Besides, you are the only internett browser that is blocking it.

    I wonder why you block my domain and my homepage/blogg. This site don't contain anything dangerous at all. It is only about me, my family and friends. You are THE ONLY BROWSER that block it. And I wonder why you do it.
    All the best
    Rose Jenny Wahlberg
    www.bluerose.no
    Cellphone: **** *** ** ***
    mail: ****@********.**

    It is not the Firefox browser nor Mozilla that is doing the blocking but rather Google safe browsing.
    http://www.google.com/safebrowsing/diagnostic?site=http://www.bluerose.no/
    What is the current listing status for bluerose.no?
    Site is listed as suspicious - visiting this web site may harm your computer.
    Part of this site was listed for suspicious activity 6 time(s) over the past 90 days.
    What happened when Google visited this site?
    Of the 2 pages we tested on the site over the past 90 days, 2 page(s) resulted in malicious software being downloaded and installed without user consent. The last time Google visited this site was on 2011-08-26, and the last time suspicious content was found on this site was on 2011-08-26.
    Malicious software is hosted on 1 domain(s), including imgddd.net/.
    This site was hosted on 1 network(s) including AS34989 (SERVETHEWORLD).
    Has this site acted as an intermediary resulting in further distribution of malware?
    Over the past 90 days, bluerose.no did not appear to function as an intermediary for the infection of any sites.
    Has this site hosted malware?
    No, this site has not hosted malicious software over the past 90 days.
    How did this happen?
    In some cases, third parties can add malicious code to legitimate sites, which would cause us to show the warning message.
    Once you get the issue fixed you can then have Google check and remove. http://www.google.com/safebrowsing/report_error/

  • HT201210 tried to update ios6 and when i connect to itunes says internal error i need help asap thank you!!!!!!!!

    hi whenever i plug it in as it says connect to itunes it wont restore as there is an internal error!!!!
    please help asap
    thank you very much!!!!
    lizzie x

    What version of iTunes do you have installed? If you are trying to update to iOS 6 you need iTunes 10.7 or later.

  • Trying to make my own java library need help!

    I have been trying to make a java library that will save data in cdf format.
    Every time I try to implement code using this library i created i get the error shown below, I put the jar file in the jdk/jre/lib/ext file, so when I import it, it does work. But i dont know know what to do with this error any insight would be greatly appreciated,
    Constructor
    You are connected to the OSACBM sever...
    new.xml has been recieved and unmarshalled
    ELEMENT: DAInt:
    DAInt value: 34
    DAInt id: 2000
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no cdfNativeLibrary in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1028)
    at gsfc.nssdc.cdf.CDFNativeLibrary.<clinit>(CDFNativeLibrary.java:47)
    at gsfc.nssdc.cdf.CDF.create(CDF.java:221)
    at osacbm_client_.CDFHandler.InitializeCDF_File(CDFHandler.java:45)
    at osacbm_client_._Client.Unmarshaller(_Client.java:64)
    at osacbm_client_._Client.<init>(_Client.java:25)
    at osacbm_client_.Main.main(Main.java:19)
    Java Result: 1

    OK, I checked the javadoc myself, and although the text is clear and correct I acknowledge it doesn't help you a lot to investigate the problem, so I'll try to give out a clue:
    -> your problem is that the JVM does find your jar, but doesn't file the native library it depends on (+"cdfNativeLibrary"+).
    You should locate the shared library file (+cdfNativeLibrary.dll+ or cdfNativeLibrary.so depending on your OS), and make sure your PATH variable contains its folder, or add this folder to the java.library.path system property (specified as -D java.library.path=<path/to/folder/containing/libfile> in the launching command line).
    Note that it's not clear from your message if you're writing the gsfc library or a client of it:
    - It the former, and if you're new to Java, then be aware that integrating a native library is not the easiest way to learn Java; just in case, make sure you read and understand a JNI tutorial (for Java Native Interface; I was willing to push you a link, but I realize the [Java tutorial|http://java.sun.com/docs/books/tutorial/] has no such chapter, which reinforces that it is an advanced topic).
    - If the latter, then how to install the library's components should be documented in its manual.

  • I'm new to java and need help please(repost)

    I have an assignment involves modifying a previous assignment. the code for the previous assigment is shown below.(it was required to be done as an applet this assigment can be an application or an applet) I'm trying to modify this code to read a text file (items.txt) that looks like this:
    item # description price(this line does not appear in the text file)
    001 shaving cream 400.00
    999 razors 30.00
    I need to load the item# and price from the text file into arrays(I have no clue how to use multi-dimensional arrays in java and would prefer not to)
    I need to search the arrays based on the values entered by the user (item # and quantity) calculate the total for that item then create a new text file which has each line item for that order in the form:
    item# quant price per item total(price per item*quant entered)
    also also I need to be able to display the four items listed above after each loop as well as all the previous item number and quantities they selected until they indicate they don't want to select anymore.
    I've been working on this for days and it seems like nothing I try works. My major problems are:
    1. I have no idea how to read the text file and load those 2 items into their respective arrays
    2. I can't seem to create a textfile that looks like text for the output file.
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.text.*;
    import java.util.Locale;
    public class arraySelection
        extends JApplet {
      //Initialize the applet
      private Container getContentPane=null;
      public void init() {
           String string_item, string_quantity;
           String output = "";
           String description= "";
           int counter= 0;
           int itemNumber= 0;
           double quantity = 0 ;
           double tax_rate=.07;
           double total= 0, price= 0;
           double tax, subtotal;
           double Pretotal= 0;
           double priceArray[] = {1, .5, 3.65, 0.02, 0.09};
           String descriptionArray[] = {"salt", "pepper", "paprika", "garlic", "thyme"};
         // create number format for currency in US dollar format
         NumberFormat moneyFormat = NumberFormat.getCurrencyInstance( Locale.US );
         //format to have the total with two digits precision
         DecimalFormat twoDigits = new DecimalFormat("0.00");
         //Jtextarea to display results
         JTextArea outputArea = new JTextArea ();
         // get applet's content pane
          Container container = getContentPane ();
          //attach output area to container
          container.add(outputArea);
         //set the first row of text for the output area
        output +=  "Invoice\nItem#\tDescription\tQuant@Price\t Line Total" + "\n";
        do //begin loop structure obtain input from user
               // obtain item number from user
               string_item = JOptionPane.showInputDialog(
                   "Please enter an item number 1, 2, 3, 4, or 5:");
               //obtain quantity of each item that user enter
               string_quantity = JOptionPane.showInputDialog("Enter the quantity:");
               // convert numbers from type String to Integer or Double
               itemNumber = Integer.parseInt(string_item);
               quantity = Double.parseDouble(string_quantity);
                 switch (itemNumber) {//Determine input from user to assign price and description
                    case 10: // user input item =10
                      price = priceArray[0];
                      description = descriptionArray[0];
                      break;
                    case 20: // user input item =20
                      price = priceArray [1];
                      description = descriptionArray[1];
                      break;
                    case 30: //user input item =30
                      price=priceArray[2];
                      description = descriptionArray[2];
                      break;
                    case 40: //user input item =40
                      price=priceArray[3];
                      description = descriptionArray[3];
                      break;
                    case 50: //user input item =50
                      price=priceArray[4];
                      description = descriptionArray[4];
                      break;
                    default: // user input item is not on the list
                    output += "Invalid value entered"+ "\n";
                    price=0;
                    description= "";
             //Calculates the total for each item number and stores it in subtotal
             subtotal = price * quantity;
             //display input from user
             output += itemNumber + "\t" + description + "\t\t"+ quantity + "@" +
                       moneyFormat.format( price) + "\t" + moneyFormat.format( subtotal) + "\n";
             //accumulates the overall subtotal for all items
             Pretotal = Pretotal + subtotal;
            //verifies that the user wants to stop entering data
            string_item = JOptionPane.showInputDialog(" Enter a positive integer to continue or 0 to stop. ");
            itemNumber = Integer.parseInt(string_item);
          // loop termination condition if user's input is 0 .It will end the loop
       } while ( itemNumber!= 0);
        tax = Pretotal * tax_rate; // calculate tax amount
        total = Pretotal + tax; //calculate total = subtotal + tax
        //appends data regarding the subtotal, tax, and total to the output area
        output += "\n" + "Order Subtotal" + "\t" + moneyFormat.format( Pretotal) +
                  "\n" + "Tax" + "\t\t" + twoDigits.format( tax ) + "\n" + "Order Total" +
                  "\t\t" + moneyFormat.format( total );
         //attaches the data in the output variable to the output area
         outputArea.setText( output );
      } //end init
    }// end applet InvoiceAny help or sugestions would be greatly appreaciated. I've been working on this for over a week and everything I try goes nowhere.

    First answer: You shouldn't ask multiple questions in the same thread. Ask a specific question, with an appropriate subject line (optionally, assign the number of Dukes you are willing to give for the help). When question #1 is answered and question #2 arises, it's time for a new thread (don't forget to give out Dukes before moving on).
    Second answer: I think you need a Transfer Object (http://java.sun.com/blueprints/patterns/TransferObject.html). It's whole purpose is to hold/transfer instance data where it is needed. Create a class something like this:
    public class ItemTO
        private String _number;
        private String _description;
        private double _price;
        public ItemTO( String number, String description, double price )
            _number = number;
            _description = description;
            _price = price
        // Getter/Setter methods go here
    }then, in the code where you read in the file do something like this:
    BufferedReader input = null;
    try
        input  = new BufferedReader( new FileReader( "c:\\a.txt" ) );
        List items = new ArrayList();
        String line;
        String itemNumber;
        String itemDescription;
        double itemPrice;
        while ( (line  = input.readLine() ) != null )
         System.out.println( line );
            itemNumber = // Parse it from line
            itemDescription // Parse it from line
            itemPrice = // Parse it from line
            items.add( new ItemTO( itemNumber, itemDescription, itemPrice ) );
    catch ( FileNotFoundException fnfe )
        fnfe.printStackTrace();
    catch ( IOException ioe )
        ioe.printStackTrace();
    finally
        try
            if ( input != null )
                input.close();
        catch ( Exception e )
            e.printStackTrace();
    }As for how to parse the line of the file, I'll leave that to you for now. Are the three values delimited with any special characters?
    jbisotti

  • Windows 7 help The topic you are looking for is not available in this version of Windows

    When I click on help, I get this message:  The topic you are looking for is not available in this version of Windows.
    I forget what my topic was, however, that is the response for any I try to get help for.

    Hi Akikuno
    It sounds like you are having issues with your help not coming up when you need to use it. I am providing you a link to a Microsoft Forum Thread where they are addressing the exact error message you are receiving.
    http://answers.microsoft.com/en-us/ie/forum/ie9-windows_7/the-topic-you-are-looking-for-is-not-avail...
    I would like to thank you for posting on the HP Forums and hope this resolves your issue so you can go back to enjoying your HP product. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • New to swing :( need help with simple text areas

    i'm trying to make a username and pasword GUI thingy (techinical word) but what i have now is this:-
    import javax.swing.*;
    import javax.swing.text.*;
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.URL;
    import java.io.IOException;
    public class swing1 extends JFrame implements ActionListener
         private String newline = "\n";
         protected static final String textFieldString = "JTextField";
         protected static final String passwordFieldString = "JPasswordField";
         protected JLabel actionLabel;
         private JTextField textField;
         private JPasswordField passwordField;
         private Container p; // make a panel to witch the components can be added
         public swing1()
              super("swing1");
              //Create a regular text field.
              textField = new JTextField(10);
              textField.setActionCommand(textFieldString);
              textField.addActionListener(this);
              //Create a password field.
              passwordField = new JPasswordField(10);
              passwordField.setActionCommand(passwordFieldString);
              passwordField.addActionListener(this);
              //Create some labels for the fields.
              JLabel textFieldLabel = new JLabel(textFieldString + ": ");
              textFieldLabel.setLabelFor(textField);
              JLabel passwordFieldLabel = new JLabel(passwordFieldString + ": ");
              passwordFieldLabel.setLabelFor(passwordField);
              //Create a label to put messages during an action event.
              actionLabel = new JLabel("Type text and then Return in a field.");
              actionLabel.setBorder(BorderFactory.createEmptyBorder(10,0,0,0));
              //Lay out the text controls and the labels.
              p=getContentPane(); //get te contant pane of this Swing1 to add the componets to
              p.add("West",textField); //add your fist component, add it west on the dafault borderLayout
              p.add("East",textFieldLabel);// add another component, add it east on the dafault borderLayout
              p.add("South",passwordField);// add it south on the dafault borderLayout
              p.add("North",actionLabel); // add it north on the dafault borderLayout
              setSize(400,100); //make it a bit bigger
              setVisible(true);
              public void actionPerformed(ActionEvent e)
                   Object o = e.getSource();// the component that fired this event
                   if (o == textField)
                        //action from the textField
                   else if (o == passwordField)
                        //action from passwordfield
              public static void main(String[] args)
                                  JFrame frame = new TextSamplerDemo();
                                  frame.addWindowListener(new WindowAdapter()
                                       public void windowClosing(WindowEvent e)
                                                 System.exit(0);
                                                                new swing1(); //make a new instance of your class
    [\code]
    why won't the label on my password field dislay?
    and can you take a look at the end of my code i got it off another program, i want to get rid of the HTML page its trying to access and i want it just to close when i click X
    any help would be briliant
    Ant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Since you are new to Swing the first thing I would recommend is to read the tutorial "Creating a Gui with JFC/Swing". I think the Text Component section has a demo on creating a username/password GUI. It can be downloaded at:
    http://java.sun.com/docs/books/tutorial/
    Why doesn't the password field label display? You are not adding it to the container. You add textField, textFieldLabel, passwordField, actionLabel but no passwordFieldLabel.
    Instead of adding a WindowListener and implementing the windowClosing() method, there is an easier way to close the JFrame in JDK1.3. Simply use:
    frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
    The class "TextSamplerDemo" doesn't belong in this class (it must be a demo class you downloaded from somewhere). All the code you need in the main method is:
    JFrame frame = new swing1();
    frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
    Also, by convention classes should be named with the first character of each word capitalized. So you class should be renamed to "Swing1" from "swing1". Also remember to rename the file as the filename and class name must be the same and case does matter.

  • Multicore+java? Plz help..Thank You !

    Hi Friends,
    I have my first project review before the end of this month.I have problem in choosing the topic for my project.I am mostly interested in java,but my guide wants me to do the project in multicore.
    i need guidance on this.Please tell me some AIEE,ACE paper or other Research papers,which have to do with both java and multicore---I mean doing something in multicore with java.I Really need help.I tried myself to find such papers in AIEE and ACM but couldn't able to find one.so please help me.
    Thank You!

    First I'd like to apologize for being pissy earlier. I find it discouraging when I see people embarking on projects that have very little to not merit. Also this discussion has been had before and I dunno... Mostly though I had just come from a bad meeting and was in a bad mood and that really didn't help.
    Now on to the constructive bits.
    The two newish processor advances that people like to talk about are hyperthreading and multicore. As discussed previously these two are not related (although in marketing materials they often are which leads to some confusion). I do think though that some understanding of both can clear up some of other doubts people have regarding how "good" Java will be with these technologies.
    Hyperthreading
    Personally I think this one is very cool. The best way I can think to describe it is that it is like a hotspot optimizing compiler for the processor.
    What happens with hyperthreading is that the processor has more stuff on the go. The basic idea is this. In a normal processor you might have (simplified greatly here) the following steps to execute an instruction)
    1 Bits come in -> 2 bits are put into proper places -> 3 execution (the magic step -> 4 bits are put into proper places to go -> 5 bits go out
    Again simplfied but to get the idea. Each step takes a cycle of processor time to do it. In a non hyperthreading model each execution therefore takes 5 cycles. In hyperthreading it loads things up so that different instructions are at different life cycles in the processor at the same time. So maybe you have instructions at steps 1,3 and 5 all at the same time.
    This means that in theory things can go much faster. It's also interesting to note though that hyperthreading falls apart with code that has been prematurely optimized for a processor that didn't support hyperthreading. For example if the code tries to force things into processor registers.
    Multicore
    As mentioned multicore is just putting two or more core processing units on one die. This means actual parallel execution can happen.
    This is pretty simple. So what do you need in Java to take advantage of this? Well for starters you need multithreaded code. If your program has only one thread then it won't matter one bit.
    Beyond that? It's a combination of the VM and OS yes. There are already computers that have multiple processors of course so there is already existing VM's and OS's that can take advantage of this. There are a number of configuration options for Sun VM's to fiddle with how code should work on such systems.
    Perhaps surprisingly, or perhaps not, programs with multiple threads are often better off on one processor than multiple. Depends on load of course but you have to think of steps like synchronization. There is more complexity synchronizing across multiple processors than there is multiple threads on one processor. (Note not more complexity in your code but more complexity in how it is implemented by the VM and/or OS)
    Summary
    Both of these processor advancements mean good things for Java IMO. Hyperthreading in particular lends itself well to development in a language where runtime optimizations are performed. Why? Because in Java it is prefferred to gain performance by good design rather than resorting to hackery to squeeze performance from the processor directly.
    As systems grow more complex it is less and less likely that a specfic program can best judge how to tune it's own environment. Better to let a VM and/or OS and/or hardware to handle the optimization at runtime because it has the full picture of what is going on.
    It's like the same reason you really shouldn't call gc in your Java program. The VM knows at runtime far better than you at pre-compile time when it is a good idea to run a garbage collection.
    For multicore the same basic rules apply. Write good and well designed Java code and use existing and well established frameworks and it will work well on a multicore system. Write single threaded GUI apps or threading programs that have a tendency to deadlock and the outcome of multicore will be no better performance and possibly bugs that display themseleves with greater frequency.
    Further Resources
    http://blogs.sun.com/jag/entry/mpi_meets_multicore
    http://en.wikipedia.org/wiki/Hyper-threading
    http://en.wikipedia.org/wiki/Dual-core

  • NO clue about JAVA but need help please

    I am cleaning up someone's else work who used to be employed here. I know ZIP about Java but am becoming more and more familiar with WAR files and deplying them with Jrun on an NT2K Server.So here is what I have. I have a deployed app from months ago. I have a new app to deploy. I did this successfully. I can access it, etc. But I am getting some SQL error.
    Can anyone give me any idea what it could be? I have looked at my sqlcustomauthentication.java file and i have not anything to it. Why would something change on this when all I really did was re-deploy it.
    Here is the error.
    Thanks a TON!!
    java.lang.NullPointerException:
         at allaire.jrun.security.SQLCustomAuthentication.getName(SQLCustomAuthentication.java:76)
         at jrun__members2ejspc._jspService(jrun__members2ejspc.java:62)
         at allaire.jrun.jsp.HttpJSPServlet.service(HttpJSPServlet.java:39)
         at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:228)
         at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:196)
         at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
         at allaire.jrun.session.JRunSessionService.service(JRunSessionService.java, Compiled Code)
         at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java, Compiled Code)
         at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java, Compiled Code)
         at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
         at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
         at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java, Compiled Code)
         at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java, Compiled Code)
         at allaire.jrun.ThreadPool.run(ThreadPool.java, Compiled Code)
         at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code)

    It looks like maybe you are having a problem in the way you are accessing the authentication on your db. From the error message, I would say the name field needed to log in is never being set

  • Newbie Java programmer needs help

    Everytime I go to run my program, I get the error
    "the class welcome.Welcome does not exist" and it's right, there is no such thing, nor will there ever be. There is a Welcome.class though, but it doesn't want to see it. Is there some setting I'm missing(i'm using Borland JBuilder 5 Personal) or is my code wrong. Here it is though, please help!
    import javax.swing.JOptionPane;
    public class Welcome
    public static void main( String args[] )
    JOptionPane.showMessageDialog(
    null, "Welcome to Java Programming" );
    System.exit( 0 );
    }

    Your code compiled and ran perfect on my machine.
    Your problem lays in either:
    1) your WYSIWYG (JBuilder or whatever)
    2) your class path
    I may be wrong. I have never used this program that you are talking about. but it seems to me that if you were able to get this program(IDE) running in the first place it should aready have some kind of JRE installed.
    You may wan't to just download the newest JDK if you don't already have it. Or try to locate the path for the command named "java" and try it like this:
    C:\whatever\path\it\is\java Welcome
    while in the same directory of the Welcome class.
    Hope this helps,
    Ian

  • IMac: Install Java 7 need help!

    Hello, I've an iMac with the newest software version, I want to install java 7 on it for a game server, but when I download it from java.com and I install it and start the server, it still says: Computer on java 6, update to 7 to run server. I already tryed to install with Terminal and direct acess to System Library, it shows that java 7 is installed, but I have to delete java 6. When I delete all java versions, apple says I have to install java SE6, what isn't java 7 but java 6! Help please!!!

    The Oracle JRE is only a web plugin. If you need server-side Java, you'll have to use the Apple-supplied Java 6 runtime, or else the Oracle JDK (which is not a drop-in replacement for Apple's Java.) If your server application depends on Java 7, you'll most likely have to run it on another operating system.

Maybe you are looking for

  • 3 memory modules?!?!

    I'm currently using two 512MB memory modules in dual channel. i want to add more ram to my machine, but i want to keep the pieces that i currently use. so my question is, can i add one more module (1 GB) so that i will have a total of three modules (

  • How to add other 2 control files at ASM in linux RAC

    Hi Experts, I am new for RAC . the vendor build a RAC for us. I found there are only one control file in system. we use oracle 10.2.0.4 at ASM with RAC in redhat linux 5. how to add 2 additional control file to ASM for RAC ? Please provide a procedur

  • Deleting one site from MM

    Just to be on the safe side: if I want to delete one site from my MobileMe, then I have to delete the site from my iWeb AND delete it from my iDisk, right? Anything else to think of so this won't endanger any existing remaining sites?

  • Re: EOS 5D Mark II fails to connect (Code 43) but 5D Mark III connects fine!

    Hi Mike, I'm new to this forum and this is my first post. I had looked for the Delete Post option but couldn't locate it. Here's a quick update. I later discovered the one pin on each of the 5D Mark II port was bent, using a VisibleDust sensor loupe.

  • Purchased the same movie twice

    Help!  I accidentally purchased the same movie twice.  Is there a way to fix it?