Click here to Skip to main content
15,895,839 members
Home / Discussions / Java
   

Java

 
AnswerRe: Java project Pin
jschell2-Feb-19 6:18
jschell2-Feb-19 6:18 
QuestionJava Code too large Pin
mozum15-Jan-19 22:51
mozum15-Jan-19 22:51 
SuggestionRe: Java Code too large Pin
Richard MacCutchan15-Jan-19 23:04
mveRichard MacCutchan15-Jan-19 23:04 
GeneralRe: Java Code too large Pin
mozum15-Jan-19 23:28
mozum15-Jan-19 23:28 
GeneralRe: Java Code too large Pin
Richard MacCutchan15-Jan-19 23:36
mveRichard MacCutchan15-Jan-19 23:36 
GeneralRe: Java Code too large Pin
mozum15-Jan-19 23:54
mozum15-Jan-19 23:54 
GeneralRe: Java Code too large Pin
Richard MacCutchan16-Jan-19 0:12
mveRichard MacCutchan16-Jan-19 0:12 
AnswerRe: Java Code too large Pin
jschell26-Jan-19 7:05
jschell26-Jan-19 7:05 
Java does not allow a 'method' to be more than 64k byte codes (internal java compiled representation.)

So you have a method that is too large and you MUST break it into smaller methods. That would be the only possible solution.

In some cases if you are attempting to initialize static data, for example an array, list, etc, as a local variable you will get this error also because initialization is handled by the java compilers by creating a hidden method. Solution for that is to change how the initialization is done such as loading the data from a file.
QuestionServlet purpose Pin
Valentinor10-Jan-19 23:13
Valentinor10-Jan-19 23:13 
AnswerRe: Servlet purpose Pin
Richard MacCutchan10-Jan-19 23:17
mveRichard MacCutchan10-Jan-19 23:17 
GeneralRe: Servlet purpose Pin
Valentinor11-Jan-19 0:16
Valentinor11-Jan-19 0:16 
GeneralRe: Servlet purpose Pin
Richard MacCutchan11-Jan-19 0:55
mveRichard MacCutchan11-Jan-19 0:55 
AnswerRe: Servlet purpose Pin
markkuk15-Jan-19 23:51
markkuk15-Jan-19 23:51 
QuestionJavaScript Syntax Pin
Bram van Kampen10-Jan-19 14:06
Bram van Kampen10-Jan-19 14:06 
AnswerRe: JavaScript Syntax Pin
Richard MacCutchan10-Jan-19 21:55
mveRichard MacCutchan10-Jan-19 21:55 
AnswerRe: JavaScript Syntax Pin
CHill6010-Jan-19 22:19
mveCHill6010-Jan-19 22:19 
QuestionConnection between client and server Through websocket and vertx api Pin
Mr_z7-Jan-19 4:31
Mr_z7-Jan-19 4:31 
AnswerRe: Connection between client and server Through websocket and vertx api Pin
Richard MacCutchan7-Jan-19 5:29
mveRichard MacCutchan7-Jan-19 5:29 
GeneralRe: Connection between client and server Through websocket and vertx api Pin
Mr_z7-Jan-19 5:35
Mr_z7-Jan-19 5:35 
GeneralRe: Connection between client and server Through websocket and vertx api Pin
Richard MacCutchan7-Jan-19 6:11
mveRichard MacCutchan7-Jan-19 6:11 
GeneralRe: Connection between client and server Through websocket and vertx api Pin
Mr_z7-Jan-19 6:31
Mr_z7-Jan-19 6:31 
GeneralRe: Connection between client and server Through websocket and vertx api Pin
Richard MacCutchan7-Jan-19 6:38
mveRichard MacCutchan7-Jan-19 6:38 
QuestionServlet page redirecting Pin
Valentinor4-Jan-19 21:22
Valentinor4-Jan-19 21:22 
AnswerRe: Servlet page redirecting Pin
jschell5-Jan-19 6:39
jschell5-Jan-19 6:39 
GeneralRe: Servlet page redirecting Pin
Valentinor10-Jan-19 22:55
Valentinor10-Jan-19 22:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.