Java environment basics

1) what does the jdk contain ?
2) what is the JRE ?
3) what is the java console / plug-in app ?
4) what is the java web start app ?
Please provide details
pravric

Click the Glossary entry at the left of this page:
http://java.sun.com/learning/new2java/index.html

Similar Messages

  • Can i connect to lotus domino database in my java environment

    Hi javaites,
    I want to know if i can connect to domino database from my java environment. i need to pick e-mail address of staffs from lotus notes database. if possible how can i go about it.
    thanks

    Yes, you can connect to a database on a Lotus Domino server. The classpath must include Notes.jar (local) or NCSO.jar (remote) - and the DIIOP (Domino IIOP) task on the Domino server must be running.
    The following article might help you:
    http://www-128.ibm.com/developerworks/lotus/library/ls-Java_access_pt1/index.html

  • How to run DOS command in Java environment?

    Can i run DOS command in Java environment?
    I did like this:
    Runtime r = Runtime.getRuntime();
    r.exec("cmd.exe");
    r.exec("set classpath=%CLASSPATH%;.\\tmp")
    but failed.
    However if I run the java command, it runs successfully.
    r.exec("javac Test.java");
    r.exec("java Test");
    how should I do so that i can run the DOS commands metioned above in Java Environment?
    thanks a lot.

    Have a look at http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    This may help. I wonder if this is ok ?
    Runtime r= Runtime.getRuntime();
    r.exec("cmd.exe /C set classpath=%CLASSPATH%;.\\tmp\"");

  • Create a MS-DOS java environment

    thought i would post this for the benefit of others. its a dos batch file that creates a java environment in a new dos window (so u don't have to keep typing out file/tool paths all the time):
    @echo off
    rem ******* run Doskey --
    rem ******* NOTE, NT/2000 already has this, so delete the next line
    rem ******* if you find the 'bad command or filename' irritating
    doskey
    rem ******* setup Java environment
    set JAVA_HOME=g:\j2sdk1.4.1_02
    set PATH=.;%JAVA_HOME%\bin;%PATH%
    rem used by Java2 to add jar files
    set CLASSPATH=.;
    rem ******* sanity check
    %JAVA_HOME%\bin\java -version
    set this up as a batch file, and create a shortcut to the command prompt on ur desktop. open the shortcut's properties dialog and tell it to 'open in' the directory that u keep your source java work; and after the 'target' entry (the path to the command prompt program) add the switch '/k' and the full path to the batch file u created from the above!

    Why not just added them to your environmental variables through the control panel?

  • How to run java application without having java environment in  a machine

    can i run java application without having java environment(JVM) in a machine.I mean i dont have installed j2se or jdk in my machine.And i have an j2ee application running on another host which is built in swings.I want to access that application in my machine
    can any one help regarding my problem

    If you only need to access the program from one machine and you are running a Unix-like operating system (e.g., Linux, Solaris), you can use the remote display capabilities of X11. In this case you have to choose the host where the app will be displayed when you start it:
    $ DISPLAY=<hostname>:0.0
    $ export DISPLAY
    $ java ...
    If you want to be able to display it on both machines at the same time, or if you are using windows, then try something like VNC (http;//www.realvnc.com). Or if you are running windows and your version supports it, you can use windows remote desktop.

  • Oracle Java Environment Error - Not enough java classes defined ?

    I'm using 11gR1, and recently ran into a problem with Java Stored Procedures.
    It was working fine last week, and then this week at runtime I started getting an error:
    Error in Oracle java environment: ops1 - java.lang.Exception: Not enough java classes defined in the database.  Java Stored Procedures are not installed properly.
    I checked both the SYS schema and my user schema's Java classes. Neither had any invalid classes. For my user schema, the number of java classes seems right. For the SYS schema, I haven't figured out how to get past the 2000 rows fetch limit, so it will max out at 2000 - none of which are invalid.
    I cleared out my user schema and re-loaded its classes, and they all compiled/validated fine.
    A google search found no help...
    TIA
    Update (results of class count query):
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select count (*) from dba_objects where object_type like '%JAVA%';
    COUNT(*)
    28895
    Edited by: GDub on Aug 18, 2010 2:37 PM

    I'm using 11gR1, and recently ran into a problem with Java Stored Procedures.
    It was working fine last week, and then this week at runtime I started getting an error:
    Error in Oracle java environment: ops1 - java.lang.Exception: Not enough java classes defined in the database.  Java Stored Procedures are not installed properly.
    I checked both the SYS schema and my user schema's Java classes. Neither had any invalid classes. For my user schema, the number of java classes seems right. For the SYS schema, I haven't figured out how to get past the 2000 rows fetch limit, so it will max out at 2000 - none of which are invalid.
    I cleared out my user schema and re-loaded its classes, and they all compiled/validated fine.
    A google search found no help...
    TIA
    Update (results of class count query):
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select count (*) from dba_objects where object_type like '%JAVA%';
    COUNT(*)
    28895
    Edited by: GDub on Aug 18, 2010 2:37 PM

  • Unable to bring up SAP GUI for Java Environment

    New to linux, install SAP NetWeaver 2004s on RHEL 5.3 under Linux.
    Install jdk v1.4.2 (java-1.4.2-ibm-1.4.2.10-1jpp.2.el4.x86_64.rpm, java-1.4.2-ibm-devel-1.4.2.10-1jpp.2.el4.x86_64.rpm) and execute  java -jar PlatinGUI-Linux-700.jar without any problems.
    However, when trying to bring up the SAP GUI for Java environment, I get the fatal error as belows:
         Attempt to load the shared library /opt/SAPClients/SAPGUI7.00/bin/libjOlatin.so failed.
         The library file exists, so either the program or the library don't has privileges to access the library
         or the library is not loadable by the shared object loader.
       /opt/SAPClients/SAPGUI7.00/bin
            drwxr-xr-x 2 root root    4096 Apr 22 13:28 gmux
             -rwxr-xr-x 1 root root    4052 Apr 22 13:28 guilogon
             -rwxr-xr-x 1 root root    4052 Apr 22 13:28 guistart
             -rwxr-xr-x 1 root root    5276 Apr 22 13:28 libGnomeConnect.so
             -rwxr-xr-x 1 root root 4975845 Apr 22 13:28 libJPlatin.so
             -rwxr-xr-x 1 root root   15456 Apr 22 13:28 libKde3Connect.so
             -rwxr-xr-x 1 root root 4472149 Apr 22 13:28 sapftp
             -rwxr-xr-x 1 root root    4050 Apr 22 13:28 sapgui
             -rwxr-xr-x 1 root root 4523284 Apr 22 13:28 saphttp
    Any ideas to the above
    Thanks.

    Hi Hannes,
         When the guistart program is started, I get the following messages:
    drwxr-xr-x 2 root root    4096 Apr 22 13:28 gmux
    -rwxr-xr-x 1 root root    4052 Apr 22 13:28 guilogon
    -rwxr-xr-x 1 root root    4052 Apr 22 13:28 guistart
    -rwxr-xr-x 1 root root    5276 Apr 22 13:28 libGnomeConnect.so
    -rwxr-xr-x 1 root root 4975845 Apr 22 13:28 libJPlatin.so
    -rwxr-xr-x 1 root root   15456 Apr 22 13:28 libKde3Connect.so
    -rwxr-xr-x 1 root root 4472149 Apr 22 13:28 sapftp
    -rwxr-xr-x 1 root root    4050 Apr 22 13:28 sapgui
    -rwxr-xr-x 1 root root 4523284 Apr 22 13:28 saphttp
    [root@localhost bin]# ./guistart /H/n4shost/S/3201&expert=true
    [1] 5428
    [root@localhost bin]# ############################# ERROR #############################
    22.04. 16:29:30.791 ERROR: Attempt to load shared library /opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so failed.
    The library file exists, so either the program
    don't has the privileges to access the library
    or the library is not loadable by the shared object loader
    Technical information:
    Error location: GuiJniLoader.loadPlatinLibrary()
    Error message : /opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so (/opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so: wrong ELF class: ELFCLASS32)
    ERROR #############################
    java.lang.UnsatisfiedLinkError: /opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so (/opt/SAPClients/SAPGUI7.00/bin/libJPlatin.so: wrong ELF class: ELFCLASS32)
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:958)
            at java.lang.System.load(System.java:366)
            at com.sap.platin.r3.util.GuiJniLoader.loadPlatinLibrary(GuiJniLoader.java:129)
            at com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:24)
            at com.sap.platin.r3.protocol.diag.GuiDiagToAutomationParser.configure(GuiDiagToAutomationParser.java:289)
            at com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:314)
            at com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:850)
            at com.sap.platin.base.logon.GuiImpl.evalCommandLine(GuiImpl.java:265)
            at com.sap.platin.base.logon.GuiImpl.<init>(GuiImpl.java:43)
            at com.sap.platin.base.logon.GuiImpl.main(GuiImpl.java:380)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.platin.micro.Microkernel.invokeMainMethod(Microkernel.java:1584)
            at com.sap.platin.micro.Microkernel.startApplication(Microkernel.java:1662)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.platin.Gui.main(Gui.java:65)
    [root@localhost bin]#
    Cheers.

  • Java Card Basics

    Hello People
    This is my first time working with Java Card and any other smart card related stuff.
    So I read the 3 parts of "An Introduction to Java Card Technology" and other two articles there.
    I have serveral inquires about the issue.
    Is the STK the same as sim.toolkit ? or is it a proprietry kit for each smart card manufacturer ?
    What is sim.toolkit ? is it different than what java card provides ?
    What I want to do is an applet on a SIM that sends encrypted SMSs.
    I read that java card applets are passive, does that mean when the applet is installed on the SIM,
    another app (probably J2ME) must activate and run it ?
    In my project, do I need to use sim.toolkit.* for SMS capabilities or java card got that?
    Exucse my ignorance in the matter, any help is appreciated,
    Regards

    So, no one is familiar with Java Card basics to clear some stuff for me ?

  • Can an application work without the Java environment?

    Is there anyway I can take an application that I have developed on my computer to my friend without installing the Java environment on his computer. If there is, what is the easiest way to do it?

    or put your application in an applet and show it with a html site.
    otherwise: no

  • Java environment

    Could we say that JDeveloper is equivalent to JBuilder as Java environment.
    Could somebody recommend which tool to use for developing Java application for Internet and Intranet.
    I'm new to Java programming and I want to make a proper choice right on start about which environment to learn for applications development.
    Jonas
    null

    Could someone also show him how to search the web?
    http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=jre+jvm
    Hey, see the first page of matches?

  • How to obtain the Java environment in the already loaded dll

    Hi all!
    I try to implement a client GUI in Java. I load the static (c++) dll from the Java code, this work fine. But, I want to call also from the loaded dll to the client GUI, make a two-directional communication. How can I obtain the valid environment pointer in the c++ code?
    Can you please help me?
    Thanks very much
    JAttila

    There is a method that returns the environment.
    But, I want to call also from the loaded dll to the client GUI,In response to what? If a thread then you have to also register the thread.

  • Need help with settng up JAVA environment

    Hi:
    Can someone help me?
    How do you set up PATH and CLASSPATH?
    I downloaded the J2SDK VERSION 1.4. Then installation created the java folder j2sdk. So now all the files are in C:\J2SDK\such as lib,bin,read me right! What do I do next?
    Now how do I set my environment variables.Plus I created a new folder called Khava on my desktop to put my source code files.
    Appreciate any help
    Thanks.

    depends on ur OS. If you are running Windows 9X/2K/Me...find your autoexec.bat file. Either right-click and edit it or type "edit autoexec.bat" in DOS. In there, add to your current PATH line (or create one if you don't) that has the bin folder in it.
    So in your case, append this to the PATH= line:
    C:\J2SKD\bin
    should be all you need.
    Save and either restart the puter or run autoexec.bat. To check to see if it worked, type "PATH" in DOS and it'll display ur current path. Hope this helps.

  • Java Mappings Basics

    Hi!,
    I am new to SAP XI....I am comfortable with certain scenarios...I know Java...not an expert though, but can try to understand...I want to learn Java Mappings from the basics....i.e., start to finish... Can anyone help me with this.....with all screenshots and step by step instructions.....
    Also, I am looking for a job in SAP XI......How do I have to proceed....Also, please explain the format, specifications of a project so that, I'll have some idea about it....
    Thanks..

    I want to learn Java Mappings from the basics....with all screenshots and step by step instructions.....
    http://help.sap.com/saphelp_nw04/Helpdata/EN/e2/e13fcd80fe47768df001a558ed10b6/content.htm
    Testing and Debugging Java Mapping in Developer Studio
    Java Mapping (Part I)
    Java Mapping (Part II)
    Java Mapping (Part III)
    Using JAXP to both parse and emit XML in XI Java mapping programs
    "JAVA MAPPING", an alternate way of reading a CSV file
    Comparing Performance of Mapping Programs
    JAVA Mapping
    Java mapping
    Implementing a Java Mapping in SAP PI
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=java mapping&cat=sdn_all#
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/javaMappingusingDOMParser&
    The specified item was not found.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10dd67dd-a42b-2a10-2785-91c40ee56c0b
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/binary%2bconversion%2bin%2bxi%2b-%2bjava%2bmapping
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50ce0433-4309-2b10-4bb4-d421e78463f7
    The specified item was not found.
    I hope this would be enough for getting a good hold on java mapping
    thanks
    hemant

  • How to created roles in JAVA environment

    Can anybody tell me how to create Roles and profiles in JAVA only environment?
    Thanks in advance.

    Hai,
    Please check the below link, will help....
    http://help.sap.com/saphelp_nw04s/helpdata/en/5b/5d2706ebc04e4d98036f2e1dcfd47d/frameset.htm
    Regards,
    Yoganand.V

  • Java Arrays basic

    i want to ask a basic question which i don't know..
    Employee[] emp=new Employee[10];
    System.out.println(emp.length);
    in the second line, we are using length variable..
    i want to know, from where 'length' is coming?
    in which class it is defined?
    Thanks in advance...

    Yes...
    In the Java programming language arrays are objects (§4.3.1), are dynamically created, and may be assigned to variables of type Object (§4.3.2). All methods of class Object may be invoked on an array.
    this is the very 1st line of the documentation...sometimes reading documentation is helpful (I know sometimes its boring too...)
    have you checked ArrayList? its pretty impresive ... lol
    ArrayList<String> arr= new ArrayList<String>();ArrayList is a growable Array.

Maybe you are looking for