#need help recompiling java app
41 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @proper otter! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
source is not available and I didn't write the app
You want to compile something you don't have the source of. Right
ya decompiled with jd
and need to compile again
the app is a big mess
very old
runs on proxmox ubuntu vm and accessing by vpn for the moment
and having dev installs locally to try/test
i recv'd a raw image of this machine from the dev
Decompiling doesn't work. It's a best attempt at describing what the bytecode does
MailSrvlet.java:3: error: package de.xyz.dbaccess does not exist
sure jd-gui decompiled
i have a java file from the class
cant i just patch the class files directly?
how to define classpath for javac to find the stuff missing
i have a WEB-INF/classes/de/xyz folder
under jetty/webapps
No. Like I said, decompiling doesn't work
As usual
Decompile and Recompile classes.dex | Modding classes.dex in Java - modclass.md
i dont know java anymore and didnt write the app myself
never compiled this one
why it doesn't work?
Just an absence of interest in making it work, I guess. Decompiling is useless unless you want to make modifications, and anyone who uses a decompiler and wants actual source from it would have no problem fixing everything that needs fixing alongside the modifications
49 errors first, now just 22 errors
i added one path
error: package javax.servlet does not exist
now to find this one...
yeah i need mods because its another install
need to mod hard coded stuff...
error: package org.apache.velocity does not exist
javac -classpath /var/somedb/jetty/webapps/somedb/WEB-INF/classes MailSrvlet.java
gives just 22 errors out of 49 in the beginning
i need to mod the outgoing mail smtp and text/rcpt in mail, two class files
19 errors
still got this:
error: package javax.servlet does not exist
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.