Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Transferring JAVA files  RSS feed

 
Joson Mathew
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have made a program on BlueJ but need to transfer the class to a pen drive so that I can take it to school and show it to my teacher. How is this done?

Please reply ASAP, must reach school in less than an hour and a half.
 
Tim Cooke
Marshal
Posts: 4039
239
Clojure IntelliJ IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it just one class file? If so why not just copy it in the same way you would any other file?

If it's for a school class then I'm sure your teacher is going to want to see the source code too, which is the .java file.
 
Joson Mathew
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it. Just the transfer the project folder from My Documents. It was so obvious, why am I so dumb? :/
 
Joson Mathew
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Cooke wrote:Is it just one class file? If so why not just copy it in the same way you would any other file?

If it's for a school class then I'm sure your teacher is going to want to see the source code too, which is the .java file.

Didn't see your comment there. Thanks for the help and the quick reply. You're right, I guess my brain went dead or something.
 
Tim Cooke
Marshal
Posts: 4039
239
Clojure IntelliJ IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joson Mathew wrote:I guess my brain went dead or something.

A last minute panic will do that to a person.
 
Joson Mathew
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
True. But say if I only want to upload a class to one of these forums on the Ranch, I can just upload the class file and it will work right?
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joson Mathew wrote:True. But say if I only want to upload a class to one of these forums on the Ranch, I can just upload the class file and it will work right?


No. There are no facilities for ranch members to upload class files to the JR forums.

Henry
 
Campbell Ritchie
Marshal
Posts: 56529
172
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you mean the .java file, however, you should copy and paste it in code tags.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!