Click here to Skip to main content
14,237,256 members
   

Java

 
AnswerRe: Java project Pin
jschell2-Feb-19 6:18
memberjschell2-Feb-19 6:18 
QuestionJava Code too large Pin
mozum15-Jan-19 22:51
membermozum15-Jan-19 22:51 
SuggestionRe: Java Code too large Pin
Richard MacCutchan15-Jan-19 23:04
protectorRichard MacCutchan15-Jan-19 23:04 
GeneralRe: Java Code too large Pin
mozum15-Jan-19 23:28
membermozum15-Jan-19 23:28 
GeneralRe: Java Code too large Pin
Richard MacCutchan15-Jan-19 23:36
protectorRichard MacCutchan15-Jan-19 23:36 
GeneralRe: Java Code too large Pin
mozum15-Jan-19 23:54
membermozum15-Jan-19 23:54 
GeneralRe: Java Code too large Pin
Richard MacCutchan16-Jan-19 0:12
protectorRichard MacCutchan16-Jan-19 0:12 
AnswerRe: Java Code too large Pin
jschell26-Jan-19 7:05
memberjschell26-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
memberValentinor10-Jan-19 23:13 
AnswerRe: Servlet purpose Pin
Richard MacCutchan10-Jan-19 23:17
protectorRichard MacCutchan10-Jan-19 23:17 
GeneralRe: Servlet purpose Pin
Valentinor11-Jan-19 0:16
memberValentinor11-Jan-19 0:16 
GeneralRe: Servlet purpose Pin
Richard MacCutchan11-Jan-19 0:55
protectorRichard MacCutchan11-Jan-19 0:55 
AnswerRe: Servlet purpose Pin
markkuk15-Jan-19 23:51
membermarkkuk15-Jan-19 23:51 
QuestionJavaScript Syntax Pin
Bram van Kampen10-Jan-19 14:06
memberBram van Kampen10-Jan-19 14:06 
AnswerRe: JavaScript Syntax Pin
Richard MacCutchan10-Jan-19 21:55
protectorRichard MacCutchan10-Jan-19 21:55 
AnswerRe: JavaScript Syntax Pin
CHill6010-Jan-19 22:19
protectorCHill6010-Jan-19 22:19 
QuestionConnection between client and server Through websocket and vertx api Pin
Mr_z7-Jan-19 4:31
memberMr_z7-Jan-19 4:31 
AnswerRe: Connection between client and server Through websocket and vertx api Pin
Richard MacCutchan7-Jan-19 5:29
protectorRichard MacCutchan7-Jan-19 5:29 
GeneralRe: Connection between client and server Through websocket and vertx api Pin
Mr_z7-Jan-19 5:35
memberMr_z7-Jan-19 5:35 
GeneralRe: Connection between client and server Through websocket and vertx api Pin
Richard MacCutchan7-Jan-19 6:11
protectorRichard MacCutchan7-Jan-19 6:11 
GeneralRe: Connection between client and server Through websocket and vertx api Pin
Mr_z7-Jan-19 6:31
memberMr_z7-Jan-19 6:31 
GeneralRe: Connection between client and server Through websocket and vertx api Pin
Richard MacCutchan7-Jan-19 6:38
protectorRichard MacCutchan7-Jan-19 6:38 
QuestionServlet page redirecting Pin
Valentinor4-Jan-19 21:22
memberValentinor4-Jan-19 21:22 
AnswerRe: Servlet page redirecting Pin
jschell5-Jan-19 6:39
memberjschell5-Jan-19 6:39 
GeneralRe: Servlet page redirecting Pin
Valentinor10-Jan-19 22:55
memberValentinor10-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.