Online since 2002. Over 3300 puzzles, 2600 worldwide members, and 270,000 messages.

TwistyPuzzles.com Forum

It is currently Thu Jul 24, 2014 8:32 am

All times are UTC - 5 hours



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Looking for shallow Java knowledge
PostPosted: Sun Mar 30, 2014 1:12 am 
Offline
User avatar

Joined: Sat Apr 21, 2007 11:21 pm
Location: Marin, CA
I have a ".java" file and a ".class" file that came with it from another author.

I can upload them to my website with an associated htm file and they work great when I load the htm file.

First question-- is the .class file generated automatically by the JVM? If I delete the class file on my website it isn't regenerated when I reload. Hmmm...

Now, I'd like to start making changes to the source and see them when I reload. I've deleted cache in the browser and in java. No matter what I do, the old version is running.

Do I need to compile a .class file manually and upload it?

I would really like to have some fun fiddling around without knowing everything about how java works. Bring me back to my Commodore 64. :)

I honestly don't know how kids today can fiddle with programming for the first time.

I have done some searching and it really seems the answer is to get deep into all the details of how things work in a complex enterprise project to even be able to change "Hello world" to "Hello you". I just want to have that ability to run new code.

Any experts here willing to help?

_________________
Jason Smith posted here as 'io' through 2012.
Visit Jason Smith's PuzzleForge on Shapeways!
Jason Smith's Puzzles - YouTube Channel.


Top
 Profile  
 
 Post subject: Re: Looking for shallow Java knowledge
PostPosted: Sun Mar 30, 2014 2:39 am 
Offline
User avatar

Joined: Sat Apr 21, 2007 11:21 pm
Location: Marin, CA
I've also downloaded the java sdk, compiled a new .class file, uploaded it, cleared all history in java and the browser and still get the old result.

Doing some more research I'm getting people saying to try rebooting. I'm kind of shocked at how ad hoc this all feels.

Is this really the state of programming today?

_________________
Jason Smith posted here as 'io' through 2012.
Visit Jason Smith's PuzzleForge on Shapeways!
Jason Smith's Puzzles - YouTube Channel.


Top
 Profile  
 
 Post subject: Re: Looking for shallow Java knowledge
PostPosted: Sun Mar 30, 2014 8:51 am 
Offline
User avatar

Joined: Wed Jan 21, 2009 12:58 pm
Maybe this could be the answer: http://stackoverflow.com/questions/13782486/java-applet-and-cache-issue

(I like coding, but I am far from being an expert)

Skarabajo.

_________________
My collection | My first mod | Making of first mod | Items for sale


Top
 Profile  
 
 Post subject: Re: Looking for shallow Java knowledge
PostPosted: Sun Apr 27, 2014 11:51 am 
Offline
User avatar

Joined: Fri Feb 06, 2009 2:57 pm
Location: Pittsburgh
JasonSmith wrote:
Is this really the state of programming today?
No, because most people today shy away from using java.

_________________
3x3x3 PB: 00:48.10
"Study gravitation, it's a field with a lot of potential."
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Forum powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group