Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

breaks on java 1.4.2 #1

Closed
danieldkim opened this issue Jun 30, 2010 · 2 comments
Closed

breaks on java 1.4.2 #1

danieldkim opened this issue Jun 30, 2010 · 2 comments

Comments

@danieldkim
Copy link

looks like the code is using StringBuilder, which was introduced in 1.5:

$  /opt/WebSphere5/AppServer/java/bin/java SysMonTest
Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/StringBuilder
        at com.jezhumble.javasysmon.FileUtils.slurpFromInputStream(FileUtils.java:69)
        at com.jezhumble.javasysmon.FileUtils.slurp(FileUtils.java:40)
        at com.jezhumble.javasysmon.FileUtils.runRegexOnFile(FileUtils.java:91)
        at com.jezhumble.javasysmon.LinuxMonitor.currentPid(LinuxMonitor.java:109)
        at com.jezhumble.javasysmon.JavaSysMon.currentPid(JavaSysMon.java:166)
        at SysMonTest.main(SysMonTest.java:7)
@jezhumble
Copy link
Owner

Thanks. I'll take a look at fixing this soon.

@jezhumble
Copy link
Owner

Fixed in 0.3.3

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants