jcreator


How to set the jdk path in jcreator

五迷三道 提交于 2019-12-20 04:05:33
问题 I have installed jdk 1.7 in C:\jdk1.7.0 directory and JCreator in C:\Program Files directory . I set the path of correct jdk path in JCreator. But when I try to execute a java program in this I have shown the following messages: --------------------Configuration: <Default>-------------------- Error : Invalid path, "C:\Program Files\Java\jdk1.7.0_04\bin\javac.exe" -g -classpath C:\Users\USER\Documents -d C:\Users\USER\Documents C:\Users\USER\Documents\A.java What is the reason behind this ?

How to set the jdk path in jcreator

白昼怎懂夜的黑 提交于 2019-12-20 04:05:08
问题 I have installed jdk 1.7 in C:\jdk1.7.0 directory and JCreator in C:\Program Files directory . I set the path of correct jdk path in JCreator. But when I try to execute a java program in this I have shown the following messages: --------------------Configuration: <Default>-------------------- Error : Invalid path, "C:\Program Files\Java\jdk1.7.0_04\bin\javac.exe" -g -classpath C:\Users\USER\Documents -d C:\Users\USER\Documents C:\Users\USER\Documents\A.java What is the reason behind this ?

Tic Tac Toe Checking winner

柔情痞子 提交于 2019-12-12 15:05:37
问题 Im having problems with the win code. Ive been trying for a really long time and i have no idea what the problem is. Ive tried debugging but i got nothing from that.(Sorry for the Swedish comments) import java.util.Scanner; public class Tictactoe { static char[][] MakeMove (char[][] spelplan, char spelare, int rad, int kolumn){ spelplan[rad][kolumn]=spelare; System.out.println(spelplan[rad][kolumn]); return spelplan; } static boolean CheckMove (char[][] spelplan, int x, int y){ if (spelplan[x

Console output changing in java

末鹿安然 提交于 2019-12-11 15:58:59
问题 I am writing a console app in java. Is there a way to change certain lines in the console to new values so it looks a bit dynamic or even clear the whole screen? The console I am using is the one in jcreator. 回答1: You could try one of these http://javacurses.sourceforge.net/ http://www.pitman.co.za/projects/charva/ 回答2: Once you print it out, you've lost control. If you want to be able to dynamically update it and do what you're trying to do, consider using a JTextPane (or whichever text

How to set the execution directory with JCreator (Pro)?

你离开我真会死。 提交于 2019-12-11 06:21:35
问题 Is it possible, to execute a class in a specified directory? I mean, a.class is in directory abc and i want it to be executed as if it were in directory xyz (directly from the IDE of JCreator). 回答1: Isn't that in the runtime environment settings? If not I'd try making a shortcut that runs the full path of JCreator but set the the current directory to where you want the execution to happen. 来源: https://stackoverflow.com/questions/646117/how-to-set-the-execution-directory-with-jcreator-pro

adding jar in Jcreator

假装没事ソ 提交于 2019-12-11 01:13:28
问题 I want to read doc file by writing java code in jcreator editor . For this purpose , I want to use Apache POI jar file . But I don't know how to add jar file in Jcreator editor . My file structure is like this : Now I am referring using this code . import org.apache.poi.poifs.filesystem.*; import org.apache.poi.hpsf.DocumentSummaryInformation; import org.apache.poi.hwpf.*; import org.apache.poi.hwpf.extractor.*; import org.apache.poi.hwpf.usermodel.HeaderStories; But Jcreator is showing this

How to set the jdk path in jcreator

守給你的承諾、 提交于 2019-12-02 04:24:02
I have installed jdk 1.7 in C:\jdk1.7.0 directory and JCreator in C:\Program Files directory . I set the path of correct jdk path in JCreator. But when I try to execute a java program in this I have shown the following messages: --------------------Configuration: <Default>-------------------- Error : Invalid path, "C:\Program Files\Java\jdk1.7.0_04\bin\javac.exe" -g -classpath C:\Users\USER\Documents -d C:\Users\USER\Documents C:\Users\USER\Documents\A.java What is the reason behind this ? Please tell me in a detail and also way to solve this problem . José Rodrigo I solved this issues by

How to debug in Jcreator? [closed]

帅比萌擦擦* 提交于 2019-12-01 11:53:30
I am using JCreator version 5.0.0.10. And I do not know how to debug a program. Could you please specify step by step with pictures included? JCreator LE does not have a debugger. If you have JCreator Pro, it's just a matter of setting a breakpoint, clicking "Run" in the menu and then either "Debug File" or "Debug Project". 来源: https://stackoverflow.com/questions/4466400/how-to-debug-in-jcreator

How to debug in Jcreator? [closed]

坚强是说给别人听的谎言 提交于 2019-12-01 11:50:46
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I am using JCreator version 5.0.0.10. And I do not know how to debug a program. Could you please specify step by step with pictures included? 回答1: JCreator LE does not have a debugger. If you have JCreator Pro,

How do I create executable Java program? [duplicate]

时光总嘲笑我的痴心妄想 提交于 2019-11-26 10:17:15
This question already has an answer here: How can I convert my Java program to an .exe file? [closed] 13 answers I have programmed a Java Program in JCreator, everything is done, but I want to create an executable file from it, ie I dont want to have to run the program by loading the java classes and compiling then executing, but instead have it as a stand alone executable file. What the quickest way to do this? You can use the jar tool bundled with the SDK and create an executable version of the program. This is how it's done. I'm posting the results from my command prompt because it's easier

工具导航Map