This will display a path similar to /usr/lib/jvm/java-17-openjdk-amd64/bin/java . 2. Set the JAVA_HOME Environment Variable Open your environment configuration file: nano ~/.bashrc Use code with caution.

To learn more about analyzing the files generated by this tool, check out the official Oracle jstack documentation or look into performance monitoring tools like Eclipse Memory Analyzer (MAT) for deep-dive application troubleshooting.

You only have the JRE installed, or your environment variables are misconfigured.

What specific (deadlock, high CPU) are you trying to troubleshoot?

jstack -version

You need the target application's PID to look inside it. Run: jps -l Use code with caution. Note: If jps is missing, use ps -ef | grep java instead. 2. Generate a Thread Dump

This guide provides a comprehensive walkthrough on how to , covering multiple methods suitable for different environments (production vs. development).

If you need help analyzing your output, let me know. I can help you from your log file, explain specific thread states , or show you how to automate thread dumps using a bash script. Share public link

source /etc/environment

Verify that the JDK is installed correctly:

28491 org.apache.catalina.startup.Bootstrap 29502 sun.tools.jps.Jps Use code with caution. In this scenario, 28491 is the PID for a Tomcat web server. 2. Generate a Thread Dump on Screen

This should output the version of Java installed on your system.

Finally, confirm that jstack works by checking its version:

sudo apt update sudo apt install default-jdk

This tool is commonly used in several critical scenarios:

Open a terminal and run the following command:

Proxy Service

Use our premium proxy services to hide your real IP address

My IP Hide

My IP Hide

Surf with 128 encrypted proxies in 34 countries. Change IP every minute. Faster than VPN.

New Product

Rotating Proxy Icon

Rotating Proxy

11975 HTTP(s) & Socks5 proxies for SEO/traffic tools. Rotate IP every second or 30 minutes.

Learn more

Traffic Bot Icon

Traffic Bot

Generate YouTube views, SoundCloud plays, or site visits. Free for our Rotating Proxy users.

Learn more

Matrix Proxy

100 HTTP & Socks5 proxies from 100 unique subnets

Matrix Proxy Select Countries

• 100 HTTP & Socks5 proxies from 100 unique subnets (datacenters), with unlimited bandwidth

• Starting at $0.48 / proxy / month (billed yearly)

• Support 5 whitelist IPs and username-password authentication

Use Matrix Proxy

Whitelist your IP and then get the proxy list

Matrix Proxy List

You can switch to a Socks5 proxy list here. There is no need to test them. They are always working.

Proxy Authentication

We support username-password authentication. You can also choose to whitelist at most 5 IP addresses.

Buy Matrix Proxy
15-day money-back guarantee

Pricing

15-day money-back guarantee. Cancel at any time.

Monthly Yearly Save 20%

Matrix 100
$59.9847.98
/ month
($0.600.48 / proxy)
100 Premium Proxies
100 Unique Subnets
Unlimited Bandwidth
HTTP(s) & Socks5
5 Whitelist IPs
Matrix 50 Most Popular
$39.9831.98
/ month
($0.800.64 / proxy)
50 Premium Proxies
50 Unique Subnets
Unlimited Bandwidth
HTTP(s) & Socks5
2 Whitelist IPs
Matrix 10
$9.987.98
/ month
($1.000.80 / proxy)
10 Premium Proxies
10 Unique Subnets
Unlimited Bandwidth
HTTP(s) & Socks5
1 Whitelist IP

* Not enough IPs? Try our Rotating Proxy service. It has 11975 IPs.

We accept PayPal, credit cards, Alipay, Bitcoin, and many other payment methods. All plans include a 15-day money-back guarantee.

payment methods

FAQs

Frequently asked questions about the Matrix proxy

Our own 108 premium proxies from 108 subnets (datacenters) in 34 countries.

Those proxies are stable and always working. Their success rate is 99%.

Budget providers (under $1/proxy) usually bill by bandwidth and offer very few subnets, often pulling 100 proxies from 5 or fewer subnets.

Our 100 proxies are from 100 unique subnets (datacenters), with unlimited bandwidth. They are hard to be blocked.

The IPs in A.B.C.0 ~ A.B.C.255 (ex. 11.22.33.0 ~ 11.22.33.255) are in the same subnet. install jstack on ubuntu

It's easy for websites to trace or block IPs from the same subnet.

We don't meter the traffic you used.

Some software only supports HTTP(s) proxy and some only supports Socks proxy.

If your software supports both, HTTP(s) is recommended.

Our matrix proxy service supports two authentication methods. To learn more about analyzing the files generated

  • Username/Password: You can use this method if your IP changes from time to time.
  • Whitelist IP: You can use this method if your program doesn't support the user/pass method.

You can choose the authentication method as you like.

1. Whitelist your IP for "IP Authentication" in the client area.
Otherwise, the proxy will deny your requests.

2. Input that proxy to the proxy option of your software.
Proxy IP: (get from the client area)
Proxy Port: 2000 (HTTP/s) or 3000 (Socks5)

3. How to check the proxy is working?
Use that proxy to surf this show-my-IP page: http://checkip.amazonaws.com

No, our proxies don't support mailing. We block SMTP ports 25, 587, and 465. By the way, we are not aware of any proxy vendor that sells mailing proxies. jstack -version You need the target application's PID

No. Our proxies are from datacenters. You can buy rotating residential proxies from this vendor.

No, they are shared, not exclusive.

You can buy a small package to check whether it works for your target website.

We provide a 15-day money-back guarantee. If not satisfied, you can request a full refund.

We add update the proxies from time to time. You can get a new proxy list every 10 days.

No. Your two licenses will use the same proxy pool as we only have one.

Note: Click on the heading text to expand or collapse questions.

Statistics

We have 108 premium proxies in 108 networks in 34 countries

Total 108 IPs in 108 Subnets in 34 Countries
Total108Subnet 108Google108Europe53Asia16LatAm3
US
35
NL
8
DE
8
GB
6
SG
5
HK
4
CA
4
RO
3
CH
2
ES
2
SE
2
FR
2
JP
2
IN
2
AU
2
PL
2
RU
2
NZ
1
MD
1
UA
1
FI
1
HU
1
TR
1
CL
1
IL
1
IE
1
BR
1
LV
1
EE
1Others5

Start your 15-day risk-free trial now!

Try Matrix Proxy Now