quarinteen
New Member
Hello My name is Scott I live in Las Vegas and am new to this forum. I wanted to pick a brain and see if anyone could assist me. I am running Kali and its default Java version is 11. I have a jar file that requires 8.0 which I have installed in usr/lib/jvm/java-8-openjdk-amd64. I am trying to write a script to put on the desktop to run this without changing the system java environmental path to 11.0.
I have a java program in /root/smstest it consists of 2 .jar files which need to be ran on top of each other ( thats not the right term I am brain dead at the moment. What I did is inside the java 8 bin folder where the java executable lives I created 2 sym links to the 2 jar files then I created a bash script in the same folder that looks like this
#!/bin/bash
#run burp with crack
bash ./java -Xbootclasspath/p:Loader.jar -jar burpsuite_pro_v1.7.34.jar
I also tried
#!/bin/bash
#run burp with crack
./java -Xbootclasspath/p:Loader.jar -jar burpsuite_pro_v1.7.34.jar
If I run ./java -Xbootclasspath/p:Loader.jar -jar burpsuite_pro_v1.7.34.jar from within the folder it works. If anyone knows how to accomplish this let me know. Thank you..
I have a java program in /root/smstest it consists of 2 .jar files which need to be ran on top of each other ( thats not the right term I am brain dead at the moment. What I did is inside the java 8 bin folder where the java executable lives I created 2 sym links to the 2 jar files then I created a bash script in the same folder that looks like this
#!/bin/bash
#run burp with crack
bash ./java -Xbootclasspath/p:Loader.jar -jar burpsuite_pro_v1.7.34.jar
I also tried
#!/bin/bash
#run burp with crack
./java -Xbootclasspath/p:Loader.jar -jar burpsuite_pro_v1.7.34.jar
If I run ./java -Xbootclasspath/p:Loader.jar -jar burpsuite_pro_v1.7.34.jar from within the folder it works. If anyone knows how to accomplish this let me know. Thank you..