Troubleshooting Guide - My Little Helper
Common Issues and Solutions
1. Compilation Errors
Issue: “javac is not recognized as an internal or external command”
Cause: Java JDK not installed or not in PATH
Solution:
- Download and install Java JDK:
- Oracle JDK: https://www.oracle.com/java/technologies/downloads/
- OpenJDK: https://adoptium.net/
- Add Java to PATH:
- Search “Environment Variables” in Windows
- Add Java bin folder to System PATH
- Example:
C:\Program Files\Java\jdk-17\bin
- Restart terminal and try again
Issue: “error: unmappable character for encoding”
Cause: File encoding issue
Solution:
javac -encoding UTF-8 *.java
The START.bat already includes this flag.
2. Runtime Errors
Issue: “java is not recognized as an internal or external command”
Cause: Java Runtime (JRE) not installed or not in PATH
Solution:
Same as JDK installation above. JDK includes JRE.
Cause: Multiple possible causes
Solution:
- Check Java version:
java -version (need Java 8+)
- Recompile: Delete all .class files and recompile
- Check console for error messages
- Verify all .java files are present in src folder
3. Desktop Shortcut Issues
Issue: Desktop shortcut not created
Cause: PowerShell execution policy or permissions
Solution - Manual Creation:
- Right-click Desktop -> New -> Shortcut
- Target:
cmd.exe
- Arguments:
/c cd /d "C:\path\to\My Little Helper\src" && java Main
- Name:
My Little Helper
- Change icon (optional): Browse to
assets\my_little_helper.ico
Issue: Shortcut icon not showing
Cause: Icon file missing or path incorrect
Solution:
- Verify
assets\my_little_helper.ico exists
- If missing, run:
assets\create_icon.ps1
- Delete existing shortcut
- Restart app to recreate shortcut
Issue: Cannot pin to taskbar
Cause: Group Policy restriction (common in corporate environments)
Solution - Manual Pin:
- Right-click desktop shortcut
- Select “Pin to taskbar”
- If option missing, IT policy prevents it (no workaround)
4. Feature-Specific Issues
Issue: Export folder not created
- Solution: App creates it automatically. Check:
C:\Users\<YourName>\MyLittleHelperReports
- If still missing, create manually and re-run feature
Issue: Cannot parse headers
- Solution:
- Ensure you paste full email headers (not just body)
- Gmail: Show original -> Copy headers
- Outlook: View message details -> Copy headers
- Type
END on new line to finish input
Issue: JSON export has encoding issues
- Solution: Open with UTF-8 compatible editor (Notepad++, VS Code)
Web Page Snapshot
Issue: “No supported browser found”
- Cause: Neither Edge nor Chrome installed
- Solution: Install Microsoft Edge or Google Chrome
Issue: Snapshot is blank or black
- Cause: Page requires JavaScript or takes time to load
- Solution:
- Wait longer (app waits 3 seconds by default)
- Some pages block headless browsers (security feature)
- Try different page
Issue: Full page mode cuts off content
- Cause: Very long pages or dynamic content
- Solution:
- Try standard mode instead
- Some pages don’t work well with headless capture
Webmail Portal Access
Issue: Browser opens but page doesn’t load
- Cause: Internet connection or DNS issue
- Solution:
- Check internet connection
- Try opening URL manually first
- Check firewall settings
Issue: Wrong browser opens
- Cause: Windows default browser setting
- Solution:
- Settings -> Apps -> Default apps -> Web browser
- Choose preferred browser
5. Display Issues
Issue: Colors not showing / Strange characters
Cause: Terminal doesn’t support ANSI colors
Solution:
- Use Windows Terminal (recommended)
- Use Command Prompt (partial support)
- PowerShell 5.1+ (good support)
- Avoid older terminals
Note: App includes ASCII-safe fallback for text.
Issue: Text overlaps or wraps incorrectly
Cause: Terminal window too narrow
Solution:
- Resize terminal window (minimum 80 characters wide)
- Maximize terminal window
- Use full-screen mode
6. Permission Issues
Issue: “Access denied” when creating files
Cause: Insufficient permissions on user folder
Solution:
- Run as regular user (not admin) - app designed for user permissions
- Check Documents folder permissions
- Antivirus may block - add exception
Issue: Browser cache clearing fails
Cause: Browser is open or files locked
Solution:
- Close browser completely
- End browser processes in Task Manager
- Try again
Issue: App runs slowly
Cause: Large browser cache or system resources
Solution:
- Close unnecessary programs
- Restart computer
- Check Task Manager for high CPU/memory usage
Issue: Snapshot takes very long
Cause: Complex page or slow internet
Solution:
- Normal for very large pages
- Try standard mode instead of full page
- Check internet speed
8. Update and Compatibility
Issue: Features not working after Windows update
Cause: Windows update changed paths or settings
Solution:
- Recompile app:
javac -encoding UTF-8 *.java
- Check browser installation paths
- Verify Java version still compatible
Issue: Works on one PC but not another
Cause: Different configurations
Solution - Check:
Getting Help
Before Asking for Help
Collect this information:
- Windows version:
winver
- Java version:
java -version
- Error message (exact text)
- Steps to reproduce
- What you’ve already tried
Support Channels
- Check README.md - May already have answer
- Review FEATURES.md - Understand what feature should do
- Check GitHub Issues - Someone may have same problem
- Create New Issue - Provide collected information above
Reporting Bugs
Include:
- Exact error message
- Steps to reproduce
- Expected vs actual behavior
- System information
- Screenshots if relevant
Advanced Troubleshooting
Clean Reinstall
- Backup any reports/snapshots you want to keep
- Delete project folder
- Re-extract/re-clone fresh copy
- Compile and test
Verify Java Installation
java -version
javac -version
Both should work and show similar versions.
Verify File Integrity
Check that all files are present:
cd "C:\path\to\My Little Helper"
Get-ChildItem -Recurse -File | Select-Object FullName
Compare with project structure in README.
Enable Debug Mode
To see more detailed errors:
- Edit Main.java
- Look for try-catch blocks
- Change
e.getMessage() to e.printStackTrace()
- Recompile
- Run and copy full error output
Known Limitations
By Design
- Browser Detection: Checks standard installation paths only
- Snapshot Feature: Requires Chrome or Edge
- Shortcut Creation: Requires PowerShell
- Network Features: Require internet connection
- Windows Only: Not compatible with Mac/Linux
- Windows 10/11: Best on Windows 11, works on Windows 10
- Java 8+: Older Java versions not supported
Security Restrictions
- Corporate Policies: Some features may be blocked by IT
- Antivirus: May flag PowerShell scripts (false positive)
- UAC: Does not request admin (runs as user)
Emergency Recovery
If App Won’t Start At All
- Delete all .class files:
cd src
Remove-Item *.class
- Recompile everything:
javac -encoding UTF-8 *.java
- Test minimal startup:
- If still failing, check Java:
java -version
javac -version
- Last resort - fresh install:
- Download fresh copy
- Delete old folder
- Start from scratch
FAQ
Q: Do I need admin rights?
A: No. App runs with regular user permissions.
Q: Is internet required?
A: Only for webmail portals and web snapshots. All help content is offline.
Q: Can I use on Windows 10?
A: Yes, most features work. Designed for Windows 11 but backwards compatible.
Q: Does it collect my data?
A: No. Everything runs locally. No telemetry or network calls except when you explicitly open URLs.
Q: Can I modify the code?
A: Yes! It’s open source. Edit, recompile, use as you wish.
Q: Why won’t my antivirus let it run?
A: False positive. App uses PowerShell which some AV flags. Review code and add exception.
Still having issues? Create a GitHub issue with full details!