• Post Reply Bookmark Topic Watch Topic
  • New Topic

Not so portable afterall ?  RSS feed

 
Raghavendra Shockley
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to run a simple made-in-linux class file on a windows system and it did not run. But the same code runs flawlessly in windows. Why does this happen and how to avoid it ?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66307
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you not think that it might be helpful to supply the nature of the error along with the code you are trying to run?
 
Raghavendra Shockley
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Do you not think that it might be helpful to supply the nature of the error along with the code you are trying to run?


I saw some text and nothing else.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66307
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see text all the time. I'm looking at some now.
 
Mohamed Sanaulla
Bartender
Posts: 3185
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to show us the code you tried. Also the errors being reported. After all ItDoesntWorkIsUseless
 
Raghavendra Shockley
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had installed linux for trying to work on it. I deleted the whole OS. Can you try my code on a linux machine ?
 
Mohamed Sanaulla
Bartender
Posts: 3185
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you dont post the code then we cant do much.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> I deleted the whole OS.

problem solved!

> Can you try my code on a linux machine ?

works flawlessly.
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Raghavendra Shockley wrote:I had installed linux for trying to work on it. I deleted the whole OS. Can you try my code on a linux machine ?

April 1st is still three weeks away.

Winston

 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Michael Dunn wrote:> I deleted the whole OS.

problem solved!


Seriously though, if the OP did get rid of the system (which I am assuming is a virtual machine, as deleting the boot disk is just silly), then the problem (and this topic) is moot.

Henry
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!