Akshaya Akki has Published 49 Articles

How to configuring Java Environment on Windows?

Akshaya Akki

Akshaya Akki

Updated on 13-Jun-2020 13:06:46

95 Views

Set pathAssuming you have installed Java in c:\Program Files\java\jdk directory −Right-click on 'My Computer' and select 'Properties'.Click the 'Environment variables' button under the 'Advanced' tab.Now, alter the 'Path' variable so that it also contains the path to the Java executable. Example, if the path is currently set to 'C:\WINDOWS\SYSTEM32', then change ... Read More

How to Set Permanent Path of JDK in Windows?

Akshaya Akki

Akshaya Akki

Updated on 13-Jun-2020 12:48:33

1K+ Views

Following are the required steps −Assuming you have installed Java in c:\Program Files\java\jdk directory −Right-click on 'My Computer' and select 'Properties'.Click the 'Environment variables' button under the 'Advanced' tab.Now, alter the 'Path' variable so that it also contains the path to the Java executable. Example, if the path is currently set to 'C:\WINDOWS\SYSTEM32', ... Read More

How to Set PATH and CLASSPATH in Java?

Akshaya Akki

Akshaya Akki

Updated on 13-Jun-2020 12:41:49

3K+ Views

Set pathAssuming you have installed Java in c:\Program Files\java\jdk directory −Right-click on 'My Computer' and select 'Properties'.Click the 'Environment variables' button under the 'Advanced' tab.Now, alter the 'Path' variable so that it also contains the path to the Java executable. Example, if the path is currently set to 'C:\WINDOWS\SYSTEM32', then change ... Read More

What is the role of pageY Mouse Event in JavaScript?

Akshaya Akki

Akshaya Akki

Updated on 23-May-2020 09:33:47

75 Views

When a mouse event is triggered, the pageY mouse event property is used to get the vertical coordinate of the mouse pointer. The coordinate is relative to the screen.ExampleYou can try to run the following code to learn how to implement pageY Mouse event in JavaScript.         ... Read More

What is the usage of onpagehide event in JavaScript?

Akshaya Akki

Akshaya Akki

Updated on 21-May-2020 07:47:55

277 Views

The onpagehide event triggers in JavaScript when a user leaves the page and decides to move to another. Some examples include age refresh, a link is clicked, etc.ExampleYou can try the following code to learn how to implement onpagehide event in JavaScript.           Close the ... Read More

Existing RFC to load table data, and to get list of tables and list of BAPI’s in SAP

Akshaya Akki

Akshaya Akki

Updated on 16-Mar-2020 06:57:46

806 Views

I am not sure that there exists a BAPI to see list of all BAPI’s in SAP system. You can use the Function module RFC_FUNCTION_SEARCH to search for function modules starting with BAPI*.ExampleYou can call Function Module-BAPI_MONITOR_GETLIST to get list of all available BAPI’s.CALL FUNCTION'BAPI_MONITOR_GETLIST' EXPORTING OBJECTTYPE = p_ojtpe SHOW_RELEASE ... Read More

Methods of StringTokenizer class in Java.

Akshaya Akki

Akshaya Akki

Updated on 27-Feb-2020 05:26:24

125 Views

The StringTokenizer class of the java. util package allows an application to break a string into tokens.This class is a legacy class that is retained for compatibility reasons although its use is discouraged in new code.Its methods do not distinguish among identifiers, numbers, and quoted strings.These class methods do not ... Read More

How do I determine if a String contains another String in Java?

Akshaya Akki

Akshaya Akki

Updated on 26-Feb-2020 09:58:29

89 Views

The java.lang.String.contains() method returns true if and only if this string contains the specified sequence of char values.ExampleLive Demopublic class Sample {    public static void main(String args[]){       String str = "Hello how are you welcome to tutorialspoint";       String test = "tutorialspoint";     ... Read More

Java String comparison, differences between ==, equals, matches, compareTo().

Akshaya Akki

Akshaya Akki

Updated on 26-Feb-2020 06:28:55

496 Views

The equals() method compares this string to the specified object. The result is true if and only if the argument is not null and is a String object that represents the same sequence of characters as this object.Examplepublic class Sample{    public static void main(String []args){       String s1 ... Read More

Java program for String Concatenation.

Akshaya Akki

Akshaya Akki

Updated on 26-Feb-2020 05:56:38

93 Views

The concat() method of the String class concatenates the specified string to the end of this string.Exampleimport java.lang.*; public class StringDemo {    public static void main(String[] args) {       // print str1       String str1 = "self";       System.out.println(str1);           ... Read More

Advertisements