In this tutorial you will learn how you can setup a jar file in Eclipse IDE. Follow the given steps and you could easily set it up.
Let me specify that in my case we will install a jar file created my me that is utility.jar .If you are downloading other packages like Free TTS,open cv, j3d or any other then you just need to find the jar files in their folder and rest of the tutorial remain the same.
Step 1:- Open Eclipse Ide
Open your Eclipse ide in my case it is Version: Luna Service Release 2 (4.4.2)
Step 2:-
In the top menu bar click on WINDOW menu item. And then you will see a pop up menu will appear.In the pop up menu click on PREFERENCES .
Step 3:-
Then in the next window's left hand side click on JAVA and then on
BUILD PATH.Under build path you will see two optionsclasspath variablesand User Librariesyou need to click on user libraries.
Step 4:-
Then the next window which will appear must look like this.
Now just click on NEW button and specify any name to your library. After this click on OK.
Step 5:-
Now you just need to specify the jar files, for this select your newly created library and click on ADD EXTERNAL JARS. Just find your way to the jar file in your pc and click on OK button and you are done.
FIND THE .jar FILE
And finally click on OK button
Hope it might be useful for you please fell free to comment if you got stuck in any step . Also see how to similar stuff in BLUE-J.
In this tutorial you will learn how you can setup a jar file in Blue J IDE. Follow the given steps and you could easily set it up.
Let me specify that in my case we will install a jar file created my me that is utility.jar .If you are downloading other packages like Free TTS,open cv, j3d or any other then you just need to find the jar files in their folder and rest of the tutorial remain the same.
Step 1:- Open blue-J Ide
Open your blue j ide in my case it is Blue-J 3.1.7.
Step 2:-
In the top menu bar click on TOOLS and after that in the drop down menu click on PREFERENCES .
Step 3 :- After clicking on preferences you will see a screen like this.
Just click on Libraries Tab.
Step 4 :- After clicking on libraries blue j will show the list of pre loaded jar files that you must be using before.On the right hand side of the window you will see ADD button just click on it.
Step 5:- Just find your way into you computer hard disk for the required .jar or .zip file and click on OPEN button.
Step 6:-
After clicking on OPEN button click on OK button and a pop up will come with the following message.
Just restart Blue J for the changes to take place and the you are ready to use classes or packages embed in that .jar file Hope it might be useful for you please fell free to comment if you got stuck in any step . Download The Instructions Here(.pdf)Also see how to perform similar stuff in Eclipse.
Today I will tell you how can you enhance your simple java CUI programs and applications with these small tricks and methods How to clear the output screen through code
If you had ever make a vast java program then you might have been met with the problem on how to clear the output screen when a specific function is called or it is also needed in large menu driven programs .If you want the answer then you are on the Wright track.
In C++ it is easy to clear the screen by just invoking the function clrscr().However java does not provide any predefined function In order to do so yet this one line code can help you to clear the output screen .
System.out.print(“\f”);
I know you could not believe it but its true this one line can clear the output screen.
For your satisfaction see this video practical below.
c
My dprint and dpritln functions
To enhance your cui java program you could use these two user defined functions in your java program these functions can be used in place of of print() and println() of System class.
What’s special in them
These function provide a special typing effect to your cui program dprint() is similar to print() and dprintln() is similar to println().
dprint():-
public void dprint(String textToPrint, int timeToWait)
{
int i;
for( i=0;i<textToPrint.length();i++)
{
System.out.print(textToPrint.charAt(i));
try
{
Thread.sleep(timeToWait);// stop the printing process for” timeToWait” mill seconds
}
catch (Exception e){}
}
}
dprintln():-
publicvoid dprintln(String textToPrint, int timeToWait)
{
int i;
for( i=0;i<textToPrint.length();i++)
{
System.out.print(textToPrint.charAt(i));
try
{
Thread.sleep(timeToWait); // stop the printing process for” timeToWait” mill seconds
}
catch (Exception e){}
}
System.out.println();//changes the line
}
Here is a video practical which will show you what special effect it gives to the program.
My halt function
If you have seen the previous video you would have found that there is a time gap between the demonstration between output using normal print and output using dprint() this gap is created by my halt() it stops the program compilation for a specific period let’s see how to code it.
public void halt(int timeToWait) //timeToWait is taken in milliseconds
{
try
{
Thread.sleep(timeToWait); // stop the printing process for” timeToWait” mill seconds
Hello world, I shantanu yadav want to introduce you about the app to hack the password. This app can access over wifi security and can hack the password of wireless connectivity. This app matches the pins which were saved in it. If any of the pin matches with it shows the password to you.
AS WE ALL KNOW THIS APP WILL SHOW PASSWORD ONLY WHEN OS IS ROOTED TO ROOT CLICK HERE
*Let’s Start WIFI Cracking But before start WIFI hacking I let you know that this app can only hack WPS enabled security WIFI. this app doesn’t work in some devices due to their unsupported kernel version. In Latest Routers app can’t crack the WIFI password because Router’s PIN Not saved in app (Hopefully in next update of app more routers pin can be added). Depends on Router pin if it saved in app you can easily crack the wifi. Except these hurdles this app can hack almost 80 to 90% wifi password that have WPS Security.
Follow These all steps carefully
First Install Busy box pro apk and Install it open busybox pro and wait for Supersu app popup grant permission to app by clicking on grant button. You will see like this see Image After that you see busybox is not installed message check below Image 2
Click below this text “will be installed to” and select the path where to install buysbox choose system/bin (! Important). Don’t install it on system/xbin.
Now click on install button and wait for seconds you will see popup It’s Look like buysbox is successfully installed close this and slide the tab if busybox is installed successfully you will see something like this check the image below
Great You Done Half process now install the both apps first WPA/WPS tester and then Terminal Emulator. Open WPS/WPA Tester and give grant access to app. Click on three dots and menu will appear and click on Check wpa_cli It show a popup wpa_cli commands not installed. click on Install experimental button and wait now again click on check wpa_cli it shows a tooltip text wpa_cli OK!
Great ! Now open Terminal Emulator and type su and hit enter give grant access to terminal emulator and close the application.
Open WPS/WPA tester app and click on green button in top it’s enable the wifi interface and then scan the wifi if WPS WIFI is available in your area then it’s shows with green lock button. click on wifi name it’s shows a popup with three pin available. Select always default pin then click on Verbose button it’s open the Terminal Emulator hold and press on the screen it’s will show you paste option. Paste the command (already copied just need to paste) and hit enter wait for sometime !
Voila! You auto connected to wifi . If you want to know password click on three dots go to password option and click on it. it’s shows the WIFI password. Check the image below.
9. Enjoy ! the SuperWifi ! and feel like a hacker boy
*Working Devices Xperia E1 (Single & Dual Sim), Galaxy S3 Neo (Stock Rooted not in CM 12/12.1), Moto G Series, YUPhoria and many more if you know tell in comments I’ll add in list.
Commonly Known Issues :
Sometime default pin is not work in Terminal emulator it’s repeat the ssid=”” command or WPS-AP Available command. In this condition close the window of emulator go back to WPS Tester click on app and try with other pins It’s solved the problem.
If WIFI automatically not connected then during running command you will see ssid=”Targeted wifi name”. If You see this go back to app click on show password scroll down you will see password tap on it and manually connect it by entering WIFI password.
Sometime WIFI in settings show WPS avaible WIFI but app not show in this condition reboot the phone or get go to airplane mode in your phone for 5 sec. and then enable the wifi again through WPS tester app.
If You fresh install busybox but it’s showing busybox installed in system/xbin then find busybox uninstaller.zip from xda (for every phone may be it’s different) . Flash zip file from recovery again install busybox and now install it to system/bin.
Sometimes Terminal Emulator shows Unknown username or pid error and IFNAME=unknown command in this situation try above method if it’s showing again error then may be your kernel don’t support this wpa_cli commands (Mostly happen in Gionee P series mobiles , CM12/12.1 for Galaxy s3 Neo Rom)
If You find any other error comment below I’ll try to help you to solve it
And if you like to hack like a pro then you should buy this book