Results 1 to 7 of 7
Thread: Saving Variables
- 06-24-2007, 07:11 PM #1
Member
- Join Date
- Jun 2007
- Posts
- 5
- Rep Power
- 0
- 06-24-2007, 07:36 PM #2
Hi,
Check the following threads for solving your problem. Let us know if you cant solve it..
How to create a file
How to Rename a File
How to Move a File to Another Directory
- 06-24-2007, 08:50 PM #3
Member
- Join Date
- Jun 2007
- Posts
- 5
- Rep Power
- 0
: /
I seem to have a problem and i think it is because im using netbeans but im not sure. Its most likely the reason since I commonly get errors when something should work fine. It is stating that "\" while creating the directory is an illegal escape character. Can anyone tell me what this means? Also cna anyone sugest a better IDE or way to program?
- 06-24-2007, 09:22 PM #4
Please paste the line this error is being generated. What is the path you used? Does it a valid path for your operating system (you can not put backlash inside double quotes (you need to write twice of them to escape itself))? Pasting full error/exception here may help us understand your problem too.
- 06-25-2007, 02:21 AM #5
Member
- Join Date
- Jun 2007
- Posts
- 5
- Rep Power
- 0
"C:\java\game_Version_"+set1+".txt" is what i had, needed to be switched to "C:/java/game_Version_"+set1+".txt". sorry for the confusion
- 06-25-2007, 07:18 PM #6
Member
- Join Date
- Jun 2007
- Posts
- 5
- Rep Power
- 0
ok i have put in the read file scripting which i got from the create a file link and its giving me a warning about
Note: C:\Documents and Settings\Bill\Halfball 2007\src\halfball2007\Main.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
what is this? how do i recomplie with that as a flag? how do i recomplie with a -deprecated flag?
- 06-25-2007, 08:20 PM #7
That means that you are using a deprecated method call or a deprecated class. To see the details use following command while compiling:
instead of:Java Code:javac -Xlint:deprecation YourMainClass.java
If you are using a specific IDE, you need to find the way to add compiler parameters for your java project. (e.g. for netbeans: right click on your project node and select properties).Java Code:javac YourMainClass.java
Similar Threads
-
Saving Blob through Hibernate
By Ed in forum JDBCReplies: 2Last Post: 01-05-2009, 05:03 AM -
Saving data...?
By easyRyder in forum New To JavaReplies: 8Last Post: 07-15-2008, 03:14 AM -
Saving data in an XML file
By Thez in forum New To JavaReplies: 1Last Post: 12-08-2007, 09:24 PM -
saving variables to the harddrive
By Talon876 in forum New To JavaReplies: 1Last Post: 11-02-2007, 01:30 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks