What about javai.lib?

I have tried to realize the example of the tutorial at http://java.sun.com/docs/books/tutorial/native1.1/invoking/invo.html (Invoking the Java Virtual Machine). But it does't works.
anyone can tell me what means javai.lib, it's javai.dll or what?
Where do I can download it eventually?
I'm working on Win'98 and winNT platforms and my SDK is jdk1.1.3 and jdk 1.1.2 respective.
thanks

Are you really working with jdk1.1.3, such an old version? I guess you mean jdk1.3, right? Because, as far as I know the javai.lib does exist in jdk1.1.x.
Since jdk1.2 the javai.lib (javai.dll) is substituted by jvm.dll which is in jdkx.x/jre/bin/classic or jdkx.x/jre/bin/hotspot in the jdk.
You have to link against jdkx.x/lib/jvm.lib and set your path variable so that it include the jvm.dll.
Here is an link that describes the disappearing of javai.lib (dll):
http://java.sun.com/products/jdk/faq/jni-j2sdk-faq.html#javai
I hope the things I told are correct, coz I'm also new to JNI.
Robert

Similar Messages

  • WS endpoints restricition: What about java.util.Locale etc.?

    We have some problems with the restrictions for WS endpoints.
    Using SAPNW Developer Studio to create a web service including the virtual interface from a stateful session bean, we are not allowed to use usual types like java.util.Locale or java.util.Properties although they are serializable.
    This is also decribed in the SAPNW DS Help:
    "The following types are not allowed anywhere in the endpoint of a Web service:
    ·        Remote objects (EJBs)
    ·        Classes extending into another class and implementing an interface
    ·        Hashed table-like types
    ·        Classes/objects that cannot be serialized"
    So what is the preferred solution for this issue?
    Is there a way to use the serializable java.util.Locale type in a WS endpoint, or do we have to use its String representation?
    What is the preferred solution for hash-table types like Properties? And what about Interface types like Map?
    Maybe we just do not find the decisive documentation link?
    Thanks a lot,
    Dirk
    Edited by: Dirk Weigand on Nov 20, 2008 8:48 AM
    Moved to "Application Server - Java Programming"

    Question moved to "Java Programming"

  • What about Java????

    hai,
    in C++ by Strostroup Book, I noticed the following.
    char aplphabet[]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
    can be replaced by the declaration(for readability)
    char aplphabet[]="abcdefghijklmnopqrstuvwxyz"
    "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
    What about in Java?? (is there any such method?)
    don't say that, anwer is
    String alphabet = "abcdefghijklmnopqrstuvwxyz"
    + "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
    because this statement is compiled like this
    String alphabet = new StringBuffer("abcdefghijklmnopqrstuvwxyz").append("ABCDEFGHIJKLMNOPQRSTUVWXYZ").toString();
    which creates unnecessarily two more Objects in JVM.
    I think there is no such provision in Java like C and C++.
    santhosh

    schapel is right, according to jls,
    String alphabet = "abcdefghijklmnopqrstuvwxyz"
    + "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
    and
    String alphabet ="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
    have to generate same byte code.

  • NW MI 7.1 has only ABAP stack. what about JAVA stack ?

    Hi,
    Recently i installed NW MI 7.1 EHP1 system. It has only ABAP stack. But for MI configuration i hope we require JAVA stack too.
    Hence can we use some other standalone JAVA system for the MI front end configuration ? If so please tell me what are the usage types are required for that Standalone JAVA.
    Thanks & Regards,
    Bala

    Hi,
    EPC or standard AS Java usage types would be required for MI configuration.
    Suggest you to go through the Master guide at https://service.sap.com/~sapidb/011000358700000391152007E.pdf
    Also more info at http://service.sap.com/instguides ->SAP Netweaver -> Netweaver Mobile 7.1
    Regards,
    Srikishan

  • What about support JavaScript?

    Wow!
    Many thanks for this great App!
    I'm waiting for years!
    So, my question is: what about java support?? sure, its dangerous! any doubts?
    thanks
    Michael
    p.s. hope its the first step for flash on ipad/iphone!

    I had gone through most of that tech note, but hadn't renamed
    the configuration folder - sort of stopped after I couldn't
    uninstall my extensions. So now I did unstall the extensions
    (thanks for that tip!!), which didn't help; then renamed the the
    configuration folder - and voila! it worked. I've done this before
    for a similar problem, guess I should clean out all the old config
    folders out there. Thanks for that. Shows me I must complete the
    tasks given - just didn't quite believe that this was the problem
    being addressed by the tech note.
    Thanks for the help!
    Averill

  • What to do about Java?

    I just updated my old iMac(10.7.5), and it included a Java update. What should I do about Java? I have it disabled in Safari and Firefox at the moment for security reasons. So do I leave everything as is or do I need to uninstall java? Help.

    JazzmanJohn wrote:
    So are you saying to ignore the latest update and leave it disabled?
    If it were me I would always keep it up-to-date in case I find some day that I must enable Java to do a critical task. That would not be the time to try and figure out if it's up-to-date or not.
    That being said, there are somewhere between five and eight new vulnerabilities in that latest update.
    To keep track of that watch this site http://java-0day.com periodically.

  • HT5246 What about users with Java installed?

    What about users who have Java installed? Do they not need to run this program? Why?

    The flashback malware removal tool is included in the latest security update. If you've downloaded all your updates, it's been installed and if you got no message you had no malware.

  • What is "dynamic" about Java?

    hi
    I'm new to Java and programing in general
    There are few things I don't understand about Java and OOP in general.
    1)
    How does memory allocation in Java differ from memory allocation in, say, C or pascal?
    * memory for all the variables declared in C is allocated at compile time. This way program can figure out at compile time whether there is enough memory to run a program.
    In Java memory for primitive types is allocated at compile time, but memory for objects is allocated at run time.
    So in other words, program has no way of knowing ( prior to running ) whether there is enough memory to run the program?
    2)
    Word "dynamic" is often used when talking about java. Does word dynamic in context of Java only refer to dynamic memory allocation, or does Java have some other "dynamic" features also?
    thank you

    No quiant like:
    Sitting in the sun with a book on Java;
      going back inside by the lamp with Lava.
    Swimming in the stream having nay a botha;
      laying on the shore to rest when I feel I'd ratha.
    Flying paper kites at the beach in summer;
      feeling wind in my hair, hear a distant hum<m>er.
    Going to the strip, hear the distant thunder;
      hear the flathead roar, see the red-light blunder.
    [pre]
    ~Bill                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Why can't i install java on os 10.7, under install it says error  something about java script

    why can't i install java on os 10.7, under install it says error  something about java script

    If you can't get any software updates, there is something wrong and I would suggest reinstalling Lion.
    What errors do you get when you try to install the updates?
    What is the build number of Lion. Look in About this Mac and click on the version number.

  • Questions about Java Servlets and JSP

    Hi,
    I'm a confident Java Programmer (and really enjoy using this language) but am very new to Java servlets and Java Server Pages.
    I have previously worked with Perl on my web projects (simple 'league' style voting pages). I read in my 'Core Java' book that I should no longer use perl or even cgi.
    I need to know more about Java servlets and Java Server Pages so I can make the switch to a 'real' programming language.
    I have a few questions:
    How should I start to learn JS and JSP?
    How applicable will the java knowlegdge I have already be?
    Are JSP common on the world wide web?
    What tools do I need to start? (I currently develop in JBuilder and have Java 1.4.1 Standard Edition)
    Is it likey my web host (and others) will support JSP?
    Thank-you very much for helping a novice get started,
    Regards,
    Paul

    Hi, Steve ...has to be frustrating! But do not despair.
    Let's suppose the servlet it's named MyServlet on package org.servlets
    WEB-INF should look:
    WEB-INF
    classes
    org
    servlets
    MyServlet.class
    web.xml
    web.xml file should have this two declarations:
    <web-app>
      <servlet>
        <servlet-name>MyServlet</servlet-name>
        <servlet-class>org.servlets.MyServlet</servlet-class>
      </servlet>
      <!-- other servlets -->
      <servlet-mapping>
        <servlet-name>MyServlet</servlet-name>
        <url-pattern>/MyServlet</url-pattern>
      </servlet-mapping>
      <!-- other servlets mappings -->
    </web-app>Now, once the container starts (Tomcat?), you should be able to see that servlet in:
    http://localhost:8080/[my-context/]MyServletAnd what my-context is? The web application context. This string should be empty if your're deploying to the root context, otherwise should the context name. In Tomcat, deploying to root context defaults to using webapps/ROOT.
    Sorry for my English, but I felt the need to answer your request. I hope it helps despite my writing.

  • What is Java good for?

    I need to develop a really serious solution for Win2K server, that will handle security data. Now I am thinking of a platform to do it. Can Java really secure the data I will trust to store it? I mean various mulfunctions, program bugs, errors, so on. Microsoft really insists on trusting its programs, not Java's (see the installiation guide for Win2K: 'Java cannot be used for medical, technical (for example handling the nuclear enterprises) ...'), so I don't know what to do. Developing a Java solution will be simplier that doing the same thing with VC.Net, but ... What do you think? What is Java good for?

    Microsoft really insists on trusting its programs, not Java'sDo you trust Microsoft?
    (see the installiation guide for Win2K: 'Java cannot be used for medical, technical (for example handling
    the nuclear enterprises) ...'), so I don't know what to do. The nuclear bit is in the Java license ("You acknowledge that Software is not designed, licensed or intended for use in the design, construction, operation or maintenance of any nuclear facility.") I think it's probably either a result of US law requiring some certification or other for software used in nuclear facilities, or a preemptive move by Sun to forestall possible lawsuits.
    The JVM is stable, probably more so than .NET since it's older, and should be suitable for your use, based on the description so far. The things you need to worry about are primarily personnel and hardware configuration (i.e. disabling virtual mem).

  • Currency sign in identifiers - what about � � � �?

    Is the following true for any currency sign?
    [from tutorial http://www.javacertificate.com/]
    An identifier is a word used by the programmer to name a variable, method, class, or label.
    Identifiers can start with the currency sign $,�, but cannot start with a digit. Identifiers can start with any currency sign as long it is a Java Letter.
    what about � � � �?
    �_euro
    �price
    �ytuy978
    are these valid identifiers?

    You can test it with the method Character.isJavaIdentifierStart(char c).
    And for example,
    java.lang.Object \u20ac = new Object(); //the unicode escape \u20ac is for the euro symbol
    System.out.println(\u20ac.toString());runs normally.

  • Need Information About Java Platform Overview For Manager (WJTB-310)

    Hi, My name is Jeffry. I need information about Java Platform Overview For Manager (WJTB-310).
    I need Information about table of contents, how long it takes to study that training (approximately), how many chapters are in that training, minimum Internet connection speed to access that training, and everything you know about WJTB-310.
    Is there a synchronized audio in WJTB-310 ?
    Is there a video streaming in WJTB-310 ?
    Can I receive a certificate for any web-based training ? especially in WJTB-310 ?
    Is there a programming language material in WJTB-310 or just an overview ?
    Sorry for asking to many question
    Thanks
    Jeffry Kristianto Yanuar

    I thought I'd give you a response even if I can't answer your question completely. (I think we ought to start a separate thread entitled "How do you get any replies on this forum???") Here is what I have been forced to do. I introduced some JavaScript on the web page that contains the applet I want to be run. The sole purpose of the JavaScript is to detect which platform the client is on. If it's not MacIntosh, then I have JavaScript write the <object><embed> tag used by the Java plug-in. It it is MachIntosh, then I have JavaScript write the regular <applet> tag and let the Mac browsers do as best they can. With mixed and disappointing results. Netscape 6.2 crashes with a lot of applets. IE 5 brings up the applet okay but certain Swing components aren't displaying properly. The MacIntosh I've been testing on is version 9.1. I'm trying OS X tomorrow.
    Why don't you send a reply to my query under the Java Plug-in Forum--from aronsz, dated 06/11/02--if you have some more info by now. I sure would appreciate it.

  • Question about Java MySQL connection

    Hi guys, greetings to y'all, me name is Ryan, I'm new 'round here.
    I have some questions, I have some application that I build with Java and using MSSQL Server 2000 as it's database, and now I want to try to use MySQL as it's database. I use MySQL server 5.0 and Navicat 8 for MySQL for the gateway and Win XP SP2 as my OS, what I want to know is, can you guys give me some connection string example for MySQL, for Java that is, I'm still learning in Java so sorry if I have some mistaken languages or code related words. Thanks a lot guys.
    Best Regards.

    Hi zahid, thanks for the reply, so if I have this code, like this one
    try
                                  Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                                  Connection con;
                                  con=DriverManager.getConnection("jdbc:odbc:FlightSource","","");
                                  stat2=con.prepareStatement("insert into Passenger_Table(vPassenger_Name,vPassenger_gender,iPassenger_Age,vPassenger_Destination,vPass_FlightClass,vPass_FlightType,vDate_of_Issue,vDate_of_Departure,vDate_Expire,vForm_Payment,Card_No,vTotal_Price)values(?,?,?,?,?,?,?,?,?,?,?,?)");
                                  stat2.setString(1,textNama.getText());
                                  stat2.setString(2,(String.valueOf(entry2)));
                                  stat2.setString(3,textUmur.getText());
                                  stat2.setString(4,textTujuan.getText());
                                  stat2.setString(5,(String)comboKelas.getSelectedItem());
                                  stat2.setString(6,(String)comboJenisKeberangkatan.getSelectedItem());
                                  stat2.setString(7,(String)comboTglTiket.getSelectedItem()+"/"+texttgltiket1.getText()+"/"+texttgltiket2.getText());
                                  stat2.setString(8,(String)comboTglBerangkat.getSelectedItem()+"/"+texttglberangkat1.getText()+"/"+texttglberangkat2.getText());
                                  stat2.setString(9,(String)comboTglKadaluwarsa.getSelectedItem()+"/"+texttglkadaluwarsa1.getText()+"/"+texttglkadaluwarsa2.getText());
                                  stat2.setString(10,(String)comboPayType.getSelectedItem());
                                  stat2.setString(11,textCardNo.getText());
                                  //stat2.setFloat(12,Float.parseFloat(textHarga.getText()));
                                  stat2.setString(12,textHarga.getText());
                                  stat2.executeUpdate();
                                  JOptionPane.showMessageDialog(null, "The Data has successfully Booked " );
                             catch(Exception exception)
                                  JOptionPane.showMessageDialog(null,"Error encountered while entering data in the database: "+exception);
                             }I just simply change the Class.forName{} line right ?
    What About the database name, considering in the code above I used ODBC (the ODBC name is FlightSource), so the database was configured when I create the ODBC, then how about MySQL, should I create ODBC too to configured the database that I wanna use ?

  • Question about Java SE Source Code

    I was wondering, what is Java SE written in? Can't be Java right? Since thats like the chicken and the egg. Can't write in Java unless you have a platform to interpret Java code into byte code, but if the platform is written in Java... what is interpreting the platform? The platform can't interpret itself right?
    Little confused about it ^, I didn't post in the thread about open source Java since everyones just fighting on there about how old or new the news is. To tell ya the truth, I heard about it yesterday but didn't expect it so soon. Its nice that its here, its now fully Linux friendly. :D
    I might download the code and take a look at it if its written in Java.

    I was wondering, what is Java SE written in? Can't be
    Java right? Since thats like the chicken and the egg.
    Can't write in Java unless you have a platform to
    interpret Java code into byte code, but if the
    platform is written in Java... what is interpreting
    the platform? The platform can't interpret itself
    right?
    So you write the 0.0.1 compiler and runtime in something else.
    Using that you create and compile a Java version that you call 0.0.2.
    You now have a compiler written in Java that can compile Java.
    The runtime is a bit more complex as it needs some platform specific bootstrapping code, but most of that can be written in Java as well.
    And that's no theory, it's what actually happens (and not just with Java).
    Not everything is Java, but a good chunk certainly is (or can be).

Maybe you are looking for

  • Gestures stopped working

    I am using both magic mouse and trackpad.  (still trying to decide if I like the trackpad.) I have been using both for about a month, but just in the last few days pretty much all of the multi-touch gestures have quit working on both. They will not s

  • System Center 2012 Gateway servers capabilities

    We're looking into using System Center Operations manage and I have a couple of questions.. We have a number of environments that will need gateway servers. Can gateway servers be configured to send email notifications via an SMTP server or do all al

  • Read the raw image file

    I want to read the raw image file , i have the basic labview 8.0 version

  • Delivery date and loading date is same

    Hello , Issue decription: The system calculating delivery=loading date , though the route is maintained for 9 days trasit days. This problem is with only one routeA. When i have created SO for material M123 with route "B" shipping Point 0001, the sys

  • I'm running MacOSX 10.3.2. Can I upgrade my current Firefox from 2.0.0.2 to Firefox 3? I'm suddenly having trouble with Gmail.

    Within recent days, I'm having trouble using Gmail on my Firefox 2.0.0.2 browser. The trouble involves deleting SPAM and Trash, and loading mail received. The error message I get is "Oops -- We encountered a problem (#010)." The browser is installed