In order to promote Java programming educations, the Web-based Java Programming Learning Assistant System (JPLAS) has been implemented. JPLAS provides the code writing problem, where students write Java codes that satisfy the given specifications and submit them to the JPLAS server to obtain the marks using test codes instantly. Unfortunately, JPLAS could be accessed simply when the Internet connections are available. In this study, we perform the offline answering function for the code writing problem for use of JPLAS even in places without the Internet connections. First, the teacher downloads the assignment files from the server and delivers them to the students using USB memories. Next, students solve the assignments on Eclipse including code writing and testing, then submit the results to the teacher. Finally, the teacher uploads the results to the server. To evaluate the proposed function, the questionnaire will be collected after giving five assignments to six students in our group.